For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTCreate an experiment
      • POSTFilter experiments
      • GETRetrieve an experiment
      • DELDelete an experiment
      • GETList or export experiment traces
      • POSTFilter experiment traces
      • GETRetrieve an experiment trace
      • PATCHResume a wait workflow trace
      • GETGet experiment trace summary
      • GETList experiments
      • GETList experiments with filters
      • GETGet experiments summary
      • POSTFilter experiments summary
      • PUTReplace an experiment
      • PATCHUpdate an experiment
      • POSTFilter experiment trace summary
      • GETGet experiment score histogram
      • POSTGet experiment score histogram with filters
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceExperiments

List or export experiment traces

GET
https://api.respan.ai/api/v2/experiments/:experiment_id/logs/list/
GET
/api/v2/experiments/:experiment_id/logs/list/
$curl -G https://api.respan.ai/api/v2/experiments/experiment_id/logs/list/ \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -d sort_by=-start_time
1{
2 "message": "Exporting experiment logs. Check your email for the download link."
3}

List experiment traces. Set export=1 or export=true to export matching traces instead of returning a page of results.

Was this page helpful?
Previous

Filter experiment traces

Next
Built with

Path parameters

experiment_idstringRequired

Experiment ID returned as id in experiment responses.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.

Query parameters

pageintegerOptional>=1
Page number.
page_sizeintegerOptional1-100
Number of results to return per page. Maximum 100.
sort_bystringOptional

Field to sort by. Prefix with - for descending order.

start_timedatetimeOptional
Filter results at or after this timestamp.
end_timedatetimeOptional
Filter results before this timestamp.
detailenumOptional

Set to 1 or true to include span tree details in list responses.

Allowed values:
exportenumOptional

Set to 1 or true to export matching traces. The response contains an export status message instead of paginated results.

Allowed values:

Response

Paginated list of experiment traces, or an export status message when export is set.

object
OR
object

Errors

401
Unauthorized Error
404
Not Found Error