TensorDock · API Governance Rules
TensorDock API Rules
Spectral linting rules defining API design standards and conventions for TensorDock.
8 Rules
error 3
warn 5
Rule Categories
tensordock
Rules
warn
tensordock-operation-summary-title-case
TensorDock operation summaries should use Title Case.
$.paths[*][get,post,put,delete,patch].summary
error
tensordock-operation-id-camel-case
TensorDock operationIds must use lowerCamelCase.
$.paths[*][get,post,put,delete,patch].operationId
error
tensordock-tags-present
Every operation should have at least one tag.
$.paths[*][get,post,put,delete,patch]
warn
tensordock-paths-lower-kebab
TensorDock paths use lowercase segments and kebab-case for compound names.
$.paths.~
warn
tensordock-api-key-pair-security
Marketplace v0 endpoints must reference the ApiKeyPair security scheme.
$.paths[/api/v0/*].*
warn
tensordock-bearer-security-v2
v2 endpoints must reference the BearerAuth security scheme.
$.paths[/api/v2/*].*
error
tensordock-success-response
Every operation must define a 2xx response.
$.paths[*][get,post,put,delete,patch].responses
warn
tensordock-info-contact
TensorDock specs should set a contact email.
$.info.contact
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/tensordock-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.