API-ի տisղեկատվություն
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 |