Base URL
/api/v1/public. Open protocols (/mcp/projects/:projectId, /a2a/projects/:projectId) are root-level.
Endpoints
Conventions
- JSON everywhere; chat responses stream Server-Sent Events.
- Restricted documents are always excluded from public-API retrieval.
group_ids— chat, search, form-deflect, and WebSocket requests accept an optionalgroup_idsarray to scope retrieval to source groups. The server intersects it with the client key’sallowed_groups: requests can narrow but never widen. Group IDs must belong to the project and the key’s allowed set, otherwise the request fails with403.
Errors
Standard envelope with an appropriate HTTP status:429 with a Retry-After header.
Local development
Every endpoint is available on a locally-run API server athttp://localhost:8280 (WebSocket: ws://localhost:8280). All SDKs accept a baseUrl override.