---
title: "Chat completions"
method: POST
path: "/v1/chat/completions"
tags: ["OpenAI"]
---

# Chat completions

`POST /v1/chat/completions`

## Request

- Base URL: `https://kortexio.io` (the document declares no server; this is the origin it was published from)
- URL: `https://kortexio.io/v1/chat/completions`
- Auth: HTTP bearer

OpenAI-compatible chat completions with Kortexio memory, BYOK, and optional agentic loop. Provide X-User-Id or body.user.

## Headers

- `X-User-Id` string
- `X-Session-Id` string

## Response `200`

OK

---

[API](https://skmtc.dev/kortexio/apis/kortexio-api.md) · [All operations](https://skmtc.dev/kortexio/apis/kortexio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kortexio/apis/kortexio-api/revisions/38e1e5c3bb04?raw)
