Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/documents/{documentId}/queries \
--header 'Authorization: Bearer <token>'{
"queries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "https://org.omni.co/w/abc123?key=1",
"query": {}
}
]
}Retrieves queries associated with a document by its identifier.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/documents/{documentId}/queries \
--header 'Authorization: Bearer <token>'{
"queries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "https://org.omni.co/w/abc123?key=1",
"query": {}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The unique identifier of the document. This can be retrieved by:
/dashboards/ is the identifier (e.g., https://myorg.omniapp.co/dashboards/12db1a0a)Queries retrieved successfully
An array of queries used in the document
Show child attributes
Was this page helpful?