Get session
Sessions
Get session
Fetch every task in a session, in chronological order.
GET
Get session
Path parameters
The session identifier (returned by
POST /v1/tasks).Response — 200 OK
Echoed session identifier.
All tasks in the session, ordered by
createdAt ascending. Each task has the same shape as GET /v1/tasks/{taskId}.Example
Use cases
- Rebuild chat UI state after a page reload
- Audit / support: inspect what your end-user actually asked
- Customer-facing history pages — show your users their own conversation log
- Analytics: compute per-session summaries from the full turn list
Errors
| Code | Meaning |
|---|---|
401 | Missing Authorization header |
403 | Session belongs to another business |
404 | Unknown sessionId, or session has zero tasks |
