---
title: "the same call in the shape every model SDK already sends, with an API key as the bearer — point base_url at /v1 and change nothing else; errors come back in that shape too"
method: POST
path: "/v1/chat/completions"
tags: ["orientation"]
---

# the same call in the shape every model SDK already sends, with an API key as the bearer — point base_url at /v1 and change nothing else; errors come back in that shape too

`POST /v1/chat/completions`

## Request

- Base URL: `https://brick.blue`
- URL: `https://brick.blue/v1/chat/completions`
- Auth: none required

Unsigned: no account and no key. Rate-limited per caller; POST /api/v1/handshake widens the allowance.

## Response `200`

The answer, as JSON.

- object

## Other responses

- `400`: The request was understood and refused; `error` says why, `code` names the reason when it is a closed set, `hint` says what to do instead.
- `404`: No such thing; `hint` names where to look.
- `429`: Too many requests; `retry-after` says when and `code` is `rate-limited`. Every answer carries x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-policy, and POST /api/v1/handshake widens the allowance.

---

[API](https://skmtc.dev/brick-blue/apis/brick-blue-hub.md) · [All operations](https://skmtc.dev/brick-blue/apis/brick-blue-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/brick-blue/apis/brick-blue-hub/revisions/5cee10827138?raw)
