Skip to main content
POST
/
traces
cURL
curl --request POST \
  --url https://{axiom-domain}/v1/traces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Axiom-Dataset
string

The dataset to ingest the traces into

x-axiom-traces-dataset
string

The dataset to ingest the traces into (override x-axiom-dataset)

Body

Data you want to send to Axiom. Supported formats: JSON, Protobuf. Upload the data in a file or send it in the payload of the request.

Response

200 - application/json

Ingest result

The response from the ingest API according to the OpenTelemetry specification.