AI agents are everywhere. See what yours are doing →
curl --request POST \
--url https://api.osohq.com/api/authorize_query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": {
"actor_type": "<string>",
"actor_id": "<string>",
"action": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"context_facts": []
},
"data_bindings": "<string>"
}
'{
"sql": "<string>"
}Fetches a query that can be run against your database to determine whether an actor can perform an action on a resource.
curl --request POST \
--url https://api.osohq.com/api/authorize_query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": {
"actor_type": "<string>",
"actor_id": "<string>",
"action": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"context_facts": []
},
"data_bindings": "<string>"
}
'{
"sql": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://www.osohq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?