AI agents are everywhere. See what yours are doing →
curl --request POST \
--url https://api.osohq.com/api/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"inserts": [
{
"predicate": "<string>",
"args": [
{
"type": "<string>",
"id": "<string>"
}
]
}
]
}
]
'{
"message": "<string>"
}Deletes and adds many facts in one atomic batch. Facts are inserted and deleted in-order (ie: inserted facts may be deleted in the same transaction). null can be used as a wildcard in deleted facts. Does not throw an error when the facts to delete are not found.
curl --request POST \
--url https://api.osohq.com/api/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"inserts": [
{
"predicate": "<string>",
"args": [
{
"type": "<string>",
"id": "<string>"
}
]
}
]
}
]
'{
"message": "<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.
Requires an API key to access.
A grouped run of facts to insert or delete. Inserted facts must contain concrete fact args, but deleted facts may contain wildcards.
Show child attributes
Was this page helpful?