Authentication
Include your API key in headers:Chat Completion
Streaming
Setup
Start GAIA in headless mode:http://localhost:3000 with no UI, just API endpoints.
Authentication
Get your API key:Basic Usage
1. Create a Project (Agent)
2. Add Knowledge
3. Chat with OpenAI SDK
Why Headless?
- Backend integration - Use GAIA in your server
- Custom UIs - Build your own interface
- Microservices - Deploy as part of your architecture
- API-first - Everything configurable via API
Other Operations
- Upload Knowledge:
POST /api/knowledge/upload - Create Tools:
POST /api/tools/create - Add MCP Servers:
POST /api/mcp/add-server - Manage Projects:
POST /api/projects/create

