---
name: planetscale-api
description: "PlanetScale API skill. Use when working with PlanetScale for organizations, postgres-versions, regions. Covers 306 endpoints."
version: 1.0.0
generator: lapsh
---

# PlanetScale API
API version: v1

## Auth
OAuth2 | ApiKey Authorization in header

## Base URL
https://api.planetscale.com/v1

## Setup
1. Set your API key in the appropriate header
2. GET /organizations -- list organizations
3. POST /organizations/{organization}/billing/payment-method-setups -- create first payment-method-setup

## Endpoints
306 endpoints across 4 groups. See references/api-spec.lap for full details.

### Organizations
| Method | Path | Description |
|--------|------|-------------|
| GET | /organizations | List organizations |
| GET | /organizations/{organization} | Get an organization |
| PATCH | /organizations/{organization} | Update an organization |
| GET | /organizations/{organization}/audit-log | List audit logs |
| GET | /organizations/{organization}/billing/payment-method | Get the current billing payment method |
| DELETE | /organizations/{organization}/billing/payment-method | Delete the current billing payment method |
| POST | /organizations/{organization}/billing/payment-method-setups | Create a billing payment method setup |
| GET | /organizations/{organization}/billing/payment-method-setups/{id} | Get a billing payment method setup |
| GET | /organizations/{organization}/cluster-size-skus | List available cluster sizes |
| POST | /organizations/{organization}/database-subscriptions | Subscribe to every database's weekly report |
| DELETE | /organizations/{organization}/database-subscriptions | Unsubscribe from every database's weekly report |
| GET | /organizations/{organization}/databases | List databases |
| POST | /organizations/{organization}/databases | Create a database |
| GET | /organizations/{organization}/databases/{database} | Get a database |
| PATCH | /organizations/{organization}/databases/{database} | Update database settings |
| DELETE | /organizations/{organization}/databases/{database} | Delete a database |
| GET | /organizations/{organization}/databases/{database}/backup-policies | List backup policies |
| POST | /organizations/{organization}/databases/{database}/backup-policies | Create a backup policy |
| GET | /organizations/{organization}/databases/{database}/backup-policies/{id} | Get a backup policy |
| PATCH | /organizations/{organization}/databases/{database}/backup-policies/{id} | Update a backup policy |
| DELETE | /organizations/{organization}/databases/{database}/backup-policies/{id} | Delete a backup policy |
| GET | /organizations/{organization}/databases/{database}/branches | List branches |
| POST | /organizations/{organization}/databases/{database}/branches | Create a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch} | Get a branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch} | Update a branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch} | Delete a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin | Get the admin for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/admin | Update the admin for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin-size-skus | List admin size SKUs for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests | List change requests for a Neki admin |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id} | Get a change request for a Neki admin |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id} | Cancel a change request for a Neki admin |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin/parameters | List parameters for a Neki admin |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/backups | List backups |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/backups | Create a backup |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id} | Get a backup |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id} | Update a backup |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id} | Delete a backup |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/bouncer-resizes | Get bouncer resize requests |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers | List bouncers |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers | Create a bouncer |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer} | Get a bouncer |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer} | Delete a bouncer |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}/resizes | Get bouncer resize requests |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}/resizes | Upsert a bouncer resize request |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}/resizes | Cancel a resize request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/change-requests | List change requests for a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/change-requests/{id} | Get a change request for a branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/change-requests/{id} | Cancel a change request for a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/changes | Get branch change requests |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/changes | Upsert a change request for cluster size, replicas, storage, or parameters |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/changes/{id} | Get a branch change request |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/cluster | Change a branch cluster configuration |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/config-changes | List branch config change requests |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/config-changes | Create a branch config change request |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/submit | Submit draft config change requests |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/{id} | Get a branch config change request |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/{id} | Cancel a draft or pending branch config change request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles | List configuration profiles for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles | Create a configuration profile for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/maintenance | Run maintenance for selected Neki configuration profiles |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Get a configuration profile for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Update a configuration profile for a Neki branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Delete a configuration profile for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests | List change requests for a Neki configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests/{id} | Get a change request for a Neki configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests/{id} | Cancel a change request for a Neki configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/duplicate | Duplicate a configuration profile for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions | List extensions for a Neki configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/maintenance | Run maintenance for a Neki configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/parameters | List parameters for a Neki configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | List shards for a Neki configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Add a shard to a Neki configuration profile |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Assign shards to a Neki configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Remove shards from a Neki configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/bulk | Add shards to a Neki configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Get a shard in a Neki configuration profile |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Update a shard in a Neki configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Remove a shard from a Neki configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/data-topology | Get the data topology for a Neki branch |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/data-topology | Set the data topology for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replica-changes | Get dedicated read replica change requests |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas | List dedicated read replicas |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas | Create a dedicated read replica |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica} | Get a dedicated read replica |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica} | Update a dedicated read replica |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica} | Delete a dedicated read replica |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile | Get the default configuration profile for a Neki branch |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile | Set the default configuration profile for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/demote | Demote a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/extensions | List cluster extensions |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights | List branch queries |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs | List Insights Agent runs |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs | Create an Insights Agent run |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number} | Get an Insights Agent run |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}/cancel | Cancel an Insights Agent run |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}/feedback | Get your Insights Agent run feedback |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}/feedback | Rate an Insights Agent run |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/schedules | List Insights Agent schedules |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/schedules/{run_type} | Update an Insights Agent schedule |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies | List branch anomalies |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies/{id} | Retrieve a branch anomaly |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/errors | List branch query errors |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/errors/{fingerprint} | List queries for an error fingerprint |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/queries/{id} | Retrieve a branch query |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags | List query tags |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags/summaries | List query statistics grouped by tag |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags/{tag} | Retrieve a query tag |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint} | Retrieve query statistics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint}/summary | Retrieve a summary of query statistics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint}/traffic/budgets | List traffic budgets affecting a query fingerprint |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces | Get keyspaces |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces | Create a keyspace |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace} | Get a keyspace |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace} | Configure keyspace settings |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace} | Delete a keyspace |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/config-changes | List keyspace config change requests |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/config-changes | Create a keyspace config change request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/config-changes/{id} | Get a keyspace config change request |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/config-changes/{id} | Cancel a draft or pending keyspace config change request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes | Get keyspace resize requests |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes | Upsert a resize request |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes | Cancel a resize request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes/{id} | Get a keyspace resize request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/rollout-status | Get keyspace rollout status |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/vschema | Get the VSchema for the keyspace |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/vschema | Update the VSchema for the keyspace |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/logs/signatures | Create a log signature |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/maintenance | Run maintenance for a Postgres branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/maintenance-window | Get a branch's maintenance window |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/maintenance-window | Update a branch's maintenance window |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics | Get time-series metrics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/instant | Get current metric values |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/keyspace-tables | Get table storage metrics by keyspace |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/query | Get time-series metrics for SQL queries |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tables | Get table storage metrics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tablets | Get time-series tablet metrics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tablets-instant | Get current tablet metrics |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tag | Get time-series metrics grouped by query tags |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/list-workflows | Start listing MoveTables workflows |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows | List MoveTables workflows |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows | Create a MoveTables workflow |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow} | Show MoveTables workflow details |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/cancel | Cancel a MoveTables workflow |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/complete | Complete a MoveTables workflow |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/reverse-traffic | Reverse traffic back to the source keyspace |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/start | Start a MoveTables workflow |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/status | Show MoveTables workflow status |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/stop | Stop a MoveTables workflow |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/switch-traffic | Switch traffic to the target keyspace |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes | List change requests for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id} | Get a change request for a Neki branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id} | Cancel a change request for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/parameters | List cluster parameters |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/passwords | List passwords |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/passwords | Create a password |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id} | Get a password |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id} | Update a password |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id} | Delete a password |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id}/renew | Renew a password |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/promote | Promote a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns | List generated query patterns reports |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns | Create a new query patterns report |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id} | Show the status of a query patterns report |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id} | Delete a query patterns report |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id}/download | Download a finished query patterns report |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/resizes | Cancel a change request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/resizes | Get branch resize requests |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/resizes | Upsert a resize request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/resizes/{resize} | Get a branch resize request |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/roles | List roles |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/roles | Create role credentials |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/roles/default | Get the default postgres role |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/roles/reset-default | Reset default credentials |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id} | Get a role |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id} | Update role name |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id} | Delete role credentials |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reassign | Reassign objects owned by one role to another role |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/renew | Renew role expiration |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reset | Reset a role's password |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/router-size-skus | List router size SKUs for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers | List routers for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/routers | Create a router for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router} | Get a router for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router} | Update a router for a Neki branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router} | Delete a router from a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests | List change requests for a Neki router |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests/{id} | Get a change request for a Neki router |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests/{id} | Cancel a change request for a Neki router |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/parameters | List parameters for a Neki router |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/safe-migrations | Enable safe migrations for a branch |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/safe-migrations | Update safe migrations for a branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/safe-migrations | Disable safe migrations for a branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/schema | Get a branch schema |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/schema/lint | Lint a branch schema |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/shards | List shards for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/shards | Add shards to a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id} | Get a shard for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id} | Update a shard for a Neki branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id} | Remove a shard from a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/switchovers | List switchovers |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/switchovers | Create a switchover |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/switchovers/{id} | Get a switchover |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets | List traffic budgets |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets | Create a traffic budget |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{budget_id}/rules | Create a traffic rule |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{budget_id}/rules/{id} | Delete a traffic rule |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id} | Get a traffic budget |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id} | Update a traffic budget |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id} | Delete a traffic budget |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/vitess-parameters | List Vitess parameters |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/vtctld/operations/{id} | Get a vtctld operation |
| GET | /organizations/{organization}/databases/{database}/cidrs | List IP restriction entries |
| POST | /organizations/{organization}/databases/{database}/cidrs | Create an IP restriction entry |
| GET | /organizations/{organization}/databases/{database}/cidrs/{id} | Get an IP restriction entry |
| PATCH | /organizations/{organization}/databases/{database}/cidrs/{id} | Update an IP restriction entry |
| DELETE | /organizations/{organization}/databases/{database}/cidrs/{id} | Delete an IP restriction entry |
| GET | /organizations/{organization}/databases/{database}/deploy-queue | Get the deploy queue |
| GET | /organizations/{organization}/databases/{database}/deploy-requests | List deploy requests |
| POST | /organizations/{organization}/databases/{database}/deploy-requests | Create a deploy request |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number} | Get a deploy request |
| PATCH | /organizations/{organization}/databases/{database}/deploy-requests/{number} | Close a deploy request |
| PUT | /organizations/{organization}/databases/{database}/deploy-requests/{number}/aggressive-cutover | Update aggressive cutover for a deploy request |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/apply-deploy | Complete a gated deploy request |
| PUT | /organizations/{organization}/databases/{database}/deploy-requests/{number}/auto-apply | Update auto-apply for deploy request |
| PUT | /organizations/{organization}/databases/{database}/deploy-requests/{number}/auto-delete-branch | Update auto-delete branch for deploy request |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/cancel | Cancel a queued deploy request |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/complete-deploy | Complete an errored deploy |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/deploy | Queue a deploy request |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number}/deployment | Get a deployment |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/force-cutover | Enable force cutover for a deploy request |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number}/operations | List deploy operations |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/revert | Complete a revert |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number}/reviews | List deploy request reviews |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/reviews | Review a deploy request |
| POST | /organizations/{organization}/databases/{database}/deploy-requests/{number}/skip-revert | Skip revert period |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number}/storage-check | Check deploy request storage |
| GET | /organizations/{organization}/databases/{database}/deploy-requests/{number}/throttler | Get deploy request throttler configurations |
| PATCH | /organizations/{organization}/databases/{database}/deploy-requests/{number}/throttler | Update deploy request throttler configurations |
| GET | /organizations/{organization}/databases/{database}/maintenance-events | List maintenance events |
| GET | /organizations/{organization}/databases/{database}/maintenance-events/{id} | Get a maintenance event |
| PATCH | /organizations/{organization}/databases/{database}/maintenance-events/{id} | Reschedule a maintenance event |
| GET | /organizations/{organization}/databases/{database}/maintenance-schedules | List maintenance schedules |
| GET | /organizations/{organization}/databases/{database}/maintenance-schedules/{id} | Get a maintenance schedule |
| PATCH | /organizations/{organization}/databases/{database}/maintenance-schedules/{id} | Update a maintenance schedule |
| GET | /organizations/{organization}/databases/{database}/maintenance-schedules/{id}/windows | List maintenance windows |
| GET | /organizations/{organization}/databases/{database}/read-only-regions | List read-only regions |
| GET | /organizations/{organization}/databases/{database}/regions | List database regions |
| GET | /organizations/{organization}/databases/{database}/schema-recommendations | List schema recommendations |
| GET | /organizations/{organization}/databases/{database}/schema-recommendations/{number} | Get a schema recommendation |
| POST | /organizations/{organization}/databases/{database}/schema-recommendations/{number}/dismiss | Dismiss a schema recommendation |
| POST | /organizations/{organization}/databases/{database}/subscription | Subscribe to a database's weekly report |
| DELETE | /organizations/{organization}/databases/{database}/subscription | Unsubscribe from a database's weekly report |
| GET | /organizations/{organization}/databases/{database}/throttler | Get database throttler configurations |
| PATCH | /organizations/{organization}/databases/{database}/throttler | Update database throttler configurations |
| GET | /organizations/{organization}/databases/{database}/webhooks | List webhooks |
| POST | /organizations/{organization}/databases/{database}/webhooks | Create a webhook |
| GET | /organizations/{organization}/databases/{database}/webhooks/{id} | Get a webhook |
| PATCH | /organizations/{organization}/databases/{database}/webhooks/{id} | Update a webhook |
| DELETE | /organizations/{organization}/databases/{database}/webhooks/{id} | Delete a webhook |
| POST | /organizations/{organization}/databases/{database}/webhooks/{id}/test | Test a webhook |
| GET | /organizations/{organization}/invitations | List pending invitations |
| POST | /organizations/{organization}/invitations | Send an invitation |
| DELETE | /organizations/{organization}/invitations/{id} | Cancel an invitation |
| GET | /organizations/{organization}/invoices | Get invoices |
| GET | /organizations/{organization}/invoices/{id} | Get an invoice |
| GET | /organizations/{organization}/invoices/{id}/line-items | Get invoice line items |
| GET | /organizations/{organization}/members | List organization members |
| GET | /organizations/{organization}/members/{id} | Get an organization member |
| PATCH | /organizations/{organization}/members/{id} | Update organization member role |
| DELETE | /organizations/{organization}/members/{id} | Remove a member from an organization |
| GET | /organizations/{organization}/oauth-applications | List OAuth applications |
| GET | /organizations/{organization}/oauth-applications/{application_id} | Get an OAuth application |
| GET | /organizations/{organization}/oauth-applications/{application_id}/tokens | List OAuth tokens |
| GET | /organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id} | Get an OAuth token |
| DELETE | /organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id} | Delete an OAuth token |
| POST | /organizations/{organization}/oauth-applications/{id}/token | Create or renew an OAuth token |
| GET | /organizations/{organization}/regions | List regions for an organization |
| GET | /organizations/{organization}/service-tokens | List service tokens |
| POST | /organizations/{organization}/service-tokens | Create a service token |
| GET | /organizations/{organization}/service-tokens/{id} | Get a service token |
| PATCH | /organizations/{organization}/service-tokens/{id} | Update a service token |
| DELETE | /organizations/{organization}/service-tokens/{id} | Delete a service token |
| POST | /organizations/{organization}/service-tokens/{id}/duplicate | Duplicate a service token |
| GET | /organizations/{organization}/sso | Get organization SSO status |
| POST | /organizations/{organization}/sso | Enable organization SSO |
| DELETE | /organizations/{organization}/sso | Disable organization SSO |
| POST | /organizations/{organization}/sso/configure | Open the SSO configuration portal |
| POST | /organizations/{organization}/sso/directory | Open the directory sync portal |
| DELETE | /organizations/{organization}/sso/directory | Disable directory sync |
| GET | /organizations/{organization}/sso/domains | List organization SSO domains |
| POST | /organizations/{organization}/sso/domains | Start SSO domain verification |
| GET | /organizations/{organization}/sso/domains/{id} | Get an SSO domain |
| DELETE | /organizations/{organization}/sso/domains/{id} | Delete an SSO domain |
| GET | /organizations/{organization}/teams | List teams in an organization |
| POST | /organizations/{organization}/teams | Create an organization team |
| GET | /organizations/{organization}/teams/{team} | Get an organization team |
| PATCH | /organizations/{organization}/teams/{team} | Update an organization team |
| DELETE | /organizations/{organization}/teams/{team} | Delete an organization team |
| GET | /organizations/{organization}/teams/{team}/members | List team members |
| POST | /organizations/{organization}/teams/{team}/members | Add a member to a team |
| GET | /organizations/{organization}/teams/{team}/members/{id} | Get a team member |
| DELETE | /organizations/{organization}/teams/{team}/members/{id} | Remove a member from a team |

### Postgres-versions
| Method | Path | Description |
|--------|------|-------------|
| GET | /postgres-versions | List available Postgres versions |

### Regions
| Method | Path | Description |
|--------|------|-------------|
| GET | /regions | List public regions |

### User
| Method | Path | Description |
|--------|------|-------------|
| GET | /user | Get current user |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all organizations?" -> GET /organizations
- "Get organization details?" -> GET /organizations/{organization}
- "Partially update a organization?" -> PATCH /organizations/{organization}
- "List all audit-log?" -> GET /organizations/{organization}/audit-log
- "List all payment-method?" -> GET /organizations/{organization}/billing/payment-method
- "Create a payment-method-setup?" -> POST /organizations/{organization}/billing/payment-method-setups
- "Get payment-method-setup details?" -> GET /organizations/{organization}/billing/payment-method-setups/{id}
- "List all cluster-size-skus?" -> GET /organizations/{organization}/cluster-size-skus
- "Create a database-subscription?" -> POST /organizations/{organization}/database-subscriptions
- "Search databases?" -> GET /organizations/{organization}/databases
- "Create a database?" -> POST /organizations/{organization}/databases
- "Get database details?" -> GET /organizations/{organization}/databases/{database}
- "Partially update a database?" -> PATCH /organizations/{organization}/databases/{database}
- "Delete a database?" -> DELETE /organizations/{organization}/databases/{database}
- "List all backup-policies?" -> GET /organizations/{organization}/databases/{database}/backup-policies
- "Create a backup-policy?" -> POST /organizations/{organization}/databases/{database}/backup-policies
- "Get backup-policy details?" -> GET /organizations/{organization}/databases/{database}/backup-policies/{id}
- "Partially update a backup-policy?" -> PATCH /organizations/{organization}/databases/{database}/backup-policies/{id}
- "Delete a backup-policy?" -> DELETE /organizations/{organization}/databases/{database}/backup-policies/{id}
- "Search branches?" -> GET /organizations/{organization}/databases/{database}/branches
- "Create a branche?" -> POST /organizations/{organization}/databases/{database}/branches
- "Get branche details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}
- "Partially update a branche?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}
- "Delete a branche?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}
- "List all admin?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin
- "List all admin-size-skus?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin-size-skus
- "List all change-requests?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests
- "Get change-request details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id}
- "Delete a change-request?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id}
- "List all parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin/parameters
- "List all backups?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/backups
- "Create a backup?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/backups
- "Get backup details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id}
- "Partially update a backup?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id}
- "Delete a backup?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/backups/{id}
- "List all bouncer-resizes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/bouncer-resizes
- "List all bouncers?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/bouncers
- "Create a bouncer?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/bouncers
- "Get bouncer details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}
- "Delete a bouncer?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}
- "List all resizes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/bouncers/{bouncer}/resizes
- "List all changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/changes
- "Get change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/changes/{id}
- "List all config-changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/config-changes
- "Create a config-change?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/config-changes
- "Create a submit?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/submit
- "Get config-change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/{id}
- "Delete a config-change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/config-changes/{id}
- "List all configuration-profiles?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles
- "Create a configuration-profile?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles
- "Create a maintenance?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/maintenance
- "Get configuration-profile details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}
- "Partially update a configuration-profile?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}
- "Delete a configuration-profile?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}
- "Create a duplicate?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/duplicate
- "List all extensions?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions
- "Search shards?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards
- "Create a shard?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards
- "Create a bulk?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/bulk
- "Get shard details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}
- "Partially update a shard?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}
- "Delete a shard?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}
- "List all data-topology?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/data-topology
- "List all dedicated-read-replica-changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replica-changes
- "List all dedicated-read-replicas?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas
- "Create a dedicated-read-replica?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas
- "Get dedicated-read-replica details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica}
- "Partially update a dedicated-read-replica?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica}
- "Delete a dedicated-read-replica?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/dedicated-read-replicas/{dedicated_read_replica}
- "List all default-configuration-profile?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile
- "Create a demote?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/demote
- "Search insights?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights
- "List all runs?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs
- "Create a run?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs
- "Get run details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}
- "Create a cancel?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}/cancel
- "List all feedback?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/runs/{number}/feedback
- "List all schedules?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/schedules
- "Partially update a schedule?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/insights/agent/schedules/{run_type}
- "List all anomalies?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies
- "Get anomaly details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies/{id}
- "Search errors?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/errors
- "Get error details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/errors/{fingerprint}
- "Get query details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/queries/{id}
- "Search tags?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags
- "Search summaries?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags/summaries
- "Get tag details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/tags/{tag}
- "Get insight details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint}
- "List all summary?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint}/summary
- "List all budgets?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights/{fingerprint}/traffic/budgets
- "List all keyspaces?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces
- "Create a keyspace?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces
- "Get keyspace details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}
- "Partially update a keyspace?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}
- "Delete a keyspace?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}
- "Get resize details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes/{id}
- "List all rollout-status?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/rollout-status
- "List all vschema?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/vschema
- "Create a signature?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/logs/signatures
- "List all maintenance-window?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/maintenance-window
- "Search metrics?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics
- "List all instant?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/instant
- "List all keyspace-tables?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/keyspace-tables
- "Search query?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/query
- "List all tables?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tables
- "List all tablets?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tablets
- "List all tablets-instant?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tablets-instant
- "Search tag?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/metrics/tag
- "Create a list-workflow?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/list-workflows
- "List all workflows?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows
- "Create a workflow?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows
- "Get workflow details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}
- "Create a complete?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/complete
- "Create a reverse-traffic?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/reverse-traffic
- "Create a start?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/start
- "List all status?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/status
- "Create a stop?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/stop
- "Create a switch-traffic?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/move-tables/workflows/{workflow}/switch-traffic
- "List all neki-changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes
- "Get neki-change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id}
- "Delete a neki-change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id}
- "Search passwords?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/passwords
- "Create a password?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/passwords
- "Get password details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id}
- "Partially update a password?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id}
- "Delete a password?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id}
- "Create a renew?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/passwords/{id}/renew
- "Create a promote?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/promote
- "List all query-patterns?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns
- "Create a query-pattern?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns
- "Get query-pattern details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id}
- "Delete a query-pattern?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id}
- "List all download?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/query-patterns/{id}/download
- "Search roles?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/roles
- "Create a role?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/roles
- "List all default?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/roles/default
- "Create a reset-default?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/roles/reset-default
- "Get role details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}
- "Partially update a role?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}
- "Delete a role?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}
- "Create a reassign?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reassign
- "Create a reset?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/reset
- "List all router-size-skus?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/router-size-skus
- "List all routers?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/routers
- "Create a router?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/routers
- "Get router details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}
- "Partially update a router?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}
- "Delete a router?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}
- "Create a safe-migration?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/safe-migrations
- "List all schema?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/schema
- "List all lint?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/schema/lint
- "List all switchovers?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/switchovers
- "Create a switchover?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/switchovers
- "Get switchover details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/switchovers/{id}
- "Create a budget?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets
- "Create a rule?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{budget_id}/rules
- "Delete a rule?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{budget_id}/rules/{id}
- "Get budget details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id}
- "Partially update a budget?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id}
- "Delete a budget?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets/{id}
- "List all vitess-parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/vitess-parameters
- "Get operation details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/vtctld/operations/{id}
- "List all cidrs?" -> GET /organizations/{organization}/databases/{database}/cidrs
- "Create a cidr?" -> POST /organizations/{organization}/databases/{database}/cidrs
- "Get cidr details?" -> GET /organizations/{organization}/databases/{database}/cidrs/{id}
- "Partially update a cidr?" -> PATCH /organizations/{organization}/databases/{database}/cidrs/{id}
- "Delete a cidr?" -> DELETE /organizations/{organization}/databases/{database}/cidrs/{id}
- "List all deploy-queue?" -> GET /organizations/{organization}/databases/{database}/deploy-queue
- "List all deploy-requests?" -> GET /organizations/{organization}/databases/{database}/deploy-requests
- "Create a deploy-request?" -> POST /organizations/{organization}/databases/{database}/deploy-requests
- "Get deploy-request details?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}
- "Partially update a deploy-request?" -> PATCH /organizations/{organization}/databases/{database}/deploy-requests/{number}
- "Create a apply-deploy?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/apply-deploy
- "Create a complete-deploy?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/complete-deploy
- "Create a deploy?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/deploy
- "List all deployment?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}/deployment
- "Create a force-cutover?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/force-cutover
- "List all operations?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}/operations
- "Create a revert?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/revert
- "List all reviews?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}/reviews
- "Create a review?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/reviews
- "Create a skip-revert?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/skip-revert
- "List all storage-check?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}/storage-check
- "List all throttler?" -> GET /organizations/{organization}/databases/{database}/deploy-requests/{number}/throttler
- "List all maintenance-events?" -> GET /organizations/{organization}/databases/{database}/maintenance-events
- "Get maintenance-event details?" -> GET /organizations/{organization}/databases/{database}/maintenance-events/{id}
- "Partially update a maintenance-event?" -> PATCH /organizations/{organization}/databases/{database}/maintenance-events/{id}
- "List all maintenance-schedules?" -> GET /organizations/{organization}/databases/{database}/maintenance-schedules
- "Get maintenance-schedule details?" -> GET /organizations/{organization}/databases/{database}/maintenance-schedules/{id}
- "Partially update a maintenance-schedule?" -> PATCH /organizations/{organization}/databases/{database}/maintenance-schedules/{id}
- "List all windows?" -> GET /organizations/{organization}/databases/{database}/maintenance-schedules/{id}/windows
- "List all read-only-regions?" -> GET /organizations/{organization}/databases/{database}/read-only-regions
- "List all regions?" -> GET /organizations/{organization}/databases/{database}/regions
- "List all schema-recommendations?" -> GET /organizations/{organization}/databases/{database}/schema-recommendations
- "Get schema-recommendation details?" -> GET /organizations/{organization}/databases/{database}/schema-recommendations/{number}
- "Create a dismiss?" -> POST /organizations/{organization}/databases/{database}/schema-recommendations/{number}/dismiss
- "Create a subscription?" -> POST /organizations/{organization}/databases/{database}/subscription
- "List all webhooks?" -> GET /organizations/{organization}/databases/{database}/webhooks
- "Create a webhook?" -> POST /organizations/{organization}/databases/{database}/webhooks
- "Get webhook details?" -> GET /organizations/{organization}/databases/{database}/webhooks/{id}
- "Partially update a webhook?" -> PATCH /organizations/{organization}/databases/{database}/webhooks/{id}
- "Delete a webhook?" -> DELETE /organizations/{organization}/databases/{database}/webhooks/{id}
- "Create a test?" -> POST /organizations/{organization}/databases/{database}/webhooks/{id}/test
- "List all invitations?" -> GET /organizations/{organization}/invitations
- "Create a invitation?" -> POST /organizations/{organization}/invitations
- "Delete a invitation?" -> DELETE /organizations/{organization}/invitations/{id}
- "List all invoices?" -> GET /organizations/{organization}/invoices
- "Get invoice details?" -> GET /organizations/{organization}/invoices/{id}
- "List all line-items?" -> GET /organizations/{organization}/invoices/{id}/line-items
- "Search members?" -> GET /organizations/{organization}/members
- "Get member details?" -> GET /organizations/{organization}/members/{id}
- "Partially update a member?" -> PATCH /organizations/{organization}/members/{id}
- "Delete a member?" -> DELETE /organizations/{organization}/members/{id}
- "List all oauth-applications?" -> GET /organizations/{organization}/oauth-applications
- "Get oauth-application details?" -> GET /organizations/{organization}/oauth-applications/{application_id}
- "List all tokens?" -> GET /organizations/{organization}/oauth-applications/{application_id}/tokens
- "Get token details?" -> GET /organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id}
- "Delete a token?" -> DELETE /organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id}
- "Create a token?" -> POST /organizations/{organization}/oauth-applications/{id}/token
- "List all service-tokens?" -> GET /organizations/{organization}/service-tokens
- "Create a service-token?" -> POST /organizations/{organization}/service-tokens
- "Get service-token details?" -> GET /organizations/{organization}/service-tokens/{id}
- "Partially update a service-token?" -> PATCH /organizations/{organization}/service-tokens/{id}
- "Delete a service-token?" -> DELETE /organizations/{organization}/service-tokens/{id}
- "List all sso?" -> GET /organizations/{organization}/sso
- "Create a sso?" -> POST /organizations/{organization}/sso
- "Create a configure?" -> POST /organizations/{organization}/sso/configure
- "Create a directory?" -> POST /organizations/{organization}/sso/directory
- "List all domains?" -> GET /organizations/{organization}/sso/domains
- "Create a domain?" -> POST /organizations/{organization}/sso/domains
- "Get domain details?" -> GET /organizations/{organization}/sso/domains/{id}
- "Delete a domain?" -> DELETE /organizations/{organization}/sso/domains/{id}
- "Search teams?" -> GET /organizations/{organization}/teams
- "Create a team?" -> POST /organizations/{organization}/teams
- "Get team details?" -> GET /organizations/{organization}/teams/{team}
- "Partially update a team?" -> PATCH /organizations/{organization}/teams/{team}
- "Delete a team?" -> DELETE /organizations/{organization}/teams/{team}
- "List all members?" -> GET /organizations/{organization}/teams/{team}/members
- "Create a member?" -> POST /organizations/{organization}/teams/{team}/members
- "List all postgres-versions?" -> GET /postgres-versions
- "List all user?" -> GET /user
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Paginated endpoints accept limit/offset or cursor parameters
- Create/update endpoints return the modified resource on success
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
