GET
/
organizations
/
{organization}
/
databases
/
{database}
/
throttler
Get database throttler configurations
curl --request GET \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/throttler \
  --header 'Authorization: <api-key>'
{
  "keyspaces": [
    "<string>"
  ],
  "configurable": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "deleted_at": "<string>"
  },
  "configurations": [
    {
      "keyspace_name": "<string>",
      "ratio": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

organization
string
required

The name of the organization that the throttled deploy requests belong to

database
string
required

The name of the database that the throttled deploy requests belong to

Response

Database throttler configurations

keyspaces
string[]
required

Keyspaces that are eligible for throttler configuration in the configurable resource (database or deploy request)

configurable
object
required
configurations
object[]
required