#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.
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. id is the EVENT id, not the link id: two visits to the same link are two different subjects, and sharing a thread between them lets one visitor's details bleed into answers about another. 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_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
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.
This endpoint does not accept any parameters.
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. id is the EVENT id, not the link id: two visits to the same link are two different subjects, and sharing a thread between them lets one visitor's details bleed into answers about another. 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_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
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.
This endpoint does not accept any parameters.
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.
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. id is the EVENT id, not the link id: two visits to the same link are two different subjects, and sharing a thread between them lets one visitor's details bleed into answers about another. 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_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
ASSISTANT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
contextId