Retrieve a session
Create & read
Retrieve a session
Get full details of a single session.
GET
Retrieve a session
Retrieves the complete Session object, including the original request, current status, execution metadata, and
If you only need to know whether the session has finished, poll the lighter, faster
latest_answer (the agent’s final answer once produced). This is the cursor-independent way to read a finished run’s result, with no event loop to drain.
Auth is optional, so public shares are supported.
Returns the Session object if the ID is valid and you have access. Returns 404 otherwise.
Path parameters
The session ID returned when the session was created.
Examples
Response
Errors
| Status | Cause |
|---|---|
404 | Session not found, or you don’t have access to it. |
GET /sessions/{id}/status instead.