Generated by API Evangelist
Written by API Evangelist tooling for Cockroach Labs's API. It is a proposal applied on top of the contract, not a document Cockroach Labs publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for CockroachDB Cloud Maintenance Windows API
version: 1.0.0
extends: openapi/cockroach-labs-maintenance-windows-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-24'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v1/clusters/{cluster_id}/maintenance-window'].get
update:
x-apievangelist-phrasing:
intent: Get a cluster's maintenance window
effect: read
questions:
- When is the maintenance window scheduled for my cluster?
- Can I check the maintenance window for a single cluster?
instructions:
- text: Show the maintenance window for cluster {cluster_id}.
slots:
cluster_id: path.cluster_id
- text: Get the scheduled maintenance window of cluster {cluster_id}.
slots:
cluster_id: path.cluster_id
method: generated
generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/maintenance-window'].put
update:
x-apievangelist-phrasing:
intent: Set a cluster's maintenance window
effect: write
questions:
- How do I schedule maintenance for my cluster?
- Can I set a maintenance window that lasts a specific number of hours?
instructions:
- text: Set the maintenance window for cluster {cluster_id} to start {offset_duration} after the week begins and last {window_duration}.
slots:
cluster_id: path.cluster_id
offset_duration: requestBody.offset_duration
window_duration: requestBody.window_duration
- text: Schedule maintenance on cluster {cluster_id} from {offset_duration} into the week for {window_duration}.
slots:
cluster_id: path.cluster_id
offset_duration: requestBody.offset_duration
window_duration: requestBody.window_duration
method: generated
generated: '2026-11-24'
- target: $.paths['/api/v1/clusters/{cluster_id}/maintenance-window'].delete
update:
x-apievangelist-phrasing:
intent: Remove a cluster's maintenance window
effect: destructive
questions:
- How do I remove the maintenance window from a cluster?
- Can I clear the maintenance window so upgrades run at any time?
instructions:
- text: Delete the maintenance window for cluster {cluster_id}.
slots:
cluster_id: path.cluster_id
- text: Remove the scheduled maintenance window from cluster {cluster_id}.
slots:
cluster_id: path.cluster_id
method: generated
generated: '2026-11-24'
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.