Salesforce Sales Cloud · API Governance Rules
Salesforce Sales Cloud API Rules
Spectral linting rules defining API design standards and conventions for Salesforce Sales Cloud.
10 Rules
error 5
warn 4
info 1
Rule Categories
salesforce
Rules
warn
salesforce-sc-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
salesforce-sc-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][*].operationId
warn
salesforce-sc-tags-title-case
All tags must use Title Case
$.paths[*][*].tags[*]
error
salesforce-sc-response-200-description
All 200 responses must have a description
$.paths[*][*].responses['200']
error
salesforce-sc-contact-required
API info must include contact details
$.info
error
salesforce-sc-version-required
API info must include a version
$.info
error
salesforce-sc-servers-required
API must define at least one server
$
error
salesforce-sc-security-defined
API must define security requirements
$
info
salesforce-sc-sobject-paths-lowercase
sObject paths should use standard Salesforce casing conventions
$.paths[*]~
warn
salesforce-sc-bulk-job-content-type
Bulk API job creation should accept application/json
$.paths./jobs/ingest.post.requestBody.content
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/salesforce-sales-cloud-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.