# API Explorer | Qolaba API Documentation

POST `/chat/completions`

## Header Parameters

* `Authorization` — string

The Authorization header parameter contains the authentication credentials required for accessing the ChatBot API.

## Body Parameters

* `model` — string

  Additional properties: Model ID (e.g. openai/gpt-4o-mini, google/gemini-2.5-flash)
* `messages` — array
* `stream` — boolean (float)

  You can choose the state

## cURL

```bash
curl --location 'https://qolaba-server-b2b.up.railway.app/api/v1/chat/completions' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data '{
  "model": "google/gemini-2.5-flash",
  "messages": [\
    {\
      "role": "user",\
      "content": "What is the capital of France?"\
    }\
  ],
  "stream": false
}'
```

## Response

```
// Awaiting response...
```
