GET/api/orgs/{org_id}/sessions/{session_id}/requests

List a session's requests

The session's full request rows in start order, keyset paged.

Authentication: Bearer API key in the Authorization header

Path parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

  • session_idstringrequired

    The session id: the id your agent sent, else the conversation the gateway recognized, else the trace id.

Query parameters

  • limitinteger

    Rows per page, 1 to 200.

    Default: 50
  • cursorstring

    The next_cursor of the previous page, sent with the same filters and sort. Another query answers 400 cursor_mismatch.

Responses

  • 200

    One page.

    Response
    • requestsarray<object>required
      requests
      • request_idstringrequired
      • modelstringrequired
      • providerstring | nullrequired

        Customer-facing provider (masked house lanes read experiential_cloud); null when nothing was dispatched.

      • laneenumrequired
        "platform""byok"null
      • api_key_idstring | nullrequired
      • key_labelstring | nullrequired
      • input_tokensintegerrequired
      • output_tokensintegerrequired
      • cached_input_tokensintegerrequired

        Cache hits as billed, including cache_credited_input_tokens.

      • cache_credited_input_tokensinteger

        Input the platform billed at the cached rate because it caused the cache miss.

        Default: 0
      • reasoning_tokensintegerrequired
      • cost_usdnumberrequired

        Charged platform credits, dollars (0 for BYOK).

      • estimated_cost_usdnumberrequired

        Never-charged BYOK estimate, dollars.

      • free_usdnumberrequired

        List-price value of promotion-funded usage, dollars.

      • real_cost_usdnumberrequired

        cost_usd + estimated_cost_usd.

      • pricing_knownbooleanrequired

        False when the winning attempt had no known price: a 0 cost then means unpriced, not free.

      • latency_msinteger | nullrequired
      • ttft_msinteger | nullrequired

        Time to first streamed token; null when not observed.

      • statusenumrequired

        refused: the gateway answered without asking any model (refused before admission, or accepted and refused before any dispatch). No tokens, no cost.

        "completed""failed""cancelled""incomplete""expired_before_dispatch""unknown_after_crash""refused"
      • http_statusinteger | null

        The HTTP status a call refused before admission was answered with; null otherwise.

      • deliveryobject | null

        Null means not observed, never completed.

        One of

        object

        • request_idstringrequired
        • outcomeenumrequired
          "completed""relay_closed""inspection_unknown""send_failed""exception""client_disconnect_observed"
        • streamingbooleanrequired
        • terminal_frame_seenbooleanrequired
        • final_body_sentbooleanrequired
        • client_disconnect_observedbooleanrequired
        • inspection_completebooleanrequired
        • bytes_sentintegerrequired
        • body_messages_sentintegerrequired
        • data_frames_sentintegerrequired
        • started_atstringrequired
        • observed_atstringrequired
        • duration_msintegerrequired
      • usage_evidenceobject | null
        One of

        object

        • usage_sourceenumrequired
          "observed""estimated""unknown"
        • input_tokensinteger | nullrequired
        • output_tokensinteger | nullrequired
        • cached_input_tokensinteger | nullrequired
        • reasoning_tokensinteger | nullrequired
        • no_dispatchbooleanrequired
        • cache_write_input_tokensinteger | nullrequired

          Input written to the provider cache (billed at the cache-write rate).

      • web_search_requestsinteger | null
      • web_search_fee_usdnumber | null

        Dollars, already inside the cost fields.

      • tool_chargesarray<object>

        Every paid tool the request used (Exa web search, and tools added later), one line per tool. Each cost is a part of the cost fields, never added to them.

        tool_charges
        • tool_keystring

          The tool's key, for example web_search.

        • namestring

          Its display name, for example Exa search.

        • providerstring | null
        • unitenum
          "call""result""per_1000"
        • unitsinteger
        • cost_nano_usdinteger

          What the units cost, integer nano-USD (1,000,000,000 = $1); 0 on your own key.

        • cost_usdnumber
      • attempt_countintegerrequired

        Physical provider dispatches; 0 = refused before dispatch.

      • created_atstringrequired

        When the request settled. It trails the request by its latency and a short settle delay.

      • requested_atstring | null

        When the request was made (the gateway accepted it). The list's time sort and its window use this. Null only on a row read from the billing ledger before it reached the request log.

      • tools_usedarray<string>required

        Distinct tool names (never arguments).

      • failure_classstring | nullrequired

        Sanitized outcome class for a non-completed request.

      • error_messagestring | nullrequired
      • incomplete_reasonenum
        "max_tokens""provider_stream_ended""tool_call_cut""context_window""unknown"null
      • non_zdr_providerstring | null

        The public name of the provider that served this request under Partial zero data retention when it does not offer zero data retention; null otherwise.

      • prompt_groupstring | nullrequired

        12-hex handle: requests sharing it ran the same agent configuration.

      • conversation_groupstring | nullrequired

        12-hex handle: requests sharing it belong to one conversation.

      • attribution_labelstring | nullrequired
      • tagsobject

        Call tags sent in X-Explabs-Tags.

      • session_idstring | null

        The session: the id your agent sent, else the conversation the gateway recognized, else the trace id.

      • cache_hitboolean

        True when the response cache answered: zero tokens, no provider, and the cost is the plan's hit price (0 while hits are free).

        Default: false
      • cache_saved_usdnumber | null

        On a cache hit, what the original answer cost, dollars. Never part of any spend figure. Null otherwise.

      • session_namestring | null
      • trace_idstring | null

        The W3C trace id (32 hex characters).

      • span_idstring | null

        The gateway's own span id for this request.

      • parent_request_idstring | null

        The request this one continued.

      • pathstring | null

        The step path your request sent, such as /plan/research.

      • tag_scoresobject

        Each check's newest score (0 to 1) by check id; empty when no check scored the request.

      • tag_labelsobject

        The label a Tag check chose, by check id. A Multi-tag check's labels are joined by the unit separator (U+001F).

      • countrystring | null

        Where the request came from (ISO country code); null when unknown.

      • creditsnumber | null

        What the request drew from the balance, in credits (1 credit = 1 cent).

      • generation_duration_msinteger | null

        From the first token to the last, in milliseconds; null when not measured.

      • routing_overhead_msinteger | null

        What the gateway added before dispatch, in milliseconds; null when not measured.

      • search_snippetsarray | null

        Only on a list read with q; where the text matched.

        search_snippets
        • fieldenum

          The part of the request that matched.

          "system""user""assistant""tool_result""error"
        • textstring
        • highlightsarray<array<integer>>

          Start and end offsets (UTF-16) of each match in text.

      • previewobject | null

        Only with preview=1. Null when nothing readable is stored (storage off, a key or request that stores nothing, zero data retention, or expired).

        One of

        object

        • inputstring | null
        • input_kindenum
          "user""tool_result""message"null
        • outputstring | null
        • output_kindenum
          "response""tool_call""error"null
        • output_namestring | null

          The tool a tool-call output names.

        • cutboolean

          True when either side is shorter than what is stored.

      • content_stateenum

        Whether the request's text is stored, so an empty preview says which case applies: not_stored when your organization, the key or the request stores nothing (storage off, do_not_store, an omit header, zero data retention) or the text expired; processing when it is stored and still being loaded (a few minutes); stored otherwise. On the request list and a session's requests; null on other reads.

        "stored""not_stored""processing"null
    • next_cursorstring | nullrequired

      Opaque. Send it back as cursor with the same filters and sort for the next page; null on the last page.

    • live_cursorstring | null

      Opaque. Send it back as after to read only newer requests.

    • poll_after_msinteger | null

      How long to wait before the next live poll (3,000 normally, longer while your organization polls faster than its budget).

    • totalinteger | null

      The exact number of matching requests when it can be counted in time (first page only), else null.

    • previewsenum

      With preview=1, whether rows carry previews (withheld when your access does not include stored prompts).

      "shown""withheld"null
  • 400

    An 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. code names it (unknown_parameter, parameter_removed, invalid_filter, invalid_cursor, cursor_mismatch, range_too_wide, invalid_limit). A parameter_removed message names what to send instead.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    No session with this id in the organization (session_not_found).

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 422

    Too broad to read in time (query_too_broad). Narrow the window or add a filter.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 429

    Too 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 after Retry-After.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 503

    This deployment has no observability store (observability_unavailable), or the store could not answer (trace_store_error). Retry shortly.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-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/requests?limit=50&cursor=eyJ2IjoxLCJrIjoicmVxdWVzdHMi...' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "requests": [
    {
      "request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
      "model": "gpt-6-luna",
      "provider": "experiential_cloud",
      "lane": "platform",
      "api_key_id": "6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33",
      "key_label": "support-bot",
      "input_tokens": 4210,
      "output_tokens": 388,
      "cached_input_tokens": 3584,
      "cache_credited_input_tokens": 0,
      "reasoning_tokens": 120,
      "cost_usd": 0.001284,
      "estimated_cost_usd": 0,
      "free_usd": 0,
      "real_cost_usd": 0.001284,
      "pricing_known": true,
      "latency_ms": 2140,
      "ttft_ms": 410,
      "status": "completed",
      "attempt_count": 1,
      "created_at": "2026-11-18T14:32:07.481Z",
      "tools_used": [
        "lookup_order"
      ],
      "failure_class": null,
      "error_message": null,
      "incomplete_reason": null,
      "prompt_group": "9c41e07ab2d3",
      "conversation_group": "f02a6b19c4e8",
      "attribution_label": "user_48121",
      "tags": {
        "env": "prod"
      },
      "session_id": "run-42",
      "session_name": "Support run",
      "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
      "span_id": "a3ce929d0e0e4736",
      "parent_request_id": null,
      "path": "/plan/research",
      "tag_scores": {},
      "country": "US",
      "credits": 0.1284,
      "preview": {
        "input": "Where is order 4471?",
        "input_kind": "user",
        "output": "Order 4471 shipped on Monday.",
        "output_kind": "response",
        "output_name": null,
        "cut": false
      }
    }
  ],
  "next_cursor": null
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/sessions/run-42/requests?limit=50&cursor=eyJ2IjoxLCJrIjoicmVxdWVzdHMi...