v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBDocuments
Get document queries
<Warning> **Deprecated** — Removal scheduled for **July 31, 2026**. Use the [Documents v2 API](/api/documents-v2/create-document) instead. </Warning>Retrieve queries associated with a document by its identifier.
get/v1/documents/{documentId}/queries
Path parameters
documentIdstring required
The unique identifier of the document. This can be retrieved by:
- Opening the document settings: Navigate to File > Document settings and click Settings. The Identifier field contains the document ID.
- Using the dashboard's URL: The string after /dashboards/ is the identifier (e.g., https://myorg.omniapp.co/dashboards/12db1a0a)
Response
Queries retrieved successfully
Example response
{
"queries": [
{
"url": "https://org.omni.co/w/abc123?key=1"
}
]
}