API reference
API: Assistant
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /v1/agent/conversations | Your conversations with the assistant, newest activity first (web app only) | — |
| POST | /v1/agent/conversations | Start a conversation with the assistant (web app only) | — |
| GET | /v1/agent/conversations/:id | One page of a conversation (web app only) | — |
| PATCH | /v1/agent/conversations/:id | Rename, archive or bring back a conversation (web app only) | — |
| GET | /v1/agent/conversations/:id/events | A conversation's events as they happen (server-sent events, resumable) (web app only) | — |
| POST | /v1/agent/conversations/:id/messages | Send the assistant a message (web app only) | — |
| POST | /v1/agent/conversations/:id/stop | Stop: nothing new starts; a call already running finishes and is reported (web app only) | — |
| POST | /v1/agent/conversations/search | Look for your conversations by title (read only; the words stay out of the address) (web app only) | — |
| GET | /v1/assistant/settings | Whether the assistant is on for the business, and whether it can answer (web app only) | settings:read |
| PUT | /v1/assistant/settings | Turn the assistant on or off for the whole business (owners) (web app only) | settings:write |
| GET | /v1/assistant/use | How much of this month's allowance for the assistant is used (web app only) | trails:read |
Examples
Request and response schemas: https://www.tarnpath.com/openapi.json. All resources: API reference.