Heidi Health · API Governance Rules
Heidi Health API Rules
Spectral linting rules defining API design standards and conventions for Heidi Health.
8 Rules
error 3
warn 5
Rule Categories
heidi
Rules
error
heidi-base-url
Servers must include the canonical registrar.api.heidihealth.com production base URL.
$.servers[*].url
warn
heidi-bearer-auth-required
Operations other than /jwt must use bearer auth.
$.paths[?(@property != '/jwt')][*].security
error
heidi-api-key-on-jwt
GET /jwt must be secured with the Heidi-Api-Key header scheme.
$.paths['/jwt'].get.security
warn
heidi-title-case-summary
Operation summaries must be in Title Case.
$.paths[*][*].summary
error
heidi-session-id-path-parameter
Session-scoped paths must use {session_id} as the path parameter name.
$.paths[?(@property =~ /\/sessions\/.*/)]
warn
heidi-content-type-enum
content_type fields must restrict to MARKDOWN or HTML.
$..[?(@property == 'content_type')].enum
warn
heidi-voice-style-enum
voice_style fields must use the documented Heidi enum.
$..[?(@property == 'voice_style')].enum
warn
heidi-brain-enum
brain fields must be LEFT or RIGHT.
$..[?(@property == 'brain')].enum
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/heidi-health-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.