v2
latestOpenAPI 3.1.02026-07-26143251806.6 KBotlp
Ingest Traces (OTLP)
post/v1/traces
Query parameters
close_afterboolean
When true, all trace IDs in the request are marked as closed after ingestion. Subsequent span writes for those traces will be rejected with HTTP 409. Defaults to false.
Headers
Content-Type'application/x-protobuf' | 'application/json' required
The encoding of the request body. Use application/x-protobuf for binary protobuf or application/json for JSON.
Content-Encoding'gzip'
Set to gzip if the request body is gzip-compressed.
Request body
Response
Successful Response. When using protobuf, the response is a binary ExportTraceServiceResponse. When using JSON, the response is a JSON object.