Supaglue · API Governance Rules
Supaglue API Rules
Spectral linting rules defining API design standards and conventions for Supaglue.
10 Rules
warn 4
info 6
Rule Categories
supaglue
Rules
warn
supaglue-apikey-header-security
Supaglue APIs use x-api-key header authentication. All endpoints should define security with the ApiKeyAuth scheme.
$.paths[*][get,post,put,patch,delete]
info
supaglue-customer-id-header
Supaglue CRM, Engagement, and Ticketing API operations require a x-customer-id header to identify the customer context. Operations accessing customer data should document this parameter.
$.paths[*][get,post,put,patch,delete].parameters[*]
warn
supaglue-summaries-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
supaglue-operation-ids-camel-case
Operation IDs should use camelCase
$.paths[*][get,post,put,patch,delete].operationId
info
supaglue-provider-name-header
Supaglue CRM and Engagement APIs require x-provider-name header to route requests to the correct provider (e.g. salesforce, hubspot). Should be documented in operation parameters.
$.paths[*][get,post,put,patch,delete].parameters
info
supaglue-upsert-paths
Upsert operations use /_upsert subpath convention (e.g. /contacts/_upsert, /accounts/_upsert). These should use POST method.
$.paths[*~/_upsert].post
info
supaglue-search-paths
Search operations use /_search subpath convention (e.g. /contacts/_search). These should use POST method with a request body.
$.paths[*~/_search].post
warn
supaglue-info-contact
APIs must define contact information
$.info
info
supaglue-pagination-parameters
List endpoints should support cursor-based pagination. GET operations on collection resources should document pagination parameters.
$.paths[?(!@property.match(/_upsert|_search|_update|{.*}$/))].get.parameters
info
supaglue-400-error-response
Operations should document 400 Bad Request error responses
$.paths[*][get,post,put,patch,delete].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/supaglue-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.