Open the organization assistant
Authorizations
A Recursion API key, created in the console under API keys.
Headers
Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.
1Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.
1Body
Request body of managedAgentsOpenAgentAnalyst and managedAgentsOpenAssistant. An empty object returns the caller's conversation, if any; question asks (starting the conversation if needed); reset ends the current conversation.
A question for the assistant. Starts the caller's conversation when there is none, as its first turn; otherwise it is delivered to the existing conversation. Omitted, nothing is asked.
When true, ends the caller's current conversation: the assistant session is cancelled and stays readable, and the caller has no conversation until the next question.
Response
Response body of managedAgentsOpenSessionAnalyst: the caller's read-only analyst session over a session tree, if there is one, and whether it was just started.
Response body of managedAgentsOpenSessionAnalyst: the caller's read-only analyst session over a session tree, if there is one, and whether it was just started.
True when this call started the analyst; false when it returned the caller's existing conversation with this tree, or none.
The analyst session, when the caller has a conversation with this tree. Send questions to it with managedAgentsSendSessionEvents and read answers from its events; its kind is session_analyst and its access policy platform_internal. Absent when nothing has been asked yet, or the conversation was just reset: a question starts one.