workspace_id: with OAuth the workspace comes from your access token, and with an API key you pass it in the AiQL-Workspace header. See Workspace scope.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MCP tools to run and manage queries
workspace_id: with OAuth the workspace comes from your access token, and with an API key you pass it in the AiQL-Workspace header. See Workspace scope.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Optional. Maximum number of items to return per page. Defaults to 20, maximum 100. See Pagination. |
cursor | string | Optional. Opaque cursor pointing to the page to fetch. Omit to start from the first page. See Pagination. |
| Parameter | Type | Description |
|---|---|---|
content | string | Natural-language content of the query. Empty when resuming tools. |
parent_id | string | Optional. Query id to continue, or a new client-chosen id to create. Omit to start a chat with a server-generated id. Returns 404 if the id belongs to another workspace. |
mode | string | Optional. ask, reason, or build. Defaults to ask. |
visualize | boolean | Optional. When true, expose graph visualization tools. Defaults to false. |
interactive | boolean | Optional. When true, expose follow-up question tools. Defaults to false. |
context | object | Optional. Bound artifact ids (canvasId, deckId, writtenDocumentId, appId, dashboardId, documentId) and contextNodes. |
tool_results | object | Optional. Client-side tool results used to resume a deferred turn. |
| Parameter | Type | Description |
|---|---|---|
id | string | ID of the query to retrieve. |
| Parameter | Type | Description |
|---|---|---|
id | string | ID of the query to delete. |
| Parameter | Type | Description |
|---|---|---|
id | string | ID of the query whose sources should be retrieved. |