cURL
curl --request POST \ --url http://localhost:3000/v1/chat/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "ignored-by-astrolabe", "messages": [ { "role": "user", "content": "Say hello in one line." } ] } '
{ "id": "<string>", "object": "<string>", "created": 123, "choices": [ {} ], "usage": {} }
Accepts OpenAI-compatible chat requests, classifies tier, and forwards to OpenRouter.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
Show child attributes
Accepted for compatibility. Astrolabe chooses final upstream model.
If false, Astrolabe returns full JSON and can self-check/escalate.
Successful response (JSON or stream)