#The AgentDisplayMessageAttachment is a file attached to a message object
AgentDisplayMessageAttachment is a file attached to a message
mimeType
stringname
stringContext-aware agent that delegates to specialized sub-agents based on the resource being edited.
AgentDisplayMessageAttachment is a file attached to a message
mimeType
stringname
string/v1/agent/conversationRequires authGet the display-ready chat history for a specific context.
contextType
stringquerydashboard 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
stringquery/v1/agent/messageRequires authSend a message to the agent. The context type determines which specialized sub-agent handles the request.
This endpoint does not accept any parameters.
contextId
stringID of the resource being edited (dashboard ID, workflow ID, link ID)
contextMetadata
stringOptional pre-existing data from the UI (e.g. wizard form state) injected as context
contextType
string (enum)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
message
stringThe user's message
Everything worked as expected.
appliedActions
array<string>contextUpdated
booleanTrue if the agent modified the resource (frontend should refresh)
responseText
stringuiActions
array<object>All endpoints may return an unexpected error payload when a request cannot be processed.
error
objectRequiredWrapped error response.
/v1/agent/uploadRequires authUpload 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
stringFile content (base64-encoded in JSON)
mimeType
stringMIME type (e.g. "image/png", "application/pdf")
name
stringOriginal filename
Everything worked as expected.
fileId
stringTemporary file ID to include in agent message attachments
mimeType
stringMIME type (echoed back)
name
stringOriginal filename (echoed back)
All endpoints may return an unexpected error payload when a request cannot be processed.
error
objectRequiredWrapped error response.
/v1/agent/conversationRequires authClear the conversation history for a specific context.
contextType
stringquerydashboard 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
stringquery