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

Response

Suite duplicated

id
string
required
name
string
required
slug
string
required
kind
enum<string>
required

custom is a hand-assembled run plan; folder is a test suite that groups scenarios filed into it.

Available options:
custom,
folder
description
string | null
required
scenarioIds
string[]
required
scope
object
required

What the run plan covers: all (every active test case), folders (the cases filed in the named test suites), labels (the cases carrying any of the labels), or cases (the scenarioIds below). A dynamic scope is resolved again at every run, so a test case written later runs without editing the plan.

targets
object[]
required
repeatCount
number
required
labels
string[]
required
createdAt
string
required
updatedAt
string
required
platformUrl
string<uri>
required
Last modified on May 19, 2026