Skip to main content
GET

Behavior

latest_answer reads a finished session’s result without tracking an event index. To follow a session until it finishes, use the polling rules. Works without a key on shared sessions.

Path parameters

string
required
The session ID returned when the session was created.

Response

200 with the session object, also returned by create.
string
Session UUID, used by every follow-up call.
object
The create body, with agent resolved to its full spec even if you passed a catalog ID.
integer | null
The catalog agent’s revision the session runs: request.agent is that revision, with request.overrides applied. null for inline agents.
object
Live state, the same object as Status returns.
string | null
The session’s Agent View page, for live viewing and replay.
string | object | null
The agent’s latest final answer: text, or an object matching the agent’s answer_format. Mirrors the answer from changes. null until the agent first answers.
string
ISO 8601 creation time.
string | null
When the agent started. null until then.
string | null
When the session reached a terminal state. null until then.

Errors