OpenAPI 3.0 specification for the Supermodel API - code graphing and static analysis.
npm install @supermodeltools/openapi-specThe spec is available at node_modules/@supermodeltools/openapi-spec/openapi.yaml.
| Method | Path | Description |
|---|---|---|
| POST | /v1/graphs/dependency |
File-level dependency graph |
| POST | /v1/graphs/call |
Function-level call graph |
| POST | /v1/graphs/domain |
Domain model classification |
| POST | /v1/graphs/parse |
AST parse tree relationships |
| POST | /v1/graphs/supermodel |
Full Supermodel IR bundle |
All endpoints accept a zipped repository snapshot and return graph data as JSON.
Requests require an API key via X-Api-Key header. Get your key from the Supermodel Dashboard.