---
title: "对话恢复"
method: POST
path: "/v1/app/{app_key}/chat/resume"
tags: ["对话"]
---

# 对话恢复

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

## Request

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

恢复之前的对话会话

## Path parameters

- `app_key` string, required

## Request body

- SwaggerResumeReq
  - `conversation_id` string, required: 会话ID

## Response `200`

OK

## Other responses

- `400`: 请求参数错误
- `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)
