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

# Create Chat Completion

`POST /v1/chat/completions/`

Create a new chat completion.

## Request body

- ChatCompletionRequest
  - `model` string, required
  - `messages` object[], required

## Response `200`

Successful Response

- ChatCompletionResponse
  - `choices` ChatChoice[]
    - `message` ChatMessage
      - `content` unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/wandb/apis/serverless-training.md) · [All operations](https://skmtc.net/wandb/apis/serverless-training/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/serverless-training/revisions/8d8d96fc0fd3/schema)
