Skip to main content
PUT
Point a deploy label at an agent version

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

agentId
string
required

The agent id.

Minimum string length: 1
label
string
required

The deploy label, for example production.

Required string length: 1 - 64

Body

application/json
version
integer
required

The version number the label points at.

Required range: x <= 9007199254740991

Response

200 - application/json

Success

label
string
required
version
integer
required
Required range: x <= 9007199254740991
versionId
string
required
Last modified on November 3, 2026