Tesla Motors · API Governance Rules
Tesla Motors API Rules
Spectral linting rules defining API design standards and conventions for Tesla Motors.
7 Rules
error 1
warn 5
info 1
Rule Categories
tesla
Rules
error
tesla-operation-ids-present
All operations must have operationId defined
$.paths.*[get,post,put,patch,delete]
warn
tesla-operation-id-pascal-case
Operation IDs should use PascalCase
$.paths.*[get,post,put,patch,delete].operationId
warn
tesla-bearer-auth
Tesla API uses bearer token authentication
$.components.securitySchemes.*
warn
tesla-tags-required
Each operation should have at least one tag
$.paths.*[get,post,put,patch,delete]
info
tesla-vehicle-id-path-param
Vehicle endpoints should use vehicle_id path parameter
$.paths./api/1/vehicles/*
warn
tesla-summaries-title-case
Operation summaries should use Title Case
$.paths.*[get,post,put,patch,delete].summary
warn
tesla-response-200
Operations should define a 200 response
$.paths.*[get,post]
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/tesla-motors-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.