Skip to main content
POST
Open the organization assistant

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization 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.

Minimum string length: 1

Body

application/json

Open the organization assistant, ask a question, or start from a catalog template: prepared with its defaults, or customized in conversation.

question
string

Ask a conversational question. With template, the question asks to customize that template.

reset
boolean
default:false

End the previous conversation before opening this one.

template
object

A catalog template; starts a new conversation. Alone, prepares it for approval without a model planning turn. With question, the conversation customizes it: only id and revision are accepted, and the agent its plan creates records this template.

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.

created
boolean
required

True when this call started the analyst; false when it returned the caller's existing conversation with this tree, or none.

session
object

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.