Tag requests, filter later

Request Metadata

Attach user, country or any other context to requests with custom headers and filter your logs by it.

request headers
POST /v1/chat/completions
Authorization: Bearer llmgtwy_••••
X-LLMGateway-User-ID: 9403f741
X-LLMGateway-Country: US
X-LLMGateway-Tenant: acme
Filter the activity log by any value
01

Just headers

No body changes.

02

Any key

Users, tenants, versions.

03

Filterable logs

Find one user's requests.

04

Multi-tenant

Track usage per customer.

Built for

  • Support

    Look up a user's history

  • Releases

    Compare app versions

  • SaaS tenants

    Usage per customer

Add context
terminal
1curl https://api.llmgateway.io/v1/chat/completions \2  -H "Authorization: Bearer $LLM_GATEWAY_API_KEY" \3  -H "Content-Type: application/json" \4  -H "X-LLMGateway-User-ID: 9403f741" \5  -H "X-LLMGateway-Country: US" \6  -d '{7    "model": "gpt-4o",8    "messages": [9      {10        "role": "user",11        "content": "Hello!"12      }13    ]14  }'
Read docs

More in observability & cost

All features

Start using Request Metadata today

One API key. Every model. Live in minutes.