SearchStax · API Governance Rules
SearchStax API Rules
Spectral linting rules defining API design standards and conventions for SearchStax.
8 Rules
error 2
warn 4
info 2
Rule Categories
searchstax
Rules
warn
searchstax-operation-ids-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
error
searchstax-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
searchstax-summaries-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
searchstax-account-path-parameter
Deployment management paths must include account_name path parameter
$.paths['/api/rest/v2/account/{account_name}/*']
warn
searchstax-delete-responses
DELETE operations should return 204 No Content
$.paths[*][delete].responses
info
searchstax-post-response-201
POST create operations should return 201 Created
$.paths[*][post].responses
error
searchstax-token-auth
Operations should document authentication requirements
$.paths[*][*]
info
searchstax-path-parameters-kebab
Path parameters should use snake_case
$.paths[*][*].parameters[?(@.in=='path')].name
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/searchstax-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.