Synapse · API Governance Rules
Synapse API Rules
Spectral linting rules defining API design standards and conventions for Synapse.
8 Rules
error 2
warn 4
Rule Categories
synapse
Rules
warn
synapse-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
synapse-operation-has-operation-id
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
warn
synapse-matrix-path-prefix
Admin API paths should be prefixed with /v1/ or /v2/
$.paths
warn
synapse-bearer-auth-required
All Admin API operations require Bearer token authentication
$.paths[*][get,post,put,delete,patch]
warn
synapse-error-response-defined
Operations should define error responses
$.paths[*][get,post,put,delete,patch].responses
hint
synapse-matrix-user-id-format
Matrix user IDs should follow @localpart:domain format
$.components.schemas.*.properties.name
hint
synapse-pagination-token
List operations should support pagination parameters
$.paths[*][get].parameters[?(@.name == 'limit')]
error
synapse-response-200-defined
All operations must define a success response
$.paths[*][get,post,put,delete,patch].responses
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/synapse-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.