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>"
}
}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>"
}
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
The details of a partially successful export request. When None or rejected_spans is 0, the request was fully accepted.
Show child attributes
Was this page helpful?