GET
/api/v1/graph
Serialized Engineering Graph: nodes, edges, and stats.
Helix API
The same Engineering Graph the workspace uses is available over HTTP. API Ask reconstructs an answer from that graph. The workspace Ask path may also use a language model when you are signed in. Create a key in Settings.

01 / Auth
Send the key as a Bearer token. Signed-in sessions work without a key for interactive use. Keys are hashed at rest.
Authorization: Bearer hx_live_…
02 / Endpoints
Pass ?sample=1 to read the demo graph, or ?repository=owner/name for a saved index.
GET
/api/v1/graph
Serialized Engineering Graph: nodes, edges, and stats.
GET
/api/v1/insights
Pulse: hot files, silos, experts, coupling, architecture.
GET
/api/v1/search?q=
Search people, files, directories, and pull requests.
POST
/api/v1/ask
Ask a natural-language question. Cited answer from the graph.
GET
/api/v1/review?number=
Helix Review: readiness, missing evidence, and recommended actions.
POST
/api/v1/review
Same as GET. Pass { number, post: true } to update the pull-request comment.
GET
/api/v1/usage
Remaining quota for the calling key.
03 / Ask
API Ask is deterministic graph QA. It does not call a language model. Response includes answer, citations, and followUps. GET with ?q= is accepted for the same route. Server-to-server only. No CORS.
curl -s /api/v1/ask \
-H "Authorization: Bearer hx_live_…" \
-H "Content-Type: application/json" \
-d '{"question":"Who owns src?"}'04 / Helix Review
Evaluates ship readiness from change impact, ownership, GitHub checks, operational paths, and evidence coverage. Helix fills a review template from the live PR and indexed history, then keeps one marked PR comment updated as evidence changes. Auto-review is on once a GitHub token is saved; turn it off in Settings.
curl -s "/api/v1/review?number=41&sample=1" \ -H "Authorization: Bearer hx_live_…"
POST with { "number": 41, "post": true } updates one marked Helix comment on the pull request and publishes the helix/readiness commit status. The workspace shows the same report. The sample graph cannot post.
05 / Webhooks
Each workspace has a unique webhook URL and secret in Settings. Add a repository webhook for pull request events, content type JSON, using that secret. Helix handles ping, then opened, synchronize, reopened, and ready_for_review, skipping drafts and closed PRs. It inspects the PR, fills the template, and updates the existing Helix Review comment.
POST /api/hooks/{id}
X-Hub-Signature-256: sha256=…
X-GitHub-Event: pull_requestInvalid signatures return 401. Unknown ids return 404. Budget, missing graph, and disabled auto-review acknowledge the delivery and skip the review. GitHub must be able to reach the deployed Helix workspace.
06 / Graph model
Nodes and edges are the product. Not a bag of files. A living memory of how the software evolved.
Nodes
Relationships
07 / Budgets
Burst is per minute; volume is per UTC day. Over quota returns 429. Upgrade on the pricing page.
| Plan | Per day | Per minute | Ask Helix | Reviews / day |
|---|---|---|---|---|
| Explorer | 100 | 10 | 5 | 10 |
| Team | 2,000 | 60 | Unlimited | 200 |
| Scale | 20,000 | 300 | Unlimited | 2,000 |
401
Missing or unknown key.
404
No saved graph for that repository, or unknown path.
429
Daily or per-minute budget exceeded. Headers: X-RateLimit-Limit, Remaining, Reset.