cURL
curl --request POST \ --url https://api.osohq.com/api/facts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "predicate": "<string>", "args": [ { "type": "<string>", "id": "<string>" } ] } '
{ "predicate": "<string>", "args": [ { "type": "<string>", "id": "<string>" } ] }
Adds a new fact.
DEPRECATED: Prefer POST /batch with payload [{"inserts": [<fact>]}].
POST /batch
[{"inserts": [<fact>]}]
Requires an API key to access. Signup at https://ui.osohq.com/
A pattern object for matching authorization-relevant data, ie: facts.
Show child attributes
Was this page helpful?