---
title: "continue"
method: POST
path: "/api/chats/{id}/continue"
tags: ["Chat"]
---

# continue

`POST /api/chats/{id}/continue`

## Path parameters

- `id` string, required

## Request body

- object
  - `input` string
  - `inputParams` object
    - `foo` string
    - `var1` string
    - `var2` integer
    - `var3` string[]
  - `attachments` object[]
    - `binaryBase64` string, required
    - `contentType` string, required
    - `inputFieldName` string, nullable

## Response `200`

POST /api/chats/:id/continue embeds prompt template variables

## Other responses

- `403` — returns 403
- `404` — returns 404
- `422` — POST /api/chats/:id/continue rejects setting both input and inputParams
- `429` — returns a 429 status with the correct error message and headers

---

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