My App
API ReferenceExperiments

Get Experiment

Get full details and results for an experiment.

Check experiment status, view aggregated metrics (hallucination rate, cost, token usage), and see who created it. Use this to monitor running experiments or review completed results.

GET
/v1/experiments/{experiment_id}

Path Parameters

experiment_id*string
Formatuuid

Header Parameters

x-workspace-id?|

Workspace UUID to operate within. Required for session auth and user-scoped API keys. Optional for workspace-scoped API keys (uses key's workspace if omitted).

Response Body

application/json

application/json

curl -X GET "https://loading/v1/experiments/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "model": "string",
  "pass_through": true,
  "filter_snapshot": {},
  "created_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z",
  "created_by": "string",
  "total_items_count": 0,
  "completed_items_count": 0,
  "status_summary": {
    "pending": 0,
    "in_progress": 0,
    "inference_completed": 0,
    "completed": 0,
    "failed": 0,
    "total": 0
  },
  "metrics": {
    "hallucination_rate": 0,
    "total_hallucinations": 0,
    "cost_per_1k": 0,
    "hallucination_labels": {
      "property1": 0,
      "property2": 0
    },
    "total_input_tokens": 0,
    "total_output_tokens": 0,
    "avg_input_tokens": 0,
    "avg_output_tokens": 0,
    "avg_hallucinations_per_prompt": 0,
    "hallucination_free_count": 0,
    "total_generation_time_ms": 0,
    "avg_response_latency_ms": 0,
    "max_response_latency_ms": 0
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}