Read one experiment
import requests
url = "https://app.langwatch.ai/api/v1/experiments/{slug}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/v1/experiments/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/v1/experiments/{slug} \
--header 'X-Auth-Token: <api-key>'{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"type": "<string>",
"workflowId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"runsCount": 123,
"lastRunAt": "<string>"
}This response has no body data.Experiments
Read one experiment
Read a single experiment by its slug, in the same shape the list returns. Accepts the experiment id as well, so either identifier the list hands back can be used.
GET
/
api
/
v1
/
experiments
/
{slug}
Read one experiment
import requests
url = "https://app.langwatch.ai/api/v1/experiments/{slug}"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/v1/experiments/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/v1/experiments/{slug} \
--header 'X-Auth-Token: <api-key>'{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"type": "<string>",
"workflowId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"runsCount": 123,
"lastRunAt": "<string>"
}This response has no body data.Authorizations
Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.
Path Parameters
The experiment's slug, or its id
Minimum string length:
1Last modified on October 12, 2026
Was this page helpful?