/api/orgs/{org_id}/sessions/{session_id}/skeletonGet a session's timeline
The whole session as JSON lines, no bodies: line 1 is a header (start time and the model and path tables), then one line per node with id, p (parent), k (kind: r a gateway request, l your own LLM span, t a tool span, a an agent, s any other span of yours), n (name), t (ms since the start), d (duration ms), st (0 ok, 1 failed, 2 incomplete, 3 cancelled) and c (cost, nano-USD). inf: 1 marks a node inferred from traffic, whose timing is an estimate. A key that would be zero or empty is left out, and a root has no p. About 200 bytes a node; cut at 25,000 nodes, and the header says so (truncated). For one nested JSON object instead, read the session's /tree.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.session_idstringrequiredThe session id: the id your agent sent, else the conversation the gateway recognized, else the trace id.
Responses
200The skeleton.
400An unknown parameter or value, a parameter or value this API no longer takes, a repeated tag key, a bad range, an edited cursor, or a cursor sent with a different query.
codenames it (unknown_parameter,parameter_removed,invalid_filter,invalid_cursor,cursor_mismatch,range_too_wide,invalid_limit). Aparameter_removedmessage names what to send instead.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404No session with this id in the organization (
session_not_found).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
422Too broad to read in time (
query_too_broad). Narrow the window or add a filter.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
429Too many reads.
rate_limited: this organization's API-key reads of the request log are over about 10 per second (burst 30) or 4 in flight on one server (sessions are not limited).build_capacity: the shared analytics read slots are busy. Retry afterRetry-After.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
503This deployment has no observability store (
observability_unavailable), or the store could not answer (trace_store_error). Retry shortly.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/sessions/run-42/skeleton' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{"k":"h","session_id":"run-42","t0":"2026-11-18T14:20:01Z","n":2,"models":["gpt-6-luna"],"paths":["/plan"],"keys":[],"truncated":false}
{"k":"r","id":"req_01JD8ZK4M2Q7V9X3N5T6B8C0EF","tr":"4bf92f3577b34da6a3ce929d0e0e4736","t":0,"n":"plan","d":2140,"f":410,"c":1284000,"i":1200,"o":300,"cr":0.1284,"m":0,"pa":0}
{"k":"t","id":"b3ce929d0e0e4736","tr":"4bf92f3577b34da6a3ce929d0e0e4736","p":"req_01JD8ZK4M2Q7V9X3N5T6B8C0EF","t":2150,"n":"lookup_order","d":310,"inf":1}
https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/sessions/run-42/skeleton