Proxy requests to Anthropic’s Messages API with analytics tracking.
claude-sonnet-4-20250514)user_id for session trackingstream: true:
metadata.user_id field to group requests into sessions:
| Code | Description |
|---|---|
200 | Success |
400 | Invalid request |
401 | Invalid authentication |
403 | Provider key not found or feature not enabled |
429 | Rate limit exceeded |
500 | Internal error or provider error |