Skip to main content
GET
Retrieve a session
Retrieves the complete Session object, including the original request, current status, execution metadata, and 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

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

Examples

Response

Errors

If you only need to know whether the session has finished, poll the lighter, faster GET /sessions/{id}/status instead.