API 参考
assistant
此区域有 6 个端点。每个端点都有自己的页面,包含其参数、响应以及您可以运行的请求。
| 方法 | 路径 | 功能说明 | 权限 |
|---|---|---|---|
| GET | /v1/assistant/conversations | List your own assistant conversations. | tickets.reply |
| POST | /v1/assistant/conversations | Start a new assistant conversation. | tickets.reply |
| DELETE | /v1/assistant/conversations/{conversationId} | Delete a conversation and everything in it. | — |
| GET | /v1/assistant/conversations/{conversationId} | Read one conversation with its full thread. | — |
| POST | /v1/assistant/conversations/{conversationId}/escalate | Turn a conversation into a support ticket. | tickets.reply |
| POST | /v1/assistant/conversations/{conversationId}/messages | Ask the assistant a question and get its answer. | tickets.reply |