Skip to content

REST API ​

The same endpoints the MCP server uses are public under /api/v1. Authenticate with the personal access token from Settings → MCP access, the one your editor already holds:

bash
curl https://c4.quietgridlabs.com/api/v1/projects \
  -H "Authorization: Bearer c4pat_…"

A token carries the scope you picked when you created it. read covers every GET; write is needed for anything that changes something, and a token without it is answered 403 insufficient_scope. Issue a Read only one for CI and dashboards — it cannot touch the model even if it leaks.

  • Every failure carries a code and a sentence: { "error": "not_found", "message": "…" }.
  • 600 requests per minute per token. Over it, 429 with Retry-After.
  • Collections that can grow take limit and cursor, and answer with next_cursor. Ask for neither and you get the list whole.
  • The unversioned /api paths are what this application calls and are free to change. Build against /api/v1.

Every endpoint, with its parameters and responses, is on the API reference.

That page reads the OpenAPI document at /api/v1/openapi.json — point a client generator at the same URL, or open it in any viewer you prefer.