ข้ามไปยังเนื้อหา

REST API — ChatTemplates

เนื้อหานี้ยังไม่มีในภาษาของคุณ

Method Path What it does
GET /api/chat-templates List chat templates accessible to the current user.
POST /api/chat-templates Create a new chat template.
GET /api/chat-templates/registry Get available agents, tools, and capabilities for template configuration.
DELETE /api/chat-templates/{template_id} Delete a chat template.
GET /api/chat-templates/{template_id} Get a chat template by ID.
PATCH /api/chat-templates/{template_id} Update a chat template.
GET /api/chat-templates/{template_id}/embed-tokens List embed tokens for a chat template.
POST /api/chat-templates/{template_id}/embed-tokens Create an embed token for a chat template.
DELETE /api/chat-templates/{template_id}/embed-tokens/{token_id} Delete an embed token.
PATCH /api/chat-templates/{template_id}/embed-tokens/{token_id} Update an embed token.
GET /api/chat-templates/{template_id}/members List members of a chat template.
POST /api/chat-templates/{template_id}/members Invite a user to a chat template.
DELETE /api/chat-templates/{template_id}/members/{user_id} Remove a member from a chat template.
PATCH /api/chat-templates/{template_id}/members/{user_id} Update a member’s role.
DELETE /api/chat-templates/{template_id}/workflows/{workflow_id} Detach a workflow from a template.
POST /api/chat-templates/{template_id}/workflows/{workflow_id} Attach a workflow to a template.