Sessions API
Inspect or delete server-side session state for debugging and privacy workflows.
GET /v1/sessions/{session_id}
Returns session state when found.
Examples
curl -s "http://localhost:8000/v1/sessions/def-abc12345"import httpx
r = httpx.get("http://localhost:8000/v1/sessions/def-abc12345")
print(r.status_code, r.json())Success body
Prop
Type
Errors
- 404 -
Session not found
DELETE /v1/sessions/{session_id}
Deletes session state. Returns 204 No Content on success.
curl -s -i -X DELETE "http://localhost:8000/v1/sessions/def-abc12345"Expect 204 No Content on success.
import httpx
r = httpx.delete("http://localhost:8000/v1/sessions/def-abc12345")
print(r.status_code)