Skip to main content
PATCH
/
api
/
v2
/
projects
/
{project_id}
/
sessions
/
{session_id}
/
traces
/
otel-span-id
/
{otel_span_id_hex}
Update Trace by OTEL Span ID
curl --request PATCH \
  --url https://api.example.com/api/v2/projects/{project_id}/sessions/{session_id}/traces/otel-span-id/{otel_span_id_hex} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "feedback": {}
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required
session_id
string
required
otel_span_id_hex
string
required

Body

application/json
metadata
Metadata · object
feedback
Feedback · object

Response

200 - application/json

SimpleResponseWithMessage(message: str)

message
string
required