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

# PlanetScale API
API version: v1

## Auth
OAuth2

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

## Setup
1. Configure auth: OAuth2
2. GET /organizations -- verify access
3. POST /organizations/{organization}/billing/payment-method-setups -- create first payment-method-setups

## Endpoints

276 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 |
| 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/changes | List change requests for a Neki admin |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/admin/changes/{id} | Get a change request for a Neki admin |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/admin/changes/{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}/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}/configuration-profiles | List shard configuration profiles for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles | Create a shard configuration profile for a Neki branch |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/maintenance | Run maintenance for selected Neki shard configuration profiles |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Get a shard configuration profile for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Update a shard configuration profile for a Neki branch |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile} | Delete a shard configuration profile for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes | List change requests for a Neki shard configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes/{id} | Get a change request for a Neki shard configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes/{id} | Cancel a change request for a Neki shard configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions | List extensions for a Neki shard configuration profile |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions/{extension} | Enable or disable an extension for a Neki shard configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/maintenance | Run maintenance for a Neki shard configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/parameters | List parameters for a Neki shard configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | List shards for a Neki shard configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Add a shard to a Neki shard configuration profile |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Assign shards to a Neki shard configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards | Remove shards from a Neki shard configuration profile |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/bulk | Add shards to a Neki shard configuration profile |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Get a shard in a Neki shard configuration profile |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Update a shard in a Neki shard configuration profile |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id} | Remove a shard from a Neki shard 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}/default-configuration-profile | Get the default shard configuration profile for a Neki branch |
| PUT | /organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile | Set the default shard 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/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}/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}/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 |
| 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 |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replica-changes | Get read-only replica change requests |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas | List read-only replicas |
| POST | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas | Create a read-only replica |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica} | Get a read-only replica |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica} | Update a read-only replica |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica} | Delete a read-only replica |
| 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}/changes | List change requests for a Neki router |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/changes/{id} | Get a change request for a Neki router |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/changes/{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}/sidecars | List sidecars for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar} | Get a sidecar for a Neki branch |
| PATCH | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar} | Update a sidecar for a Neki branch |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes | List change requests for a Neki sidecar |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes/{id} | Get a change request for a Neki sidecar |
| DELETE | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes/{id} | Cancel a change request for a Neki sidecar |
| GET | /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/parameters | List parameters for a Neki sidecar |
| 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}/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 |
| 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-schedules | List maintenance schedules |
| GET | /organizations/{organization}/databases/{database}/maintenance-schedules/{id} | Get 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 |
| 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}/databases/{database}/workflows | List workflows |
| POST | /organizations/{organization}/databases/{database}/workflows | Create a workflow |
| GET | /organizations/{organization}/databases/{database}/workflows/{number} | Get a workflow |
| DELETE | /organizations/{organization}/databases/{database}/workflows/{number} | Cancel a workflow |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/complete | Complete a workflow |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/cutover | Cutover traffic |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/retry | Retry a failed workflow |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/reverse-cutover | Reverse traffic cutover |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/reverse-traffic | Reverse traffic |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/switch-primaries | Switch primary traffic |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/switch-replicas | Switch replica traffic |
| PATCH | /organizations/{organization}/databases/{database}/workflows/{number}/verify-data | Verify workflow data |
| 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 |
| DELETE | /organizations/{organization}/service-tokens/{id} | Delete 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
- "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 changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin/changes
- "Get change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/admin/changes/{id}
- "Delete a change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/admin/changes/{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 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}
- "List all changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes
- "Get change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes/{id}
- "Delete a change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/changes/{id}
- "List all extensions?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions
- "Partially update a extension?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions/{extension}
- "Create a maintenance?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/maintenance
- "List all parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/parameters
- "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 default-configuration-profile?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile
- "Create a demote?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/demote
- "List all extensions?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/extensions
- "Search insights?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/insights
- "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}
- "List all resizes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/resizes
- "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
- "Create a maintenance?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/maintenance
- "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
- "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}
- "List all parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/parameters
- "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
- "List all read-only-replica-changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replica-changes
- "List all read-only-replicas?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas
- "Create a read-only-replica?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas
- "Get read-only-replica details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica}
- "Partially update a read-only-replica?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica}
- "Delete a read-only-replica?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas/{read_only_replica}
- "List all resizes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/resizes
- "Get resize details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/resizes/{resize}
- "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 renew?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/roles/{id}/renew
- "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}
- "List all changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/changes
- "Get change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/changes/{id}
- "Delete a change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/changes/{id}
- "List all parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/parameters
- "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
- "Search shards?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/shards
- "Create a shard?" -> POST /organizations/{organization}/databases/{database}/branches/{branch}/shards
- "Get shard details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}
- "Partially update a shard?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}
- "Delete a shard?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}
- "List all sidecars?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/sidecars
- "Get sidecar details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}
- "Partially update a sidecar?" -> PATCH /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}
- "List all changes?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes
- "Get change details?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes/{id}
- "Delete a change?" -> DELETE /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/changes/{id}
- "List all parameters?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/sidecars/{sidecar}/parameters
- "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}
- "List all budgets?" -> GET /organizations/{organization}/databases/{database}/branches/{branch}/traffic/budgets
- "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 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 cancel?" -> POST /organizations/{organization}/databases/{database}/deploy-requests/{number}/cancel
- "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-schedules?" -> GET /organizations/{organization}/databases/{database}/maintenance-schedules
- "Get maintenance-schedule details?" -> GET /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
- "List all throttler?" -> GET /organizations/{organization}/databases/{database}/throttler
- "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 workflows?" -> GET /organizations/{organization}/databases/{database}/workflows
- "Create a workflow?" -> POST /organizations/{organization}/databases/{database}/workflows
- "Get workflow details?" -> GET /organizations/{organization}/databases/{database}/workflows/{number}
- "Delete a workflow?" -> DELETE /organizations/{organization}/databases/{database}/workflows/{number}
- "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 regions?" -> GET /organizations/{organization}/regions
- "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}
- "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
- "Get member details?" -> GET /organizations/{organization}/teams/{team}/members/{id}
- "Delete a member?" -> DELETE /organizations/{organization}/teams/{team}/members/{id}
- "List all postgres-versions?" -> GET /postgres-versions
- "List all regions?" -> GET /regions
- "List all user?" -> GET /user
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- List endpoints may support pagination; check for limit, offset, or cursor params
- Create/update endpoints typically return the created/updated object
- Error responses use types: unprocessable

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get planetscale-api -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search planetscale-api
```

## 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)
