My App
API ReferenceTraces

Send Traces

Send OpenTelemetry traces to capture your LLM conversations.

This is your instrumentation endpoint. Point your Logfire SDK here to automatically capture conversations for hallucination detection.

Supported formats:

  • application/x-protobuf (recommended for efficiency)
  • application/json

Traces are queued for async processing. You'll see conversations appear shortly after submission.

POST
/v1/traces

Header Parameters

x-workspace-id?|

Workspace UUID to operate within. Required for session auth and user-scoped API keys. Optional for workspace-scoped API keys (uses key's workspace if omitted).

body*file
Formatbinary

Response Body

application/json

application/json

curl -X POST "https://loading/v1/traces" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}