---
title: "Batch Chat Completion"
method: POST
path: "/batch/chat/completions"
tags: ["batched_prompts"]
---

# Batch Chat Completion

`POST /batch/chat/completions`

Predict on a batch of prompts

## Request body

- BatchChatCompletionRequest
  - `model` string, required
  - `adaptor` string, nullable
  - `api_key` string, nullable
  - `temperature` number
  - `max_tokens` integer
  - `top_p` number
  - `batch_size` integer
  - `inference_url` string
  - `messages` array[], required
    - object[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/transformerlab/apis/transformerlab-api.md) · [All operations](https://skmtc.net/transformerlab/apis/transformerlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/transformerlab/transformerlab-api/revisions/44da5f6e34ca/schema)
