/api/orgs/{org_id}/requests/searchSearch request text
Requests whose stored text (messages, tool results, errors and the response) matches q, newest first, in one time range: the last 24 hours by default, at most 30 days. Each hit carries snippets with highlight offsets. Only content your organization stored can match.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.
Query parameters
qstringrequiredThe words to find. At most 500 characters.
windowenum24h(default),7dor30d, ending now.startstringAn exact range start instead of
window(RFC 3339 with a zone), inclusive. Lists span at most 400 days; search at most 30.endstringThe exact range end, exclusive. Pass with
start.modelstringModel slugs. Comma-separated values match any of them (at most 50).
providerstringProviders that served the request. Comma-separated values match any of them (at most 50).
api_key_idstringAPI key ids (uuids). Comma-separated values match any of them (at most 50).
end_userstringEnd-user labels your requests sent. Comma-separated values match any of them (at most 50).
statusstringcompleted,failed,refused,incompleteorcancelled. Comma-separated values match any of them (at most 50).failure_classstringError classes, such as
throttled. Comma-separated values match any of them (at most 50).sessionstringOne session id.
trace_idstringOne trace id: 32 lower-case hex characters.
pathstringA step path prefix:
/plan/researchmatches/plan/research/search-1.laneenumplatform(platform credits) orbyok(your own provider key).cacheenum1: only requests with cached input tokens.cost_minintegerAll-in cost at least this value, in nano-USD (1,000,000,000 is one dollar).
cost_maxintegerAll-in cost at most this value, in nano-USD (1,000,000,000 is one dollar).
latency_minintegerTotal latency at least this value, in milliseconds.
latency_maxintegerTotal latency at most this value, in milliseconds.
ttft_minintegerTime to first token at least this value, in milliseconds.
ttft_maxintegerTime to first token at most this value, in milliseconds.
tokens_minintegerInput plus output tokens at least this value.
tokens_maxintegerInput plus output tokens at most this value.
tagstringA request tag as
key:value, orkey:*for any value. Repeatable, one per key, at most 16.tag_scorestringA trace tag score range as
tag_id:min:max(0 to 1; leave a bound empty to keep it open). Repeatable, at most 16.tag_firedstringOnly requests this check (trace tag, its uuid) flagged.
toolstringOnly requests that used one of these paid tools, by tool key (comma separated, e.g.
web_search).feedbackenumOnly requests someone rated with the drawer's thumbs:
up(any rater's thumb is up),down, oranyrating.tag_labelstringOnly requests a Tag or Multi-tag check labeled with this label, as
<check id>:<label>(a label of 1 to 64 characters).prompt_groupstringPrompt groups (12 hex characters, as a request shows them). Comma-separated values match any of them (at most 50).
conversation_groupstringConversation handles (12 hex characters). Comma-separated values match any of them (at most 50).
countrystringWhere the request came from: ISO country codes. Comma-separated values match any of them (at most 50).
regionstringContinents:
AF,AN,AS,EU,NA,OC,SA. A request matches any listed country or any country of a listed region.excludestringLeave rows out:
field:valuewith field one ofmodel,provider,api_key_id,end_user,status,failure_class,lane,country. Repeatable.limitintegerHits per page, 1 to 100.
cursorstringThe
next_cursorof the previous page, sent with the same filters and sort. Another query answers 400cursor_mismatch.
Responses
200One page of hits.
Response
hitsarray<object>requiredhits
requestobjectOne request of the log. Content-free; captured bodies are behind
/prompt.request
request_idstringrequiredmodelstringrequiredproviderstring | nullrequiredCustomer-facing provider (masked house lanes read
experiential_cloud); null when nothing was dispatched.laneenumrequiredapi_key_idstring | nullrequiredkey_labelstring | nullrequiredinput_tokensintegerrequiredoutput_tokensintegerrequiredcached_input_tokensintegerrequiredCache hits as billed, including
cache_credited_input_tokens.cache_credited_input_tokensintegerInput the platform billed at the cached rate because it caused the cache miss.
reasoning_tokensintegerrequiredcost_usdnumberrequiredCharged platform credits, dollars (0 for BYOK).
estimated_cost_usdnumberrequiredNever-charged BYOK estimate, dollars.
free_usdnumberrequiredList-price value of promotion-funded usage, dollars.
real_cost_usdnumberrequiredcost_usd+estimated_cost_usd.pricing_knownbooleanrequiredFalse when the winning attempt had no known price: a 0 cost then means unpriced, not free.
latency_msinteger | nullrequiredttft_msinteger | nullrequiredTime to first streamed token; null when not observed.
statusenumrequiredrefused: the gateway answered without asking any model (refused before admission, or accepted and refused before any dispatch). No tokens, no cost.http_statusinteger | nullThe HTTP status a call refused before admission was answered with; null otherwise.
deliveryobject | nullNull means not observed, never completed.
One of
object
request_idstringrequiredoutcomeenumrequiredstreamingbooleanrequiredterminal_frame_seenbooleanrequiredfinal_body_sentbooleanrequiredclient_disconnect_observedbooleanrequiredinspection_completebooleanrequiredbytes_sentintegerrequiredbody_messages_sentintegerrequireddata_frames_sentintegerrequiredstarted_atstringrequiredobserved_atstringrequiredduration_msintegerrequired
usage_evidenceobject | nullOne of
object
usage_sourceenumrequiredinput_tokensinteger | nullrequiredoutput_tokensinteger | nullrequiredcached_input_tokensinteger | nullrequiredreasoning_tokensinteger | nullrequiredno_dispatchbooleanrequiredcache_write_input_tokensinteger | nullrequiredInput written to the provider cache (billed at the cache-write rate).
web_search_requestsinteger | nullweb_search_fee_usdnumber | nullDollars, 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_keystringThe tool's key, for example
web_search.namestringIts display name, for example Exa search.
providerstring | nullunitenumunitsintegercost_nano_usdintegerWhat the units cost, integer nano-USD (1,000,000,000 = $1); 0 on your own key.
cost_usdnumber
attempt_countintegerrequiredPhysical provider dispatches; 0 = refused before dispatch.
created_atstringrequiredWhen the request settled. It trails the request by its latency and a short settle delay.
requested_atstring | nullWhen 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>requiredDistinct tool names (never arguments).
failure_classstring | nullrequiredSanitized outcome class for a non-completed request.
error_messagestring | nullrequiredincomplete_reasonenumnon_zdr_providerstring | nullThe 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 | nullrequired12-hex handle: requests sharing it ran the same agent configuration.
conversation_groupstring | nullrequired12-hex handle: requests sharing it belong to one conversation.
attribution_labelstring | nullrequiredtagsobjectCall tags sent in
X-Explabs-Tags.session_idstring | nullThe session: the id your agent sent, else the conversation the gateway recognized, else the trace id.
cache_hitbooleanTrue when the response cache answered: zero tokens, no provider, and the cost is the plan's hit price (0 while hits are free).
cache_saved_usdnumber | nullOn a cache hit, what the original answer cost, dollars. Never part of any spend figure. Null otherwise.
session_namestring | nulltrace_idstring | nullThe W3C trace id (32 hex characters).
span_idstring | nullThe gateway's own span id for this request.
parent_request_idstring | nullThe request this one continued.
pathstring | nullThe step path your request sent, such as
/plan/research.tag_scoresobjectEach check's newest score (0 to 1) by check id; empty when no check scored the request.
tag_labelsobjectThe label a Tag check chose, by check id. A Multi-tag check's labels are joined by the unit separator (U+001F).
countrystring | nullWhere the request came from (ISO country code); null when unknown.
creditsnumber | nullWhat the request drew from the balance, in credits (1 credit = 1 cent).
generation_duration_msinteger | nullFrom the first token to the last, in milliseconds; null when not measured.
routing_overhead_msinteger | nullWhat the gateway added before dispatch, in milliseconds; null when not measured.
search_snippetsarray | nullOnly on a list read with
q; where the text matched.search_snippets
fieldenumThe part of the request that matched.
textstringhighlightsarray<array<integer>>Start and end offsets (UTF-16) of each match in
text.
previewobject | nullOnly 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 | nullinput_kindenumoutputstring | nulloutput_kindenumoutput_namestring | nullThe tool a tool-call output names.
cutbooleanTrue when either side is shorter than what is stored.
content_stateenumWhether the request's text is stored, so an empty
previewsays which case applies:not_storedwhen your organization, the key or the request stores nothing (storage off,do_not_store, an omit header, zero data retention) or the text expired;processingwhen it is stored and still being loaded (a few minutes);storedotherwise. On the request list and a session's requests; null on other reads.
snippetsarray<object>snippets
fieldenumThe part of the request that matched.
textstringhighlightsarray<array<integer>>Start and end offsets (UTF-16) of each match in
text.
next_cursorstring | nullrequired
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).
404Unknown organization, or not the key's own organization.
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).
503Search is not available on this deployment yet (
search_unavailable).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/requests/search?q=timeout&window=7d&start=2026-11-18T00%3A00%3A00Z&end=2026-11-19T00%3A00%3A00Z&model=gpt-6-luna&provider=experiential_cloud&api_key_id=6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33&end_user=user_48121&status=failed&failure_class=throttled&session=run-42&trace_id=4bf92f3577b34da6a3ce929d0e0e4736&path=%2Fplan%2Fresearch&lane=byok&cache=1&cost_min=1000000&cost_max=1000000&latency_min=5000&latency_max=5000&ttft_min=2000&ttft_max=2000&tokens_min=100000&tokens_max=100000&tag=team%3Asupport&tag_score=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90%3A0.5%3A&tag_fired=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90&tool=web_search&feedback=up&tag_label=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90%3ARefund&prompt_group=9c41e07ab2d3&conversation_group=f02a6b19c4e8&country=US%2CFR®ion=EU&exclude=model%3Agpt-6-luna&limit=50&cursor=eyJ2IjoxLCJrIjoicmVxdWVzdHMi...' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"hits": [
{
"request": {
"request_id": "req_01JD8ZK4M2Q7V9X3N5T6B8C0EF",
"model": "gpt-6-luna",
"status": "failed"
},
"snippets": [
{
"field": "error",
"text": "upstream timeout after 60 s",
"highlights": [
[
9,
16
]
]
}
]
}
],
"next_cursor": null
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/requests/search?q=timeout&window=7d&start=2026-11-18T00%3A00%3A00Z&end=2026-11-19T00%3A00%3A00Z&model=gpt-6-luna&provider=experiential_cloud&api_key_id=6b1d2f4e-3c8a-4f0e-9a21-7e5c0d9b4a33&end_user=user_48121&status=failed&failure_class=throttled&session=run-42&trace_id=4bf92f3577b34da6a3ce929d0e0e4736&path=%2Fplan%2Fresearch&lane=byok&cache=1&cost_min=1000000&cost_max=1000000&latency_min=5000&latency_max=5000&ttft_min=2000&ttft_max=2000&tokens_min=100000&tokens_max=100000&tag=team%3Asupport&tag_score=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90%3A0.5%3A&tag_fired=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90&tool=web_search&feedback=up&tag_label=0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90%3ARefund&prompt_group=9c41e07ab2d3&conversation_group=f02a6b19c4e8&country=US%2CFR®ion=EU&exclude=model%3Agpt-6-luna&limit=50&cursor=eyJ2IjoxLCJrIjoicmVxdWVzdHMi...