API Reference
Start a graph-only run
Run cgr and nothing else — no chunking, descriptions, embedding or Weaviate.
POST
/instances/graphadmin, userEnqueue a graph-only run as a background job. Stages go straight cgr → done; result.ingest.output_json is the same canonical graph JSON path the full pipeline produces, readable immediately by the Graph API.
No descriptor pre-flight — this can run without Ollama or Weaviate at all. Shares the same per-project job lock as the pipeline.
Body
repo_pathstringrequiredAbsolute path to the repository to graph.
Request
cURL
bash
curl -X POST localhost:8000/instances/graph \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"repo_path":"/absolute/path/to/your/repo"}'dokkai CLI
bash
dokkai graph /absolute/path/to/your/repo --out graph.jsonResponses
200Job accepted and queued
json
{ "job_id": "...", "status": "queued" }409A job is already running for this project
json
{ "detail": "another job is running for project 'your-repo'" }