The ID of the AI agent involved in the session.
OptionalauditWhether the invoking agent has audit logging enabled. Sub-agents working on behalf of this session gate their own audit-log writes on it, keeping one job's audit trail consistent.
The ID of the client initiating the session.
The ID of the job associated with the session.
OptionalparentID of the status update that triggered this session (e.g. the agent's "Calling AI Function" event). Status updates emitted on behalf of this session nest under it in the status feed.
OptionaltimeoutThe chat timeout (in milliseconds) the root chat request explicitly set. Present only when
the root request passed timeoutMs. Nested AI operations (e.g. AI-query stages spawned by a
tool call) budget against it so a long-running parent chat is not silently capped by the
nested defaults; explicitly configured per-stage aiOptions.timeoutMs is more specific and
takes precedence over it.
Context for an AI session