@supermodeltools/openapi-spec
v0.4.3
Published
Supermodel Public OpenAPI Specification
Downloads
789
Maintainers
Readme
Supermodel OpenAPI Specification
OpenAPI 3.0 specification for the Supermodel API - code graphing and static analysis.
Install
npm install @supermodeltools/openapi-specThe spec is available at node_modules/@supermodeltools/openapi-spec/openapi.yaml.
Endpoints
| 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.
Authentication
Requests require an API key via X-Api-Key header. Get your key from the Supermodel Dashboard.
