---
title: "终止对话"
method: POST
path: "/v1/app/{app_key}/chat/termination"
tags: ["对话"]
---

# 终止对话

`POST /v1/app/{app_key}/chat/termination`

## Request

- Base URL: `https://localhost:30777/api/agent-factory`
- URL: `https://localhost:30777/api/agent-factory/v1/app/{app_key}/chat/termination`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kweaver-ai/apis/agent-factory-api/docs/v1/app/:app_key/chat/termination/post.ts> (a function with typed inputs; its response is checked against the schema)

终止对话

## Path parameters

- `app_key` string, required

## Request body

- object

## Response `204`

成功

- object

## Other responses

- `400`: 失败
- `404`: 失败
- `500`: 失败

---

[API](https://skmtc.dev/kweaver-ai/apis/agent-factory-api.md) - [All operations](https://skmtc.dev/kweaver-ai/apis/agent-factory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kweaver-ai/apis/agent-factory-api/revisions/94c8acc695b9?raw)
