Skip to main content
POST
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

id
string
required

The agent id.

Minimum string length: 1

Response

Success

scenarioRunId
string
required

The run to follow; open it in the simulations run drawer.

batchRunId
string
required

The batch the run belongs to.

setId
string
required

The internal set that holds agent test runs.

Last modified on August 31, 2026