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
versionId
string
required

Response

Success

id
string
required
handle
string | null
required
scope
enum<string>
required
Available options:
PROJECT,
ORGANIZATION
name
string
required
updatedAt
string<date-time>
required
projectId
string
required
organizationId
string
required
versionId
string
required
version
number
required
createdAt
string<date-time>
required
prompt
string
required
messages
object[]
required
inputs
object[]
required
outputs
object[]
required
Minimum array length: 1
model
string
required
Minimum string length: 1
tags
object[]
required
parameters
object
required
platformUrl
string
required
authorId
string | null
commitMessage
string | null
temperature
number
maxTokens
number
demonstrations
object
promptingTechnique
object
responseFormat
object
Last modified on October 12, 2026