#The AssistantDisplayMessageAttachment is a file attached to a message object
AssistantDisplayMessageAttachment is a file attached to a message
mimeType
name
Context-aware assistant that delegates to specialized sub-assistants based on the resource being edited.
AssistantDisplayMessageAttachment is a file attached to a message
mimeType
name
/v1/assistant/conversationGet the display-ready chat history for a specific context. Requires the `assistant:read` scope.
contextType
dashboard id — the dashboard does not exist yet while the user and the assistant are still agreeing on what it should show. Once it exists, editing it happens under ASSISTANT_CONTEXT_TYPE_ANALYTICS_DASHBOARD instead. the WORKSPACE id: this thread is not about any one link, dashboard or design, and every capability the resource-scoped assistants have is available from it. One conversation per workspace, so it survives navigation.
ASSISTANT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
ASSISTANT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
contextId
Everything worked as expected.
messages
unreadCount
Assistant messages in this conversation the member has not seen yet.
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/assistant/conversation/readRecord that the member has seen every assistant reply in this conversation. Call it when the thread is actually on screen, not when history is fetched. Requires the `assistant:write` scope.
Idempotency-Key
Makes retrying this request safe. See components.parameters.IdempotencyKey.
contextId
contextType
dashboard id — the dashboard does not exist yet while the user and the assistant are still agreeing on what it should show. Once it exists, editing it happens under ASSISTANT_CONTEXT_TYPE_ANALYTICS_DASHBOARD instead. the WORKSPACE id: this thread is not about any one link, dashboard or design, and every capability the resource-scoped assistants have is available from it. One conversation per workspace, so it survives navigation.
ASSISTANT_CONTEXT_TYPE_UNSPECIFIEDASSISTANT_CONTEXT_TYPE_ANALYTICS_DASHBOARDASSISTANT_CONTEXT_TYPE_WORKFLOWASSISTANT_CONTEXT_TYPE_LINKASSISTANT_CONTEXT_TYPE_QRCODE_DESIGNASSISTANT_CONTEXT_TYPE_PAGE_THEMEASSISTANT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
ASSISTANT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
/v1/assistant/uploadUpload a file to attach to the next assistant message. Returns a temporary file ID. Files expire after 5 minutes. Max 20MB. Requires the `assistant:write` scope.
Idempotency-Key
Makes retrying this request safe. See components.parameters.IdempotencyKey.
content
File content (base64-encoded in JSON)
mimeType
MIME type (e.g. "image/png", "application/pdf")
name
Original filename
Everything worked as expected.
fileId
Temporary file ID to include in assistant message attachments
mimeType
MIME type (echoed back)
name
Original filename (echoed back)
All endpoints may return an unexpected error payload when a request cannot be processed.
error
Wrapped error response.
/v1/assistant/conversationClear the conversation history for a specific context. Requires the `assistant:write` scope.
contextType
dashboard id — the dashboard does not exist yet while the user and the assistant are still agreeing on what it should show. Once it exists, editing it happens under ASSISTANT_CONTEXT_TYPE_ANALYTICS_DASHBOARD instead. the WORKSPACE id: this thread is not about any one link, dashboard or design, and every capability the resource-scoped assistants have is available from it. One conversation per workspace, so it survives navigation.
ASSISTANT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
ASSISTANT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
contextId