Sync Labs · API Governance Rules
Sync Labs API Rules
Spectral linting rules defining API design standards and conventions for Sync Labs.
8 Rules
error 1
warn 5
info 1
Rule Categories
sync
Rules
warn
sync-labs-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
sync-labs-operation-has-operation-id
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
warn
sync-labs-api-key-auth
All operations should use API key authentication
$
info
sync-labs-v2-versioned-paths
API paths should use versioned base URL (/v2/)
$.servers[*].url
warn
sync-labs-async-status-field
Async generation responses must include a status field
$.components.schemas.GenerationResponse.properties
warn
sync-labs-error-response-defined
Operations should define error responses
$.paths[*][get,post,put,delete,patch].responses
warn
sync-labs-rate-limit-documented
Rate-limited endpoints should document 429 response
$.paths['/generate']['post'].responses
hint
sync-labs-webhook-url-format
Webhook URL parameters should use URI format
$.components.schemas.*.properties.webhook_url
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/sync-labs-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.