Base URL
localhost:3030 with your server address.
Authentication
All API requests require authentication using a Bearer token in the Authorization header:API Groups
AI
Manage AI providers, models, and configurations
Chat
OpenAI-compatible chat completions and streaming
Projects
Create and manage agent projects
Knowledge
Upload, search, and manage knowledge bases
MCP
Configure Model Context Protocol servers
Tools
Create and execute custom tools
Credentials
Manage API keys and provider credentials
Prompts
Store and manage reusable prompts
OpenAI Compatibility
GAIA AI implements OpenAI-compatible endpoints, allowing you to use existing OpenAI SDKs:Rate Limits
Currently, GAIA AI does not enforce rate limits when self-hosted. For production deployments, consider implementing rate limiting at your reverse proxy or load balancer level.Error Handling
All endpoints return standard HTTP status codes:| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Resource doesn’t exist |
| 500 | Internal Server Error |

