#The AgentDisplayMessageAttachment is a file attached to a message object
AgentDisplayMessageAttachment is a file attached to a message
mimeType
name
Context-aware agent that delegates to specialized sub-agents based on the resource being edited.
AgentDisplayMessageAttachment is a file attached to a message
mimeType
name
/v1/agent/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 AGENT_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 agents have is available from it. One conversation per workspace, so it survives navigation.
AGENT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
AGENT_CONTEXT_TYPE_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
AGENT_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/agent/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 AGENT_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 agents have is available from it. One conversation per workspace, so it survives navigation.
AGENT_CONTEXT_TYPE_UNSPECIFIEDAGENT_CONTEXT_TYPE_ANALYTICS_DASHBOARDAGENT_CONTEXT_TYPE_WORKFLOWAGENT_CONTEXT_TYPE_LINKAGENT_CONTEXT_TYPE_QRCODE_DESIGNAGENT_CONTEXT_TYPE_PAGE_THEMEAGENT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
AGENT_CONTEXT_TYPE_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
AGENT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
/v1/agent/uploadUpload a file to attach to the next agent 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 agent 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/agent/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 AGENT_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 agents have is available from it. One conversation per workspace, so it survives navigation.
AGENT_CONTEXT_TYPE_LINK_ANALYTICSBuilding a link's analytics dashboard. context_id is the LINK id, not a
AGENT_CONTEXT_TYPE_LEAD_SCOREA conversation about one visit and the lead score it produced. The context
AGENT_CONTEXT_TYPE_WORKSPACEThe workspace-wide assistant, with no resource selected. The context id is
contextId