Proxy Anthropic Messages request
POST/api/auth/sub2api/llm-proxy/v1/messages
Proxy a JSON or SSE request with a short credential signed by the server AI directory. Server Removes client authentication, cookies, and hop-by-hop headers, and then injects the actual Sub2API Key. A short credential expiration after the start of the request does not interrupt an already established stream.
Request
Responses
- 200
- 401
- 403
- 413
- 502
The state of Sub2API, JSON, or SSE stream is forwarded as is; authentication and hop-by-hop response headers are removed.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.