Chat
Chat by text with a published agent from your own app or site: create the chat, send messages and get the agent's reply in the same request.
The agent uses the same instructions, knowledge and actions as on calls. Available once Diska switches API chat on for the organization.
| Method | Endpoint | Description | Scope |
|---|---|---|---|
POST | /v1/chats | Create a chat | chats:write |
POST | /v1/chats/{chat_id}/messages | Send a message | chats:write |
GET | /v1/chats/{chat_id} | Get a chat | chats:write |
GET | /v1/chats | List chats | chats:write |
POST | /v1/chats/{chat_id}/end | End a chat | chats:write |

