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
Minimum string length: 1

Body

application/json
version_id
string

Committed version to evaluate; defaults to the latest commit

data
object[]

Inline rows to evaluate instead of the workflow's attached dataset

dataset_id
string

Platform dataset id to evaluate; mutually exclusive with data

parameters
object

Constant entry inputs applied to every row, e.g. a feature flag or PR number

row_indices
integer[]

Subset of dataset row indices to evaluate

Required range: 0 <= x <= 9007199254740991

Response

Success

run_id
string
required
run_url
string
required
workflow_version_id
string
required
version
string
required
Last modified on October 12, 2026