API Reference
The Miteos API lets you create tasks, manage agents, connect integrations, and access all platform features programmatically.
Base URL
All endpoints are relative to this base URL. For example, creating a task is POST https://api.miteos.com/tasks.
Authentication
All requests require an API key sent as a Bearer token in the Authorization header:
Getting an API Key
- Go to platform.miteos.com/api-keys
- Click “Create Key”
- Name it and select scopes (permissions)
- Copy the key — it’s only shown once
Keys are prefixed with mk_ and should be kept secret.
Using the Playground
On each endpoint page, enter your API key in the Authorization field at the top. The Bearer prefix is added automatically. Click Send to make a live request.
If you get “CSRF token missing”, you forgot to enter your API key. The API key bypasses CSRF protection — without it, the request is treated as an unauthenticated browser request.
Rate Limits
- 60 requests per minute per key
- Burst: 10 concurrent requests
- Headers:
X-RateLimit-Limit, X-RateLimit-Remaining
Errors
All errors return JSON with a detail field:
WebSocket (Real-time)
Stream agent events in real-time:
After connecting, authenticate with: {"type": "auth", "token": "mk_your_api_key"}