Skip to main content
POST
/
otel
/
traces
Ingest OTLP/JSON traces
curl --request POST \
  --url https://api.galtea.ai/otel/traces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {}
        ]
      },
      "scopeSpans": [
        {
          "spans": [
            {}
          ]
        }
      ]
    }
  ]
}
'
{
  "partialSuccess": {
    "rejectedSpans": 123,
    "errorMessage": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Body

application/json
resourceSpans
object[]
required

Response

Traces ingested (OTLP ExportTraceServiceResponse)

partialSuccess
object