Streamlit · API Governance Rules
Streamlit API Rules
Spectral linting rules defining API design standards and conventions for Streamlit.
8 Rules
error 2
warn 4
info 2
Rule Categories
streamlit
Rules
warn
streamlit-operation-ids-camel-case
Streamlit Cloud API operationIds use camelCase (e.g., listApps, deployApp, getApp, restartApp).
$.paths[*][*].operationId
warn
streamlit-tags-title-case
All OpenAPI tags must use Title Case (e.g., 'Apps', 'Secrets', 'Workspaces').
$.tags[*].name
warn
streamlit-bearer-auth
All Streamlit Cloud API endpoints require Bearer token authentication.
$.components.securitySchemes
warn
streamlit-app-id-path-param
App-specific endpoints use appId as the path parameter name for the application identifier.
$.paths['/apps/{appId}'][*].parameters[*]
error
streamlit-secrets-never-returned
The Streamlit Cloud API never returns secret values, only key names. Security review: verify no secret values appear in response schemas.
$.paths['/apps/{appId}/secrets'][get].responses['200'].content['application/json'].schema
info
streamlit-delete-returns-204
DELETE operations in Streamlit Cloud API return 204 No Content on successful deletion.
$.paths[*][delete].responses
error
streamlit-operation-summaries-present
All operations must have a summary.
$.paths[*][get,post,put,delete,patch]
info
streamlit-pagination-consistent
List endpoints should support consistent pagination parameters (page and per_page).
$.paths['/apps'][get].parameters[*].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/streamlit-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.