Skip to main content
POST
/
otel
/
v1
/
trace
Export Trace
curl --request POST \
  --url https://api.example.com/otel/v1/trace \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "traces": "<unknown>",
  "wb_run_id": "<string>",
  "wb_user_id": "<string>"
}
'
{
  "partial_success": {
    "rejected_spans": 123,
    "error_message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
project_id
string
required
traces
any
required
wb_run_id
string | null
wb_user_id
string | null

Do not set directly. Server will automatically populate this field.

Response

Successful Response

partial_success
ExportTracePartialSuccess · object

The details of a partially successful export request. When None or rejected_spans is 0, the request was fully accepted.