API reference
Base URL: https://ai.lynkrouter.com/v1. Requests and responses follow the OpenAI API format.
Create a chat completion
POST /chat/completions
| Field | Type | Description |
|---|---|---|
model | string, required | A model identifier from the catalog. |
messages | array, required | Conversation messages, each with a role and content. |
{
"model": "<model-id>",
"messages": [
{ "role": "user", "content": "Hello" }
]
}The response shape above is illustrative: values are placeholders, not real output. Other optional OpenAI-format parameters are accepted only where the selected model supports them.
Authentication is described in Authentication; failure responses are covered in Errors.