The AYETO API lets your application do what a user does in the AYETO app: chat with models and assistants, read and manage conversations, run workflows, decide workflow approvals and work with booster panel databases. Every request acts as the user who owns the API key, with that user's permissions and credits.
Base URL
All endpoints live under one base URL:
https://ayeto.ai/api/v3
The API is versioned in the path. Version 3 is the API for integrations; other
paths you may see in the AYETO app (such as /api/v1) are internal to the app and
can change without notice.
How the API is shaped
- RPC over POST. Almost every endpoint is a
POSTwith a JSON body, named after what it does:/conversation/find,/conversation/count,/workflow/run. There are noGET /resource/{id}orDELETEroutes. See Requests. - API key authentication. Send the key in the
uni-api-keyheader. Each key carries scopes that decide which endpoints it may call. See Authentication. - Lists are queried with one body shape.
findandcountendpoints take filters, sorting and paging in the body. See Querying lists. - Errors are JSON of the form
{"detail": "..."}with a meaningful HTTP status. See Errors. - Long answers stream. Chat answers and workflow runs can be streamed as they are produced. See Streaming.
Quick start
-
In the AYETO app open Profile → API keys, create a key with the AYETO chat scope and copy it. The key is shown only once.
-
Keep it in an environment variable:
bashexport AYETO_API_KEY="ayeto-..." -
Ask a model a question:
bashcurl -X POST "https://ayeto.ai/api/v3/chat" \ -H "uni-api-key: $AYETO_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "gpt-5-mini", "message": "Summarize the benefits of unit tests in three bullet points."}'The answer comes back as a message object; its
contentis Markdown. To continue a conversation, generate a UUID yourself, send it asconversation_idwith the first message and again with every follow-up (see Chat). The model ids you can use are listed by/ai_model/get_all.
What to read next
| Page | What it covers |
|---|---|
| Authentication | API keys, scopes, authentication errors |
| Conventions | Request shape, common fields, filters, paging, errors, rate limits |
| Streaming | Reading streamed chat answers |
| Chat | Sending messages to models and assistants |
| Conversations | Listing, reading and deleting conversations |
| Assistants | Listing assistants and their avatars |
| Models and tools | The AI models and tools available to the key's user |
| Workflows | Running, editing and publishing workflows, approvals, webhooks |
| Booster database | Records in booster panel databases |
| Account | Credits, organization membership, usage cost, API version |
| Files and media | Extracting text from files, text to speech |
| Changelog | Changes to the API |