---
title: "Two-phase chat completion (JSON response)"
method: POST
path: "/v1/chat/completions"
---

# Two-phase chat completion (JSON response)

`POST /v1/chat/completions`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/faremeter/apis/golden-file-test-spec/docs/v1/chat/completions/post.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Chat completion

- object

---

[API](https://skmtc.dev/faremeter/apis/golden-file-test-spec.md) - [All operations](https://skmtc.dev/faremeter/apis/golden-file-test-spec/llms.txt) - [OpenAPI document](https://skmtc.dev/faremeter/apis/golden-file-test-spec/revisions/dd7d2fd68efd?raw)
