Base URL
All endpoints are served from:Authentication
Every request must include your Maitai API key in theX-Maitai-Api-Key header.
Response format
All responses follow a consistent envelope:Pagination
Paginated endpoints acceptoffset and limit query parameters:
| Parameter | Default | Max | Description |
|---|---|---|---|
offset | 0 | — | Number of items to skip |
limit | 25 | 100 | Max items to return |
Resources
Use the sidebar to navigate to specific endpoints. Each resource section lists all available operations.Applications
Manage applications and their configuration.
Intents
Application actions nested under applications.
Intent Groups
Cross-application intent grouping.
Agents
Agents, actions, sub-agents, versions, releases, and routing.
Sentinels
Evaluation watchers for monitoring model output quality.
Sessions
Classic (non-agent) chat sessions.
Requests
Individual request/response pairs.
Datasets
Curated request sets for model training.
Test Sets
Curated request sets for model evaluation.
Test Runs
Test set execution and results.
Conversation Trees
Synthetic conversation flows.
Finetune Runs
Model finetuning jobs.
Evaluations
Evaluation runs and results.
Models
Available and finetuned models.