/api/orgs/{org_id}/sessions/{session_id}/spans/{span_id}Get one span of a session
One span of the session with what it was given (input) and what it returned (output), lifted out of its attributes; the other attributes stay in attributes. Use it to open a tool step from the skeleton. The same rules as the skeleton apply: a member reads only a session wholly theirs, and nothing before the organization's erasure.
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.
span_idstringrequiredThe span id, from the skeleton's
id.
Responses
200The span.
Response
span_idstringrequirednamestringrequiredkindstringrequiredinferredbooleanrequiredTrue for a step the platform inferred from the requests (a tool call), false for a span your agent sent.
statusstringrequiredstatus_messagestring | nullstart_timestringrequiredend_timestring | nullduration_msinteger | nullrequest_idstring | nullThe request the span belongs to, when it has one.
inputstring | nullWhat the span was given; null when nothing is stored.
outputstring | nullWhat the span returned; null when nothing is stored.
attributesobjectrequiredThe span's other attributes.
400The span id is not 1 to 256 printable characters (
invalid_span_id).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 such session or span in the organization (
session_not_found,span_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).
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/spans/t-1' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"span_id": "t-1",
"name": "lookup_order",
"kind": "tool",
"inferred": true,
"status": "ok",
"status_message": null,
"start_time": "2026-11-18T14:20:03.150Z",
"end_time": "2026-11-18T14:20:03.460Z",
"duration_ms": 310,
"request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
"input": "{\"order_id\":\"A-1042\"}",
"output": "{\"status\":\"shipped\"}",
"attributes": {}
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/sessions/run-42/spans/t-1