Version
1.0.0
API Reference
Machine-safe endpoints for external agents to inspect templates, graph state, validation results, and sanitized export previews. No write endpoints exist under /api/v1.
1.0.0
Yes
/api/v1
| Method | Path | Purpose | Notes |
|---|---|---|---|
GET | /api/v1 | API index with version, docs pointers, and endpoint list | - |
GET | /api/v1/openapi | OpenAPI 3.1 spec for the read-only API | - |
GET | /api/v1/docs | Complete docs bundle for external agent clients | - |
GET | /api/v1/docs/markdown | Markdown quick-reference for API consumers | - |
GET | /api/v1/packs/templates | List available pack templates with summary metadata | - |
GET | /api/v1/packs/{id}/graph | Read pack graph (atoms + edges) with sensitive setting values redacted | Setting env values are always redacted in this endpoint. |
GET | /api/v1/packs/{id}/validate | Run graph validation plus Claude export compliance checks | - |
GET | /api/v1/packs/{id}/export/preview | Read export manifest with .claude/settings.json and .mcp.json secrets redacted | - |
curl -s http://localhost:3000/api/v1 | jq
curl -s http://localhost:3000/api/v1/docs | jq
curl -s http://localhost:3000/api/v1/packs/00000000-0000-0000-0000-000000000000/graph | jq
curl -s http://localhost:3000/api/v1/packs/00000000-0000-0000-0000-000000000000/validate | jq
curl -s http://localhost:3000/api/v1/packs/00000000-0000-0000-0000-000000000000/export/preview | jq
Replace 00000000-0000-0000-0000-000000000000 with an actual team ID (pack ID) from your workspace.
Need product-level guidance and workflow docs? See /docs.