Skip to main content
GET
Python

Authorizations

X-Auth-Token
string
header
required

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

scenarioRunId
string
required
Minimum string length: 1

Response

Success

scenarioId
string
required
batchRunId
string
required
scenarioRunId
string
required
name
string | null
required
description
string | null
required
status
string
required
results
object | null
required
messages
object[]
required
timestamp
number
required
updatedAt
number
required
durationInMs
number
required
platformUrl
string<uri>
required
scenarioSetId
string
messagesTruncated
boolean

True when messages holds only the first few messages of a longer conversation. Pass include=messages to read them all.

totalCost
number
roleCosts
object
roleLatencies
object
note
string | null

One short line saying why the run was started, as given when it was queued. Null on a run started without one.

scenarioVersion
integer | null

The version of the scenario at the moment the run was queued. Null on runs recorded before versions existed.

Required range: -9007199254740991 <= x <= 9007199254740991
Last modified on October 12, 2026