> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.
# TraceConfig
Metadata for observability and tracing. Known keys (trace\_id, trace\_name, span\_name, generation\_name, parent\_span\_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------- | ----------------- | -------------------- | ----------- | ------------------------------------------------------------------------------ |
| `GenerationName` | `*string` | :heavy\_minus\_sign: | N/A | |
| `ParentSpanID` | `*string` | :heavy\_minus\_sign: | N/A | |
| `SpanName` | `*string` | :heavy\_minus\_sign: | N/A | |
| `TraceID` | `*string` | :heavy\_minus\_sign: | N/A | |
| `TraceName` | `*string` | :heavy\_minus\_sign: | N/A | |
| `AdditionalProperties` | map\[string]`any` | :heavy\_minus\_sign: | N/A | \{
"trace\_id": "trace-abc123",
"trace\_name": "my-app-trace"
} |