Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Azure's API. It is a proposal applied on top of the contract, not a document Microsoft Azure publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Microsoft Azure Azure Cosmos DB REST Stored Procedures API
version: 1.0.0
extends: openapi/_superseded/microsoft-azure-stored-procedures-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 2
- target: $.paths['/dbs/{databaseId}/colls/{containerId}/sprocs'].get
update:
x-apievangelist-phrasing:
intent: List stored procedures in a container
effect: read
questions:
- Which stored procedures exist in my Cosmos DB container?
- Can I list the server-side scripts registered on one container?
instructions:
- text: List stored procedures in container {container} of database {database}.
slots:
container: path.containerId
database: path.databaseId
- text: Show the stored procedures of container {container} in database {database} using API version {version}.
slots:
container: path.containerId
database: path.databaseId
version: header.x-ms-version
method: generated
generated: '2026-09-26'
- target: $.paths['/dbs/{databaseId}/colls/{containerId}/sprocs'].post
update:
x-apievangelist-phrasing:
intent: Create a stored procedure in a container
effect: write
questions:
- How do I add a new stored procedure to a Cosmos DB container?
- What do I send as the body when registering a stored procedure script?
instructions:
- text: Create stored procedure {id} with script {script} in container {container} of database {database}.
slots:
id: requestBody.id
script: requestBody.body
container: path.containerId
database: path.databaseId
- text: Register sproc {id} running {script} on container {container}, database {database}, API version {version}.
slots:
id: requestBody.id
script: requestBody.body
container: path.containerId
database: path.databaseId
version: header.x-ms-version
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.