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

Filter experiments

POST
https://api.respan.ai/api/v2/experiments/list/
POST
/api/v2/experiments/list/
$curl -X POST "https://api.respan.ai/api/v2/experiments/list/?sort_by=-created_at" \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "count": 150,
3 "results": [
4 {
5 "id": "exp_9f8b7c6d5a4e3f21",
6 "name": "gpt-4o-mini quality run",
7 "status": "running",
8 "created_at": "2024-01-15T09:30:00Z",
9 "description": "Evaluation of GPT-4o-mini model performance on customer support queries.",
10 "dataset": "ds_7a6b5c4d3e2f1g0h",
11 "dataset_id": "ds_7a6b5c4d3e2f1g0h",
12 "dataset_name": "Support QA Dataset",
13 "workflow_count": 3,
14 "progress": 45,
15 "started_at": "2024-01-15T10:00:00Z",
16 "completed_at": "2024-01-15T12:00:00Z",
17 "tags": [
18 {}
19 ]
20 }
21 ],
22 "next": "https://api.respan.ai/api/v2/experiments/list/?page=2&page_size=20",
23 "previous": "https://api.respan.ai/api/v2/experiments/list/?page=1&page_size=20",
24 "current_filters": {}
25}

List experiments using POST-for-filtering. This endpoint returns the same paginated response shape as GET /api/v2/experiments/list/.

Was this page helpful?
Previous

Retrieve an experiment

Next
Built with

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. Defaults to -created_at.

Request

This endpoint expects an object.
filtersobjectOptional
Filter criteria using the standard Respan filter format.
is_exportingbooleanOptionalDefaults to false
Reserved for dashboard exports.

Response

Paginated filtered list of experiments.
countinteger
Total number of matching results.
resultslist of objects
nextstring or null
URL for the next page, if any.
previousstring or null
URL for the previous page, if any.
current_filtersobject
Normalized filters applied to this request.

Errors

400
Bad Request Error
401
Unauthorized Error