Skip to main content
POST
Apply a production label
Use a project API key. Create the label in Project Settings before applying it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Apply an existing project label to a user trace or span.

author_id
string
required

Project-scoped ID of the end user who applied the label.

Required string length: 1 - 128
idempotency_key
string
required
Required string length: 1 - 128
trace_id
string
required
Required string length: 1 - 128
value
string
required
Required string length: 1 - 100
span_id
string | null
Required string length: 1 - 128

Response

Successful Response

The saved assignment ID, also returned on retries.

id
string
required
Minimum string length: 1