Minimum redacted bundle for support tickets.

Required

FieldExample
TimestampUTC to the second
Environmentproduction / non-production (or your deployment label)
HTTP statuse.g. 403, 502
modelRequest body model id
SurfaceOpenAI /v1/chat/completions or Anthropic /anthropic/v1/messages

Strongly recommended

FieldNotes
x-trace-idYour trace header
request_idFrom Anthropic error JSON
Error bodyFull error object (redact PII in message)
Streamingstream: true/false

Do not send

  • Full API keys (prefix or console key name/id is OK)
  • Raw user prompts without policy approval
  • Full Authorization header

Optional

  • Request shape summary (field names, no sensitive content)
  • @routerbrain/sdk version
  • Egress IP if using allow lists

Template

Time: 2024-06-01T12:00:00Z
Env: production
Endpoint: POST /v1/chat/completions
model: vendor/model-x
stream: true
x-trace-id: order-8821
Status: 502
Body: {"error":{"message":"...","type":"..."}}
Key: prefix sk-rb-*** (name prod-backend)

Related

Request correlation · Troubleshooting