Tetrate · API Governance Rules
Tetrate API Rules
Spectral linting rules defining API design standards and conventions for Tetrate.
9 Rules
error 2
warn 6
info 1
Rule Categories
tsb
Rules
error
tsb-path-version-prefix
All TSB REST API paths must start with /v2/
$.paths[*]~
warn
tsb-org-scoped-paths
Organization-scoped resources must include {organization} path parameter
$.paths[?(@property.startsWith('/v2/organizations/'))]
warn
tsb-operation-id-camel-case
All operationIds must be camelCase
$.paths[*][*].operationId
warn
tsb-200-content-type-json
Successful responses must return application/json content type
$.paths[*][get,post,put].responses.200
warn
tsb-delete-no-body
DELETE operations should not have a request body
$.paths[*].delete
warn
tsb-schema-description
All named schemas must have a description
$.components.schemas[*]
error
tsb-security-on-mutations
POST, PUT, DELETE operations must have security defined
$.paths[*][post,put,delete]
warn
tsb-tags-title-case
Tags must use Title Case format
$.paths[*][*].tags[*]
info
tsb-list-returns-array
List operations (operationId starting with 'list') must return an array property
$.paths[*].get[?(@.operationId && @.operationId.startsWith('list'))]
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/tetrate-service-bridge-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.