NAiOS IconNAiOS Logo
Contacto
Contacto

Suscríbete a la newsletter

Novedades de IA y de producto. Sin spam, puedes darte de baja cuando quieras.

Consejo: usa tu email de empresa para una respuesta más relevante.

Comprobando seguridad…
NAiOS Icon
NAiOS Logo

El primer integrador de IA para empresas reales. Conecta todas tus herramientas de IA de forma segura y escalable.

+34 695482054info@naios.netinfo@netretina.ai
LinkedInNAiOS AcademyNetretina.AiContact UsX

Plataforma

  • Características
  • Integraciones
  • Planes y precios

Empresa

  • Sobre nosotros
  • Blog
  • Contacto

Compliance

  • Reglamento Europeo de IA
  • Transparencia de IA

Legal

  • Aviso legal
  • Política de privacidad
  • Términos y condiciones
  • Política de cookies
  • Devoluciones

© 2026 NAiOS. Todos los derechos reservados.

Un producto de Netretina.Ai

    Volver al catálogo

    PlanetScale

    planetscale

    Manage PlanetScale organizations, databases, branches, deploy requests, backups, workflows, insights, and infrastructure through delegated OAuth access.

    DatabasesDeveloper ToolsWeb del proveedor
    Acciones
    245
    Triggers
    0
    Autenticación
    —
    OAuth gestionado
    No
    Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

    Acciones disponibles (245)

    Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

    Add a member to a teamPLANETSCALE_ADD_ORGANIZATION_TEAM_MEMBERAcción

    Add a member to a team.

    Parámetros de entrada

    • teamstringObligatorio

      The slug of the team

    • user_idstringObligatorio

      The ID of the organization member to add to the team

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Assign shards to a Neki shard configuration profilePLANETSCALE_ASSIGN_SHARD_CONFIGURATION_PROFILE_SHARDSAcción

    Assign shards to a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • shard_idsstring[]Obligatorio

      The IDs of the shards to assign

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Add shards to a Neki shard configuration profilePLANETSCALE_BULK_CREATE_SHARD_CONFIGURATION_PROFILE_SHARDSAcción

    Add shards to a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • countintegerObligatorio

      The number of shards to add

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change request for a Neki adminPLANETSCALE_CANCEL_ADMIN_CHANGE_REQUESTAcción

    Cancel a change request for a Neki admin. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a resize requestPLANETSCALE_CANCEL_BOUNCER_RESIZE_REQUESTAcción

    Cancel a resize request. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • bouncerstringObligatorio

      The name of the bouncer

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change requestPLANETSCALE_CANCEL_BRANCH_CHANGE_REQUESTAcción

    Cancel a branch resize change request. Vitess/MySQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a queued deploy requestPLANETSCALE_CANCEL_DEPLOY_REQUESTAcción

    Cancel a queued deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change request for a Neki branchPLANETSCALE_CANCEL_NEKI_CHANGE_REQUESTAcción

    Cancel a change request for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change request for a Neki routerPLANETSCALE_CANCEL_ROUTER_CHANGE_REQUESTAcción

    Cancel a change request for a Neki router. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change request for a Neki shard configuration profilePLANETSCALE_CANCEL_SHARD_CONFIGURATION_PROFILE_CHANGE_REQUESTAcción

    Cancel a change request for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Cancel a change request for a Neki sidecarPLANETSCALE_CANCEL_SIDECAR_CHANGE_REQUESTAcción

    Cancel a change request for a Neki sidecar. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Check deploy request storagePLANETSCALE_CHECK_DEPLOY_REQUEST_STORAGEAcción

    Checks whether the deploy request's target branch cluster has enough storage to safely deploy the schema changes. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Close a deploy requestPLANETSCALE_CLOSE_DEPLOY_REQUESTAcción

    Close a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Complete an errored deployPLANETSCALE_COMPLETE_ERRORED_DEPLOYAcción

    Complete an errored deploy. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Complete a gated deploy requestPLANETSCALE_COMPLETE_GATED_DEPLOY_REQUESTAcción

    Complete a gated deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Complete a revertPLANETSCALE_COMPLETE_REVERTAcción

    Complete a revert. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Open the SSO configuration portalPLANETSCALE_CONFIGURE_ORGANIZATION_SSOAcción

    Return a URL for configuring the identity provider. Requires at least one verified domain.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a backupPLANETSCALE_CREATE_BACKUPAcción

    Create a backup.

    Parámetros de entrada

    • namestring

      Name for the backup

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • emergencyboolean

      Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases.

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • retention_unitstringenum

      Unit for the retention period of the backup

      hourdayweekmonthyear
    • retention_valueinteger

      Value between `1` and `1000` for the retention period of the backup (i.e retention_value `6` and retention_unit `hour` means 6 hours)

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a backup policyPLANETSCALE_CREATE_BACKUP_POLICYAcción

    Create a backup policy.

    Parámetros de entrada

    • namestring

      The name of the backup policy

    • targetstringenum

      Whether the policy is for production or development branches

      productiondevelopment
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • schedule_dayinteger

      Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday

    • schedule_timestringObligatorio

      Required time of day for the backup schedule in HH:MM format.

    • schedule_weekinteger

      Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week

    • frequency_unitstringenum

      The unit for the frequency of the backup policy

      hourdayweekmonth
    • retention_unitstringenum

      The unit for the retention period of the backup policy

      hourdayweekmonthyear
    • frequency_valueinteger

      A number value for the frequency of the backup policy

    • retention_valueinteger

      A number value for the retention period of the backup policy

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a bouncerPLANETSCALE_CREATE_BOUNCERAcción

    Create a bouncer. PostgreSQL databases only.

    Parámetros de entrada

    • namestring

      The bouncer name

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • targetstringenum

      Server type to target: primary, replica, or replica_az_affinity. Primary is the usual choice.

      primaryreplicareplica_az_affinity
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • bouncer_sizestring

      The size SKU for the bouncer

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • replicas_per_cellinteger

      The number of replica servers per cell

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a branchPLANETSCALE_CREATE_BRANCHAcción

    Create a branch.

    Parámetros de entrada

    • kindstringenum

      The kind of branch to create. Required when create_database_if_missing is set.

      mysqlpostgresqlneki
    • namestringObligatorio

      The name of the branch to create

    • regionstring

      The region to create the branch in. If not provided, the branch will be created in the default region for its database.

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      The name of the database the branch belongs to

    • replicasinteger

      For PostgreSQL backup restores and point-in-time recovery, the number of additional replicas from 0 to 8, subject to the target cluster size. 0 creates a single-node branch. If omitted, the target cluster size's minimum is used.

    • backup_idstring

      If provided, restores the backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this.

    • seed_datastring

      If provided, restores the last successful backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this, in addition to Data Branching™ being enabled for the branch.

    • cluster_sizestring

      The database cluster size. Required if a backup_id is provided (unless keyspace_cluster_sizes covers every keyspace), optional otherwise. Options: PS_10, PS_20, PS_40, ..., PS_2800

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • router_sizesobject[]

      For Neki backup restores, per-router size and replica count. Each entry is { "name": "default", "router_size": "NKR_20", "replicas_per_cell": 1 }. Omitted routers inherit the source size and replica count.

    • major_versionstring

      For PostgreSQL and Neki databases, the PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups.

    • parent_branchstring

      The name of the parent branch. Defaults to the database's default branch if not provided.

    • restore_pointstring

      Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases.

    • deletion_protectedboolean

      Whether deletion protection is enabled for the branch

    • keyspace_cluster_sizesobject[]

      For MySQL backup restores, per-keyspace cluster sizes. Each entry is { "keyspace_name": "main", "cluster_size": "PS_40" }. When provided, each restored keyspace must have a size here or via cluster_size.

    • create_database_if_missingboolean

      Create a new database for the branch if the database does not exist. Defaults to false.

    • configuration_profile_sizesobject[]

      For Neki backup restores, per-configuration-profile cluster size and replica count. Each entry is { "name": "default", "cluster_size": "PS_40", "replicas": 2 }. Omitted profiles inherit the source size and replica count.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a log signaturePLANETSCALE_CREATE_BRANCH_LOG_SIGNATUREAcción

    Creates a signed token that can be used to access branch logs.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a databasePLANETSCALE_CREATE_DATABASEAcción

    Create a database.

    Parámetros de entrada

    • kindstringenum

      The kind of database to create.

      mysqlpostgresqlneki
    • namestringObligatorio

      Name of the database

    • regionstring

      The region the database will be deployed in. If left blank, defaults to the organization's default region.

    • storageobject

      PlanetScale body parameter `storage`.

    • replicasinteger

      The number of replicas for the database. 0 for non-HA, 2+ for HA.

    • cluster_sizestringObligatorio

      The database cluster size name (e.g., 'PS_10', 'PS_80'). Use the 'List available cluster sizes' endpoint to get available options for your organization. /v1/organizations/:organization/cluster-size-skus

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • major_versionstring

      For PostgreSQL and Neki databases, the PostgreSQL major version to use for the database. Defaults to the latest available major version.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create an IP restriction entryPLANETSCALE_CREATE_DATABASE_POSTGRES_CIDRAcción

    Create an IP restriction entry. PostgreSQL databases only.

    Parámetros de entrada

    • rolestring

      The PostgreSQL role to restrict access to. Leave empty or omit to allow access for all roles.

    • cidrsstring[]Obligatorio

      List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Must contain at least one valid IPv4 address or range.

    • schemastring

      The PostgreSQL schema to restrict access to. Leave empty or omit to allow access to all schemas.

    • databasestringObligatorio

      The name of the database

    • descriptionstring

      An optional description for the IP restriction rule.

    • organizationstringObligatorio

      The name of the organization the database belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a deploy requestPLANETSCALE_CREATE_DEPLOY_REQUESTAcción

    Create a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • notesstring

      Notes about the deploy request

    • branchstringObligatorio

      The name of the branch the deploy request is created from

    • databasestringObligatorio

      The name of the deploy request's database

    • into_branchstringObligatorio

      The name of the branch the deploy request will be merged into

    • auto_cutoverboolean

      Whether or not to enable auto_cutover for the deploy request. When enabled, will auto cutover to the new schema as soon as it is ready.

    • organizationstringObligatorio

      The name of the deploy request's organization

    • auto_delete_branchboolean

      Whether or not to enable auto_delete_branch for the deploy request. When enabled, will delete the branch once the DR successfully completes.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create an Insights agent runPLANETSCALE_CREATE_INSIGHTS_AGENT_RUNAcción

    Create an Insights agent run.

    Parámetros de entrada

    • typestringObligatorioenum

      The work the Insights agent should perform

      review_slow_queriesimplement_schema_recommendation
    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • schema_numbersstring[]

      The schema recommendation numbers to implement

    • query_patterns_attributesstring[]

      The slow query patterns to review

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Start SSO domain verificationPLANETSCALE_CREATE_ORGANIZATION_SSO_DOMAINAcción

    Enable SSO if needed and return a URL for verifying an email domain.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create an organization teamPLANETSCALE_CREATE_ORGANIZATION_TEAMAcción

    Create an organization team.

    Parámetros de entrada

    • namestringObligatorio

      The name of the team

    • descriptionstring

      A description of the team's purpose

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a passwordPLANETSCALE_CREATE_PASSWORDAcción

    Create a password. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • ttlinteger

      Time to live (in seconds) for the password. The password will be invalid when TTL has passed

    • namestring

      Optional name of the password

    • rolestringenum

      The database role of the password (i.e. admin)

      readerwriteradminreadwriter
    • cidrsstring[]

      List of IP addresses or CIDR ranges that can use this password

    • branchstringObligatorio

      The name of the branch the password belongs to

    • replicaboolean

      Whether the password is for a read replica

    • databasestringObligatorio

      The name of the database the password belongs to

    • organizationstringObligatorio

      The name of the organization the password belongs to

    • direct_vtgateboolean

      Whether the password connects directly to a VTGate

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a billing payment method setupPLANETSCALE_CREATE_PAYMENT_METHOD_SETUPAcción

    Create a hosted checkout session for adding or replacing an organization's payment method.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a new query patterns reportPLANETSCALE_CREATE_QUERY_PATTERNS_REPORTAcción

    Create a new query patterns report.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a read-only replicaPLANETSCALE_CREATE_READ_ONLY_REPLICAAcción

    Create a read-only replica.

    Parámetros de entrada

    • namestringObligatorio

      The read-only replica name

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • regionstringObligatorio

      The region slug for the read-only replica

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • replicasinteger

      The number of instances serving reads. Defaults to 1.

    • cluster_sizestring

      The cluster size SKU name. Defaults to the primary cluster size.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create role credentialsPLANETSCALE_CREATE_ROLEAcción

    Create role credentials. PostgreSQL databases only.

    Parámetros de entrada

    • ttlinteger

      Time to live in seconds

    • namestring

      The name of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • inherited_rolesstring[]

      Roles to inherit from

    • with_replicationboolean

      Whether the role should have the REPLICATION attribute

    • require_where_on_deletestring

      Require WHERE clause on DELETE statements

    • require_where_on_updatestring

      Require WHERE clause on UPDATE statements

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a router for a Neki branchPLANETSCALE_CREATE_ROUTERAcción

    Create a router for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • namestringObligatorio

      The name of the router group. Letters, digits, dashes, and underscores; 1-64 characters; cannot start or end with a dash or underscore. `new`, `primary`, and `replica` are reserved. Clients connect through the group by appending it to the username, e.g. `user|my-router`.

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • router_sizestring

      The router size SKU, e.g. `NKR_1`. Defaults to the service's default size.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • replicas_per_cellinteger

      The number of router instances per availability zone. Defaults to the service's default count.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Add shards to a Neki branchPLANETSCALE_CREATE_SHARDAcción

    Add shards to a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a shard configuration profile for a Neki branchPLANETSCALE_CREATE_SHARD_CONFIGURATION_PROFILEAcción

    Create a shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • namestringObligatorio

      The name of the shard configuration profile

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • replicasinteger

      The number of replicas for the shard configuration profile

    • cluster_sizestring

      The cluster size for the shard configuration profile

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • postgres_major_versionstring

      The PostgreSQL major version for the shard configuration profile

    • postgres_minor_versionstring

      The PostgreSQL minor version for the shard configuration profile. Requires postgres_major_version when specified.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Add a shard to a Neki shard configuration profilePLANETSCALE_CREATE_SHARD_CONFIGURATION_PROFILE_SHARDAcción

    Add a shard to a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • display_namestring

      The display name of the shard

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a switchoverPLANETSCALE_CREATE_SWITCHOVERAcción

    Moves the primary of a Postgres branch. On a branch with replicas the primary steps down and a replica is promoted in its place. A branch running a single instance has nothing to promote, so that instance is restarted where it stands and the branch is unreachable while it comes back. Read `method` on the response to see which one the branch got. A branch accepts one switchover at a time. A switchover that ends in the `failed` state has an unconfirmed outcome: the primary may still have moved, and nothing is rolled back. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • candidatestring

      The exact `name` of the replica returned by the branch's Postgres infrastructure endpoint to promote. Omit to let the operator select an eligible replica. Only applies to branches with replicas.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a traffic budgetPLANETSCALE_CREATE_TRAFFIC_BUDGETAcción

    Create a traffic budget. PostgreSQL databases only.

    Parámetros de entrada

    • modestringenum

      The mode of the traffic budget

      enforcewarnoff
    • namestring

      Name of the traffic budget

    • rateinteger

      The rate at which capacity refills, as a percentage of server resources (0-100). Unlimited when not set.

    • burstinteger

      The maximum capacity a single query can consume, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.

    • rulesstring[]

      Array of traffic rules to apply to the budget

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • capacityinteger

      The maximum capacity that can be banked, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • concurrencyinteger

      The percentage of available worker processes this policy can use (0-100). Unlimited when not set.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • warning_thresholdinteger

      A percentage of capacity, burst, or concurrency thresholds to emit warnings for enforced budgets (0-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a traffic rulePLANETSCALE_CREATE_TRAFFIC_RULEAcción

    Create a traffic rule. PostgreSQL databases only.

    Parámetros de entrada

    • kindstringenum

      Kind of rule

      matcheach
    • tagsstring[]

      Optional array of tags for this rule. Each rules take exactly one tag.

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      The keyspace to apply a query pattern rule to

    • budget_idstringObligatorio

      The ID of the traffic budget

    • fingerprintstring

      Query pattern fingerprint to apply rule to

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create a webhookPLANETSCALE_CREATE_WEBHOOKAcción

    Create a webhook.

    Parámetros de entrada

    • urlstringObligatorio

      The URL the webhook will send events to

    • eventsstring[]

      The events this webhook should subscribe to

    • enabledboolean

      Whether the webhook should be enabled

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization

    • authorization_headerstring

      The value to send in the Authorization header

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a backupPLANETSCALE_DELETE_BACKUPAcción

    Delete a backup. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the backup

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a backup policyPLANETSCALE_DELETE_BACKUP_POLICYAcción

    Delete a backup policy. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the backup policy

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a bouncerPLANETSCALE_DELETE_BOUNCERAcción

    Delete a bouncer. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • bouncerstringObligatorio

      The name of the bouncer

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a branchPLANETSCALE_DELETE_BRANCHAcción

    Delete a branch. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • delete_descendantsboolean

      If true, recursively delete all descendant branches along with this branch

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a databasePLANETSCALE_DELETE_DATABASEAcción

    Delete a database. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete an IP restriction entryPLANETSCALE_DELETE_DATABASE_POSTGRES_CIDRAcción

    Delete an IP restriction entry. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the IP restriction entry

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization the database belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete the current billing payment methodPLANETSCALE_DELETE_ORGANIZATION_BILLING_PAYMENT_METHODAcción

    Delete the current payment method for an organization. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete an SSO domainPLANETSCALE_DELETE_ORGANIZATION_SSO_DOMAINAcción

    Delete a verified or pending SSO domain. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The public ID of the organization domain

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete an organization teamPLANETSCALE_DELETE_ORGANIZATION_TEAMAcción

    Delete an organization team. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • teamstringObligatorio

      The slug of the team

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a passwordPLANETSCALE_DELETE_PASSWORDAcción

    Delete a password. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the password

    • branchstringObligatorio

      The name of the branch the password belongs to

    • databasestringObligatorio

      The name of the database the password belongs to

    • organizationstringObligatorio

      The name of the organization the password belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a query patterns reportPLANETSCALE_DELETE_QUERY_PATTERNS_REPORTAcción

    Delete a query patterns report. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the query patterns report

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a read-only replicaPLANETSCALE_DELETE_READ_ONLY_REPLICAAcción

    Delete a read-only replica. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • read_only_replicastringObligatorio

      The name of the read-only replica

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete role credentialsPLANETSCALE_DELETE_ROLEAcción

    Delete role credentials. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • successorstring

      The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a router from a Neki branchPLANETSCALE_DELETE_ROUTERAcción

    Delete a router from a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Remove a shard from a Neki branchPLANETSCALE_DELETE_SHARDAcción

    Remove a shard from a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a shard configuration profile for a Neki branchPLANETSCALE_DELETE_SHARD_CONFIGURATION_PROFILEAcción

    Delete a shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Remove a shard from a Neki shard configuration profilePLANETSCALE_DELETE_SHARD_CONFIGURATION_PROFILE_SHARDAcción

    Remove a shard from a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Remove shards from a Neki shard configuration profilePLANETSCALE_DELETE_SHARD_CONFIGURATION_PROFILE_SHARDSAcción

    Remove shards from a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • shard_idsstring[]Obligatorio

      The IDs of the shards to remove

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a traffic budgetPLANETSCALE_DELETE_TRAFFIC_BUDGETAcción

    Delete a traffic budget. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the traffic budget

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a traffic rulePLANETSCALE_DELETE_TRAFFIC_RULEAcción

    Delete a traffic rule. PostgreSQL databases only. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the traffic rule

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • budget_idstringObligatorio

      The ID of the traffic budget

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete a webhookPLANETSCALE_DELETE_WEBHOOKAcción

    Delete a webhook. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the webhook

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Demote a branchPLANETSCALE_DEMOTE_BRANCHAcción

    Demotes a branch from production to development. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Disable organization SSOPLANETSCALE_DISABLE_ORGANIZATION_SSOAcción

    Disable SSO and directory sync for the organization. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Disable directory syncPLANETSCALE_DISABLE_ORGANIZATION_SSO_DIRECTORYAcción

    Disable directory sync for the organization. Non-admin directory members are removed. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Disable safe migrations for a branchPLANETSCALE_DISABLE_SAFE_MIGRATIONSAcción

    Disable safe migrations for a branch. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Dismiss a schema recommendationPLANETSCALE_DISMISS_SCHEMA_RECOMMENDATIONAcción

    Dismiss a schema recommendation.

    Parámetros de entrada

    • numberintegerObligatorio

      Schema recommendation sequence number. Example: `42`.

    • reasonstring

      The reason for dismissing the recommendation (max 500 characters)

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Enable organization SSOPLANETSCALE_ENABLE_ORGANIZATION_SSOAcción

    Enable the SSO add-on and return a URL for verifying an email domain. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Open the directory sync portalPLANETSCALE_ENABLE_ORGANIZATION_SSO_DIRECTORYAcción

    Return a URL for configuring directory sync. Requires SSO to be enabled.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Enable safe migrations for a branchPLANETSCALE_ENABLE_SAFE_MIGRATIONSAcción

    Enable safe migrations for a branch. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Enable force cutover for a deploy requestPLANETSCALE_FORCE_CUTOVER_DEPLOY_REQUESTAcción

    Enable force cutover for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the admin for a Neki branchPLANETSCALE_GET_ADMINAcción

    Get the admin for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a change request for a Neki adminPLANETSCALE_GET_ADMIN_CHANGE_REQUESTAcción

    Get a change request for a Neki admin. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a backupPLANETSCALE_GET_BACKUPAcción

    Get a backup.

    Parámetros de entrada

    • idstringObligatorio

      The ID for the backup

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a backup policyPLANETSCALE_GET_BACKUP_POLICYAcción

    Get a backup policy.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the backup policy

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a bouncerPLANETSCALE_GET_BOUNCERAcción

    Get a bouncer. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • bouncerstringObligatorio

      The name of the bouncer

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a branchPLANETSCALE_GET_BRANCHAcción

    Get a branch.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Retrieve a branch anomalyPLANETSCALE_GET_BRANCH_ANOMALYAcción

    Retrieve a branch anomaly.

    Parámetros de entrada

    • idstringObligatorio

      The anomaly ID

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a branch change requestPLANETSCALE_GET_BRANCH_CHANGE_REQUESTAcción

    Get a branch change request. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get table storage metrics by keyspacePLANETSCALE_GET_BRANCH_KEYSPACE_TABLE_METRICSAcción

    Get table storage metrics by keyspace.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get time-series metricsPLANETSCALE_GET_BRANCH_METRICSAcción

    Retrieve time-series metrics for a database branch. ```sh curl --get \ --header "Authorization: $PLANETSCALE_SERVICE_TOKEN" \ --data-urlencode "metrics=queries" \ --data-urlencode "period=15m" \ "https://api.planetscale.com/v1/organizations/acme/databases/app-db/branches/main/metrics" ``` Each series contains its metric name, display label, identifying labels, and sampled `[Unix timestamp, value]` points: ```json { "type": "MetricSeries", "start_date": "2026-09-09T17:00:00Z", "end_date": "2026-09-09T17:15:00Z", "interval": 60, "series": [ { "type": "TimeSeries", "metric": "queries", "label": "Queries", "labels": { "tablet_type": "primary" }, "points": [[1788973200, 42.0]] } ] } ```.

    Parámetros de entrada

    • tostring

      End of a custom time range as an ISO 8601 timestamp

    • podstring

      Filter by pod

    • fromstring

      Start of a custom time range as an ISO 8601 timestamp

    • podsstring[]

      Filter by pods

    • rolestring

      Filter by Postgres role

    • querystring

      Search terms to filter the metrics

    • shardstring

      Filter by shard

    • stepsinteger

      Number of data points to return

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Named time period to retrieve. Defaults to 12h.

      15m1h3h6h12h1d2d7d8d
    • routerstring

      Filter by router

    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`). Time range is `period` (for example `15m`) or ISO 8601 `from`/`to`.

    • rule_idstring

      Filter by traffic rule ID

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Filter by keyspace

    • budget_idstring

      Filter by traffic budget ID

    • containerstring

      Filter by container

    • query_idsstring[]

      Filter by query pattern IDs

    • fingerprintstring

      Filter by query fingerprint

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • shard_config_profilestring

      Filter by shard configuration profile name

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Retrieve a branch queryPLANETSCALE_GET_BRANCH_QUERYAcción

    Retrieve a branch query.

    Parámetros de entrada

    • idstringObligatorio

      ID of an individual query execution returned as `items[].id` by `GET_BRANCH_QUERY_ERROR`. `LIST_BRANCH_QUERIES` returns query-summary IDs, which this endpoint does not accept.

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List queries for an error fingerprintPLANETSCALE_GET_BRANCH_QUERY_ERRORAcción

    List queries for an error fingerprint.

    Parámetros de entrada

    • tostring

      End time for filtering queries (ISO 8601 timestamp)

    • fromstring

      Start time for filtering queries (ISO 8601 timestamp)

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering queries

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • fingerprintstringObligatorio

      The error fingerprint

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get time-series metrics for SQL queriesPLANETSCALE_GET_BRANCH_QUERY_METRICSAcción

    Get time-series metrics for SQL queries.

    Parámetros de entrada

    • tostring

      End of a custom time range as an ISO 8601 timestamp

    • fromstring

      Start of a custom time range as an ISO 8601 timestamp

    • querystring

      Search terms to filter the metrics

    • stepsinteger

      Number of data points to return

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Named time period to retrieve. Defaults to 12h.

      15m1h3h6h12h1d2d7d8d
    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`). Time range is `period` (for example `15m`) or ISO 8601 `from`/`to`.

    • rule_idstring

      Filter by traffic rule ID

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Keyspace for the query fingerprint

    • budget_idstring

      Filter by traffic budget ID

    • query_idsstring[]

      Query pattern IDs to retrieve metrics for

    • fingerprintstring

      Filter by query fingerprint

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Retrieve a query tagPLANETSCALE_GET_BRANCH_QUERY_TAGAcción

    Retrieve a query tag.

    Parámetros de entrada

    • tostring

      End time for filtering tag values (ISO 8601 timestamp)

    • tagstringObligatorio

      The tag name

    • fromstring

      Start time for filtering tag values (ISO 8601 timestamp)

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering tag values

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Filter by keyspace

    • fingerprintstring

      Filter to tag values on queries with this fingerprint

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • values_limitinteger

      Maximum number of values returned (1-100)

    • literal_values_onlyboolean

      Only return literal tag values, excluding overflow and collapsed values

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a branch resize requestPLANETSCALE_GET_BRANCH_RESIZE_REQUESTAcción

    Get a branch resize request.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • resizestringObligatorio

      The ID of the branch resize request

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a branch schemaPLANETSCALE_GET_BRANCH_SCHEMAAcción

    Get a branch schema. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • keyspacestring

      Return the schema for a single Vitess keyspace

    • namespacestring

      Return the schema for a PostgreSQL catalog namespace in `<database>.<schema>` format (e.g. public.schema1)

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get table storage metricsPLANETSCALE_GET_BRANCH_TABLE_METRICSAcción

    Get table storage metrics.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get time-series metrics grouped by query tagsPLANETSCALE_GET_BRANCH_TAG_METRICSAcción

    Get time-series metrics grouped by query tags.

    Parámetros de entrada

    • tostring

      End of a custom time range as an ISO 8601 timestamp

    • fromstring

      Start of a custom time range as an ISO 8601 timestamp

    • querystring

      Search terms to filter the metrics

    • stepsinteger

      Number of data points to return

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Named time period to retrieve. Defaults to 12h.

      15m1h3h6h12h1d2d7d8d
    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`). Time range is `period` (for example `15m`) or ISO 8601 `from`/`to`.

    • rule_idstring

      Filter by traffic rule ID

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • tag_setsstring[]

      Tag sets to retrieve metrics for

    • budget_idstring

      Filter by traffic budget ID

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get current userPLANETSCALE_GET_CURRENT_USERAcción

    Get the user associated with the current OAuth access token.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a databasePLANETSCALE_GET_DATABASEAcción

    Get a database.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an IP restriction entryPLANETSCALE_GET_DATABASE_POSTGRES_CIDRAcción

    Get an IP restriction entry. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the IP restriction entry

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization the database belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get database throttler configurationsPLANETSCALE_GET_DATABASE_THROTTLERAcción

    Get database throttler configurations. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • databasestringObligatorio

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

    • organizationstringObligatorio

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

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the data topology for a Neki branchPLANETSCALE_GET_DATA_TOPOLOGYAcción

    Get the data topology for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the default postgres rolePLANETSCALE_GET_DEFAULT_ROLEAcción

    Get the default postgres role. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the default shard configuration profile for a Neki branchPLANETSCALE_GET_DEFAULT_SHARD_CONFIGURATION_PROFILEAcción

    Get the default shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a deploymentPLANETSCALE_GET_DEPLOYMENTAcción

    Get the deployment for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the deploy queuePLANETSCALE_GET_DEPLOY_QUEUEAcción

    The deploy queue returns the current list of deploy requests in the order they will be deployed. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • databasestringObligatorio

      The name of the deploy request's database

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a deploy requestPLANETSCALE_GET_DEPLOY_REQUESTAcción

    Get a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get deploy request throttler configurationsPLANETSCALE_GET_DEPLOY_REQUEST_THROTTLERAcción

    Get deploy request throttler configurations. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an Insights agent runPLANETSCALE_GET_INSIGHTS_AGENT_RUNAcción

    Get an Insights agent run.

    Parámetros de entrada

    • idstringObligatorio

      The Insights agent run ID

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get current metric valuesPLANETSCALE_GET_INSTANT_BRANCH_METRICSAcción

    Get current metric values.

    Parámetros de entrada

    • podstring

      Filter by pod

    • rolestring

      Filter by Postgres role

    • shardstring

      Filter by shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`).

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • containerstring

      Filter by container

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • shard_config_profilestring

      Filter by shard configuration profile name

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get current tablet metricsPLANETSCALE_GET_INSTANT_TABLET_METRICSAcción

    Get current tablet metrics.

    Parámetros de entrada

    • shardstring

      Filter by shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`).

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Filter by keyspace

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an invoicePLANETSCALE_GET_INVOICEAcción

    Get an invoice.

    Parámetros de entrada

    • idstringObligatorio

      Invoice public ID from `list_invoices`. Example: `aabb12123434`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get invoice line itemsPLANETSCALE_GET_INVOICE_LINE_ITEMSAcción

    Get the line items for an invoice.

    Parámetros de entrada

    • idstringObligatorio

      Invoice public ID from `list_invoices`. Example: `aabb12123434`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a maintenance schedulePLANETSCALE_GET_MAINTENANCE_SCHEDULEAcción

    Get a maintenance schedule. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the maintenance schedule

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a change request for a Neki branchPLANETSCALE_GET_NEKI_CHANGE_REQUESTAcción

    Get a change request for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an organizationPLANETSCALE_GET_ORGANIZATIONAcción

    Get an organization.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get the current billing payment methodPLANETSCALE_GET_ORGANIZATION_BILLING_PAYMENT_METHODAcción

    Get the current payment method for an organization.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an organization memberPLANETSCALE_GET_ORGANIZATION_MEMBERSHIPAcción

    Get an organization member by a user ID or membership ID returned by `list_organization_members`. The action uses PlanetScale's documented detail route first and falls back to the paginated member list when the provider returns 404 for an ID it just listed.

    Parámetros de entrada

    • idstringObligatorio

      User ID or membership ID from `list_organization_members`. PlanetScale documents the user ID, but the detail endpoint can return 404 for IDs present in the list; this action falls back to the list result.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get organization SSO statusPLANETSCALE_GET_ORGANIZATION_SSOAcción

    Get SSO add-on status, identity provider connection state, directory sync, and verified domains.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an SSO domainPLANETSCALE_GET_ORGANIZATION_SSO_DOMAINAcción

    Get a registered SSO email domain and its verification state.

    Parámetros de entrada

    • idstringObligatorio

      The public ID of the organization domain

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get an organization teamPLANETSCALE_GET_ORGANIZATION_TEAMAcción

    Get an organization team.

    Parámetros de entrada

    • teamstringObligatorio

      The slug of the team

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a team memberPLANETSCALE_GET_ORGANIZATION_TEAM_MEMBERAcción

    Get a team member.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the team membership or the ID of the member

    • teamstringObligatorio

      The slug of the team

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a passwordPLANETSCALE_GET_PASSWORDAcción

    Get a password. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the password

    • branchstringObligatorio

      The name of the branch the password belongs to

    • databasestringObligatorio

      The name of the database the password belongs to

    • organizationstringObligatorio

      The name of the organization the password belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a billing payment method setupPLANETSCALE_GET_PAYMENT_METHOD_SETUPAcción

    Get the state of a billing payment method setup.

    Parámetros de entrada

    • idstringObligatorio

      Billing payment method setup ID from `create_payment_method_setup`. Example: `pmsetup_1234`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Download a finished query patterns reportPLANETSCALE_GET_QUERY_PATTERNS_REPORTAcción

    Download a finished query patterns report.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the query patterns report

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Show the status of a query patterns reportPLANETSCALE_GET_QUERY_PATTERNS_REPORT_STATUSAcción

    Show the status of a query patterns report.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the query patterns report

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Retrieve query statisticsPLANETSCALE_GET_QUERY_STATISTICSAcción

    Retrieve query statistics.

    Parámetros de entrada

    • tostring

      End time for filtering query statistics (ISO 8601 timestamp)

    • fromstring

      Start time for filtering query statistics (ISO 8601 timestamp)

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering query statistics

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestringObligatorio

      The keyspace to filter by

    • per_pageinteger

      If provided, specifies the number of returned results

    • fingerprintstringObligatorio

      The query fingerprint

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Retrieve a summary of query statisticsPLANETSCALE_GET_QUERY_SUMMARYAcción

    Retrieve a summary of query statistics.

    Parámetros de entrada

    • tostring

      End time for filtering query statistics (ISO 8601 timestamp)

    • fromstring

      Start time for filtering query statistics (ISO 8601 timestamp)

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering query statistics

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestringObligatorio

      The keyspace to filter by

    • fingerprintstringObligatorio

      The query fingerprint

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a read-only replicaPLANETSCALE_GET_READ_ONLY_REPLICAAcción

    Get a read-only replica.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • read_only_replicastringObligatorio

      The name of the read-only replica

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a rolePLANETSCALE_GET_ROLEAcción

    Get a role. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • shardstring

      Return libpq options that pin this Neki shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstring

      Return connection details for this Neki router group

    • bouncerstring

      Return connection details for this bouncer

    • replicaboolean

      Return connection details for a replica

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • read_only_replicastring

      Return connection details for this read-only replica

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a router for a Neki branchPLANETSCALE_GET_ROUTERAcción

    Get a router for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a change request for a Neki routerPLANETSCALE_GET_ROUTER_CHANGE_REQUESTAcción

    Get a change request for a Neki router. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a schema recommendationPLANETSCALE_GET_SCHEMA_RECOMMENDATIONAcción

    Get a schema recommendation.

    Parámetros de entrada

    • numberintegerObligatorio

      Schema recommendation sequence number. Example: `42`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a shard for a Neki branchPLANETSCALE_GET_SHARDAcción

    Get a shard for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a shard configuration profile for a Neki branchPLANETSCALE_GET_SHARD_CONFIGURATION_PROFILEAcción

    Get a shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a change request for a Neki shard configuration profilePLANETSCALE_GET_SHARD_CONFIGURATION_PROFILE_CHANGE_REQUESTAcción

    Get a change request for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a shard in a Neki shard configuration profilePLANETSCALE_GET_SHARD_CONFIGURATION_PROFILE_SHARDAcción

    Get a shard in a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a sidecar for a Neki branchPLANETSCALE_GET_SIDECARAcción

    Get a sidecar for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a change request for a Neki sidecarPLANETSCALE_GET_SIDECAR_CHANGE_REQUESTAcción

    Get a change request for a Neki sidecar. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the change request

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a switchoverPLANETSCALE_GET_SWITCHOVERAcción

    Get a switchover. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the switchover

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get time-series tablet metricsPLANETSCALE_GET_TABLET_METRICSAcción

    Get time-series tablet metrics.

    Parámetros de entrada

    • tostring

      End of a custom time range as an ISO 8601 timestamp

    • podstring

      Filter by pod

    • fromstring

      Start of a custom time range as an ISO 8601 timestamp

    • shardstring

      Filter by shard

    • stepsinteger

      Number of data points to return

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Named time period to retrieve. Defaults to 12h.

      15m1h3h6h12h1d2d7d8d
    • metricsstring[]

      Metric names to retrieve. Pass as `metrics[]=name` (repeat for multiple), `metrics=name`, or a comma-separated list (`metrics=name,other`). Time range is `period` (for example `15m`) or ISO 8601 `from`/`to`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Filter by keyspace

    • workflowstring

      Filter by workflow ID

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a traffic budgetPLANETSCALE_GET_TRAFFIC_BUDGETAcción

    Get a traffic budget. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the traffic budget

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get a webhookPLANETSCALE_GET_WEBHOOKAcción

    Get a webhook.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the webhook

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Lint a branch schemaPLANETSCALE_LINT_BRANCH_SCHEMAAcción

    Lint a branch schema. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List change requests for a Neki adminPLANETSCALE_LIST_ADMIN_CHANGE_REQUESTSAcción

    List change requests for a Neki admin. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List parameters for a Neki adminPLANETSCALE_LIST_ADMIN_PARAMETERSAcción

    List parameters for a Neki admin. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List admin size SKUs for a Neki branchPLANETSCALE_LIST_ADMIN_SIZE_SKUSAcción

    List admin size SKUs for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List audit logsPLANETSCALE_LIST_AUDIT_LOGSAcción

    List audit logs.

    Parámetros de entrada

    • limitinteger

      If provided, specifies the number of returned results (max 100)

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization

    • ending_beforestring

      If provided, returns results before the specified cursor

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List backup policiesPLANETSCALE_LIST_BACKUP_POLICIESAcción

    List backup policies.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List backupsPLANETSCALE_LIST_BACKUPSAcción

    List backups.

    Parámetros de entrada

    • tostring

      Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)

    • allboolean

      Whether to include all backups, including deleted ones

    • fromstring

      Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)

    • statestringenum

      Filter backups by state

      pendingrunningsuccessfailedcanceledignored
    • branchstringObligatorio

      The name of the branch

    • policystring

      Filter backups by backup policy ID

    • databasestringObligatorio

      The name of the database the branch belongs to

    • per_pageinteger

      If provided, specifies the number of returned results

    • productionboolean

      Filter backups by production branch

    • running_atstring

      Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get bouncer resize requestsPLANETSCALE_LIST_BOUNCER_RESIZE_REQUESTSAcción

    Get bouncer resize requests. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • bouncerstringObligatorio

      The name of the bouncer

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List bouncersPLANETSCALE_LIST_BOUNCERSAcción

    List bouncers. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List branch anomaliesPLANETSCALE_LIST_BRANCH_ANOMALIESAcción

    List branch anomalies.

    Parámetros de entrada

    • tostring

      End time for filtering anomalies (ISO 8601 timestamp)

    • fromstring

      Start time for filtering anomalies (ISO 8601 timestamp)

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering anomalies

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get bouncer resize requestsPLANETSCALE_LIST_BRANCH_BOUNCER_RESIZE_REQUESTSAcción

    Get bouncer resize requests. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get branch change requestsPLANETSCALE_LIST_BRANCH_CHANGE_REQUESTSAcción

    Get branch change requests. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List branchesPLANETSCALE_LIST_BRANCHESAcción

    List branches.

    Parámetros de entrada

    • orderstringenum

      Order branches by created_at time

      ascdesc
    • querystring

      Search branches by name

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • productionboolean

      Filter branches by production status

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • safe_migrationsboolean

      Filter branches by safe migrations (DDL protection)

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List branch queriesPLANETSCALE_LIST_BRANCH_QUERIESAcción

    List branch queries.

    Parámetros de entrada

    • tostring

      End time for filtering query statistics (ISO 8601 timestamp)

    • dirstringenum

      Sort direction

      ascdesc
    • fromstring

      Start time for filtering query statistics (ISO 8601 timestamp)

    • sortstringenum

      Field to sort by

      keyspacequerylastRuncounterrorCountrowsReadrowsAffectedrowsReturnedrowsReadPerReturnedrowsReadPerQueryrowsReturnedPerQueryrowsAffectedPerQuery+33
    • typestringenum

      Filter by statement type

      SELECTINSERTUPDATEDELETE
    • querystring

      Search query statistics by SQL pattern

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • fieldsstring[]

      Specific fields to include in the response

    • periodstringenum

      Time period for filtering query statistics

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List branch query errorsPLANETSCALE_LIST_BRANCH_QUERY_ERRORSAcción

    List branch query errors.

    Parámetros de entrada

    • tostring

      End time for filtering query errors (ISO 8601 timestamp)

    • dirstringenum

      Sort direction

      ascdesc
    • fromstring

      Start time for filtering query errors (ISO 8601 timestamp)

    • sortstringenum

      Field to sort by

      errorlastRuncounttotalTimetimePerQuery
    • querystring

      Search query errors by error message

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering query errors

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List query tagsPLANETSCALE_LIST_BRANCH_QUERY_TAGSAcción

    List query tags.

    Parámetros de entrada

    • tostring

      End time for filtering tags (ISO 8601 timestamp)

    • fromstring

      Start time for filtering tags (ISO 8601 timestamp)

    • querystring

      Search tags by name

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period for filtering tags

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Filter by keyspace

    • per_pageinteger

      If provided, specifies the number of returned results

    • fingerprintstring

      Filter to tags on queries with this fingerprint

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • values_limitinteger

      Maximum number of values returned per tag (1-100)

    • literal_values_onlyboolean

      Only return literal tag values, excluding overflow and collapsed values

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List query statistics grouped by tagPLANETSCALE_LIST_BRANCH_QUERY_TAG_SUMMARIESAcción

    List query statistics grouped by tag.

    Parámetros de entrada

    • tostring

      End time for filtering query statistics (ISO 8601 timestamp)

    • dirstringenum

      Sort direction

      ascdesc
    • fromstring

      Start time for filtering query statistics (ISO 8601 timestamp)

    • sortstringenum

      Field to sort by

      dimensionslastRuncounterrorCountrowsReadrowsAffectedrowsReturnedrowsReadPerReturnedrowsReadPerQueryrowsReturnedPerQueryrowsAffectedPerQuerytotalTime+32
    • tagsstring[]

      Tag ids returned by the tags list endpoint

    • typestringenum

      Filter by statement type

      SELECTINSERTUPDATEDELETE
    • querystring

      Search query statistics by SQL pattern

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • fieldsstring[]

      Specific fields to include in the response

    • periodstringenum

      Time period for filtering query statistics

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • tablet_typestringenum

      Filter by tablet type

      primaryreplicardonly
    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get branch resize requestsPLANETSCALE_LIST_BRANCH_RESIZE_REQUESTSAcción

    Get branch resize requests.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List available cluster sizesPLANETSCALE_LIST_CLUSTER_SIZE_SKUSAcción

    List available cluster sizes for an organization.

    Parámetros de entrada

    • ratesboolean

      Whether to include pricing rates in the response. Defaults to false.

    • enginestringenum

      The database engine to filter by. Defaults to 'mysql'.

      mysqlpostgresqlneki
    • regionstring

      The region slug to get rates for. If not specified, uses the organization's default region.

    • databasestring

      The database name to resolve rates for. When specified, database-level custom rates take precedence over organization rates.

    • externalboolean

      When true, list cluster sizes for external keyspaces. Defaults to false.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List IP restriction entriesPLANETSCALE_LIST_DATABASE_POSTGRES_CIDRSAcción

    List IP restriction entries. PostgreSQL databases only.

    Parámetros de entrada

    • databasestringObligatorio

      The name of the database

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the database belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List database regionsPLANETSCALE_LIST_DATABASE_REGIONSAcción

    List database regions.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List databasesPLANETSCALE_LIST_DATABASESAcción

    List databases.

    Parámetros de entrada

    • querystring

      Search term to filter databases by name

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List deploy operationsPLANETSCALE_LIST_DEPLOY_OPERATIONSAcción

    List deploy operations for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List deploy request reviewsPLANETSCALE_LIST_DEPLOY_REQUEST_REVIEWSAcción

    List deploy request reviews. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the database the deploy request belongs to

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the deploy request belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List deploy requestsPLANETSCALE_LIST_DEPLOY_REQUESTSAcción

    List deploy requests for a database. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • statestring

      Filter by state of the deploy request (open, closed, deployed)

    • branchstring

      Filter by the name of the branch the deploy request is created from

    • databasestringObligatorio

      The name of the deploy request's database

    • per_pageinteger

      If provided, specifies the number of returned results

    • running_atstring

      Filter deploy requests by the date they were running. (e.g. 2023-01-01T00:00:00Z..2023-01-31T23:59:59Z)

    • deployed_atstring

      Filter deploy requests by the date they were deployed. (e.g. 2023-01-01T00:00:00Z..2023-01-31T23:59:59Z)

    • into_branchstring

      Filter by the name of the branch the deploy request will be merged into

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List cluster extensionsPLANETSCALE_LIST_EXTENSIONSAcción

    List cluster extensions. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List generated query patterns reportsPLANETSCALE_LIST_GENERATED_QUERY_PATTERNS_REPORTSAcción

    List generated query patterns reports.

    Parámetros de entrada

    • limitinteger

      If provided, specifies the number of returned results (max 100)

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • ending_beforestring

      If provided, returns results before the specified cursor

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Insights agent runsPLANETSCALE_LIST_INSIGHTS_AGENT_RUNSAcción

    List Insights agent runs.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Insights Agent schedulesPLANETSCALE_LIST_INSIGHTS_AGENT_SCHEDULESAcción

    List Insights Agent schedules.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get invoicesPLANETSCALE_LIST_INVOICESAcción

    Get the invoices for an organization.

    Parámetros de entrada

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List maintenance schedulesPLANETSCALE_LIST_MAINTENANCE_SCHEDULESAcción

    List maintenance schedules. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List maintenance windowsPLANETSCALE_LIST_MAINTENANCE_WINDOWSAcción

    List maintenance windows. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the maintenance schedule

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List change requests for a Neki branchPLANETSCALE_LIST_NEKI_CHANGE_REQUESTSAcción

    List change requests for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • statestring[]

      Filter change requests by state

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • target_idstring

      Filter change requests by target ID. Requires target_types

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • target_typesstring[]

      Filter change requests by target type. Must contain one or more of: NekiAdmin, NekiCluster, NekiConfigurationProfile, NekiRouter, or NekiSidecar

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List organization membersPLANETSCALE_LIST_ORGANIZATION_MEMBERSAcción

    List organization members.

    Parámetros de entrada

    • querystring

      Search term to filter members by name or email

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List organizationsPLANETSCALE_LIST_ORGANIZATIONSAcción

    When using a service token, returns the list of organizations the service token has access to. When using an OAuth token, returns the list of organizations the user has access to.

    Parámetros de entrada

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List organization SSO domainsPLANETSCALE_LIST_ORGANIZATION_SSO_DOMAINSAcción

    List email domains registered for organization SSO.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List team membersPLANETSCALE_LIST_ORGANIZATION_TEAM_MEMBERSAcción

    List team members.

    Parámetros de entrada

    • teamstringObligatorio

      The slug of the team

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List teams in an organizationPLANETSCALE_LIST_ORGANIZATION_TEAMSAcción

    List teams in an organization.

    Parámetros de entrada

    • querystring

      Search term to filter teams by name

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List cluster parametersPLANETSCALE_LIST_PARAMETERSAcción

    Returns the parameters for a branch. To update the parameters, use the "update_branch_change_request" endpoint. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List passwordsPLANETSCALE_LIST_PASSWORDSAcción

    List passwords. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • querystring

      Search passwords by name

    • branchstringObligatorio

      The name of the branch the password belongs to

    • statusstring

      Filter passwords by status

    • databasestringObligatorio

      The name of the database the password belongs to

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization the password belongs to

    • read_only_region_idstring

      A read-only region of the database branch. If present, the password results will be filtered to only those in the region

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List available Postgres versionsPLANETSCALE_LIST_POSTGRES_VERSIONSAcción

    List the published Postgres versions available to the requested engine. PostgreSQL databases only.

    Parámetros de entrada

    • enginestringObligatorio

      The database engine to list Postgres versions for.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List read-only regionsPLANETSCALE_LIST_READ_ONLY_REGIONSAcción

    List read-only regions for the database's default branch.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get read-only replica change requestsPLANETSCALE_LIST_READ_ONLY_REPLICA_CHANGE_REQUESTSAcción

    Get read-only replica change requests.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List read-only replicasPLANETSCALE_LIST_READ_ONLY_REPLICASAcción

    List read-only replicas.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List regions for an organizationPLANETSCALE_LIST_REGIONS_FOR_ORGANIZATIONAcción

    List regions for an organization.

    Parámetros de entrada

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List rolesPLANETSCALE_LIST_ROLESAcción

    List roles. PostgreSQL databases only.

    Parámetros de entrada

    • querystring

      Search roles by name or username

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • statusstring

      Filter roles by status

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List change requests for a Neki routerPLANETSCALE_LIST_ROUTER_CHANGE_REQUESTSAcción

    List change requests for a Neki router. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List parameters for a Neki routerPLANETSCALE_LIST_ROUTER_PARAMETERSAcción

    List parameters for a Neki router. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List routers for a Neki branchPLANETSCALE_LIST_ROUTERSAcción

    List routers for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List router size SKUs for a Neki branchPLANETSCALE_LIST_ROUTER_SIZE_SKUSAcción

    List router size SKUs for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List schema recommendationsPLANETSCALE_LIST_SCHEMA_RECOMMENDATIONSAcción

    List schema recommendations.

    Parámetros de entrada

    • statestringenum

      Filter by recommendation state

      openclosed
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List change requests for a Neki shard configuration profilePLANETSCALE_LIST_SHARD_CONFIGURATION_PROFILE_CHANGE_REQUESTSAcción

    List change requests for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List extensions for a Neki shard configuration profilePLANETSCALE_LIST_SHARD_CONFIGURATION_PROFILE_EXTENSIONSAcción

    List extensions for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List parameters for a Neki shard configuration profilePLANETSCALE_LIST_SHARD_CONFIGURATION_PROFILE_PARAMETERSAcción

    List parameters for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List shard configuration profiles for a Neki branchPLANETSCALE_LIST_SHARD_CONFIGURATION_PROFILESAcción

    List shard configuration profiles for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List shards for a Neki shard configuration profilePLANETSCALE_LIST_SHARD_CONFIGURATION_PROFILE_SHARDSAcción

    List shards for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • querystring

      Search shards by name or display name

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List shards for a Neki branchPLANETSCALE_LIST_SHARDSAcción

    List shards for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • querystring

      Search shards by name, display name, or configuration profile

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • exclude_configuration_profilestring

      Exclude shards in this shard configuration profile

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List change requests for a Neki sidecarPLANETSCALE_LIST_SIDECAR_CHANGE_REQUESTSAcción

    List change requests for a Neki sidecar. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Filter change requests by named period

      15m1h3h6h12h1d2d7d8d
    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • completed_atstring

      Filter change requests completed between two ISO 8601 timestamps

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List parameters for a Neki sidecarPLANETSCALE_LIST_SIDECAR_PARAMETERSAcción

    List parameters for a Neki sidecar. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List sidecars for a Neki branchPLANETSCALE_LIST_SIDECARSAcción

    List sidecars for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List switchoversPLANETSCALE_LIST_SWITCHOVERSAcción

    List switchovers. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List traffic budgetsPLANETSCALE_LIST_TRAFFIC_BUDGETSAcción

    List traffic budgets. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • periodstringenum

      Time period filter

      15m1h3h6h12h1d2d7d8d
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • per_pageinteger

      If provided, specifies the number of returned results

    • created_atstring

      Filter by creation date range (format: 'start..end')

    • fingerprintstring

      Filter budgets by query fingerprint

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List traffic budgets affecting a query fingerprintPLANETSCALE_LIST_TRAFFIC_BUDGETS_FOR_QUERYAcción

    List traffic budgets affecting a query fingerprint. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • keyspacestring

      Optional keyspace filter

    • per_pageinteger

      If provided, specifies the number of returned results

    • fingerprintstringObligatorio

      The query fingerprint

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List webhooksPLANETSCALE_LIST_WEBHOOKSAcción

    List webhooks for a database.

    Parámetros de entrada

    • databasestringObligatorio

      The name of the database

    • per_pageinteger

      If provided, specifies the number of returned results

    • next_cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get OAuth token infoPLANETSCALE_OAUTH_TOKEN_INFOAcción

    Inspect whether the current OAuth access token is active and return its scopes and expiry.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Promote a branchPLANETSCALE_PROMOTE_BRANCHAcción

    Promotes a branch from development to production. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Queue a deploy requestPLANETSCALE_QUEUE_DEPLOY_REQUESTAcción

    Queue a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • instant_ddlboolean

      Whether or not to deploy the request with instant DDL. Defaults to false.

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Reassign objects owned by one role to another rolePLANETSCALE_REASSIGN_ROLE_OBJECTSAcción

    Reassign objects owned by one role to another role. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • successorstringObligatorio

      The role to reassign ownership to. Accepts the role's ID, or its username with or without the branch ID suffix.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Remove a member from an organizationPLANETSCALE_REMOVE_ORGANIZATION_MEMBERAcción

    Remove a member from an organization. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the user

    • organizationstringObligatorio

      The name of the organization

    • delete_passwordsboolean

      Whether to delete all passwords associated with the member. Only available when removing other members (not yourself).

    • delete_service_tokensboolean

      Whether to delete all service tokens associated with the member. Only available when removing other members (not yourself).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Remove a member from a teamPLANETSCALE_REMOVE_ORGANIZATION_TEAM_MEMBERAcción

    Remove a member from a team. This is destructive: confirm the target before calling.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the team membership or the ID of the member to remove

    • teamstringObligatorio

      The slug of the team

    • organizationstringObligatorio

      The name of the organization

    • delete_passwordsboolean

      Whether to delete the member's passwords created through this team

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Renew a passwordPLANETSCALE_RENEW_PASSWORDAcción

    Renew a password. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the password

    • branchstringObligatorio

      The name of the branch the password belongs to

    • databasestringObligatorio

      The name of the database the password belongs to

    • organizationstringObligatorio

      The name of the organization the password belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Renew role expirationPLANETSCALE_RENEW_ROLEAcción

    Renew role expiration. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Reset default credentialsPLANETSCALE_RESET_DEFAULT_ROLEAcción

    Reset default credentials. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Reset a role's passwordPLANETSCALE_RESET_ROLEAcción

    Reset a role's password. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Review a deploy requestPLANETSCALE_REVIEW_DEPLOY_REQUESTAcción

    Review a deploy request by either approving or commenting on the deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • bodystring

      Deploy request review comments

    • statestringenum

      Whether the review is a comment or approval. Service tokens must have corresponding access (either `approve_deploy_request` or `review_deploy_request`)

      commentedapproved
    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the database the deploy request belongs to

    • organizationstringObligatorio

      The name of the organization the deploy request belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Run maintenance for a Postgres branchPLANETSCALE_RUN_BRANCH_MAINTENANCEAcción

    Run maintenance for a Postgres branch. PostgreSQL databases only. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • update_postgres_minor_versionboolean

      Whether to upgrade the branch to the latest PostgreSQL minor version during maintenance.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Run maintenance for a Neki shard configuration profilePLANETSCALE_RUN_SHARD_CONFIGURATION_PROFILE_MAINTENANCEAcción

    Run maintenance for a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Run maintenance for selected Neki shard configuration profilesPLANETSCALE_RUN_SHARD_CONFIGURATION_PROFILES_MAINTENANCEAcción

    Run maintenance for selected Neki shard configuration profiles. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profile_namesstring[]Obligatorio

      The names of the shard configuration profiles to maintain

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set the default shard configuration profile for a Neki branchPLANETSCALE_SET_DEFAULT_SHARD_CONFIGURATION_PROFILEAcción

    Set the default shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      The name of the shard configuration profile to make the default

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Skip revert periodPLANETSCALE_SKIP_REVERT_PERIODAcción

    Skips the revert period for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Test a webhookPLANETSCALE_TEST_WEBHOOKAcción

    Sends a test event to the webhook. This changes operational state and may not be safely reversible.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the webhook

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update the admin for a Neki branchPLANETSCALE_UPDATE_ADMINAcción

    Update the admin for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • admin_sizestring

      The admin size SKU, e.g. `NKA_0`.

    • parametersobject

      Admin parameters nested by namespace (e.g., {"admin": {"recovery-poll-interval": "10s"}})

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update auto-apply for deploy requestPLANETSCALE_UPDATE_AUTO_APPLYAcción

    Enables or disabled the auto-apply setting for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • enableboolean

      Whether or not to enable auto-apply for the deploy request

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update auto-delete branch for deploy requestPLANETSCALE_UPDATE_AUTO_DELETE_BRANCHAcción

    Enables or disabled the auto-delete branch setting for a deploy request. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • enableboolean

      Whether or not to enable auto-delete branch for the deploy request

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a backupPLANETSCALE_UPDATE_BACKUPAcción

    Update a backup.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the backup

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • protectedboolean

      Whether the backup is protected from deletion or not

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a backup policyPLANETSCALE_UPDATE_BACKUP_POLICYAcción

    Update a backup policy.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the backup policy

    • namestring

      The name of the backup policy

    • targetstringenum

      Whether the policy is for production or development branches

      productiondevelopment
    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • schedule_dayinteger

      Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday

    • schedule_timestring

      The time of day that the backup is scheduled, in HH:MM format

    • schedule_weekinteger

      Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week

    • frequency_unitstringenum

      The unit for the frequency of the backup policy

      hourdayweekmonth
    • retention_unitstringenum

      The unit for the retention period of the backup policy

      hourdayweekmonthyear
    • frequency_valueinteger

      A number value for the frequency of the backup policy

    • retention_valueinteger

      A number value for the retention period of the backup policy

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Upsert a bouncer resize requestPLANETSCALE_UPDATE_BOUNCER_RESIZE_REQUESTAcción

    Upsert a bouncer resize request. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • targetstring

      The type of server the bouncer targets.

    • bouncerstringObligatorio

      The name of the bouncer

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • parametersobject

      Bouncer configuration parameters nested by namespace (e.g., {"pgbouncer": {"default_pool_size": "100"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Only parameters with namespace 'pgbouncer' can be updated.

    • bouncer_sizestring

      The bouncer size SKU name (e.g., 'PGB_5', 'PGB_10', 'PGB_20', 'PGB_40', 'PGB_80', 'PGB_160'). Defaults to 'PGB_5'.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • replicas_per_cellinteger

      The number of PgBouncers per availability zone. Defaults to 1.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a branchPLANETSCALE_UPDATE_BRANCHAcción

    Update a branch.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • new_namestring

      The name to update the branch

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • deletion_protectedboolean

      Whether deletion protection is enabled for the branch

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Upsert a change request for cluster size, replicas, storage, or parametersPLANETSCALE_UPDATE_BRANCH_CHANGE_REQUESTAcción

    Upsert a change request for cluster size, replicas, storage, or parameters. PostgreSQL databases only.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • replicasinteger

      The total number of replicas

    • parametersobject

      Cluster configuration parameters nested by namespace (e.g., {"pgconf": {"max_connections": "200"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Supported namespaces include 'patroni', 'pgconf', and 'pgbouncer'.

    • cluster_sizestring

      The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Upsert a resize requestPLANETSCALE_UPDATE_BRANCH_RESIZE_REQUESTAcción

    Upsert a resize request.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • vtgate_sizestring

      The size of the vtgate cluster: VTG_5, VTG_10,...

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • vtgate_countinteger

      The number of vtgates in an availability zone

    • vtgate_max_countinteger

      The maximum number of vtgates in an availability zone when autoscaling is enabled

    • vtgate_autoscalingboolean

      If autoscaling is enabled for the vtgate cluster

    • vtgate_target_cpu_utilizationinteger

      The target CPU utilization for the vtgate cluster when autoscaling is enabled

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update an IP restriction entryPLANETSCALE_UPDATE_DATABASE_POSTGRES_CIDRAcción

    Update an IP restriction entry. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the IP restriction entry

    • rolestring

      The PostgreSQL role to restrict access to. Leave empty to allow access for all roles.

    • cidrsstring[]

      List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Only provided fields will be updated.

    • schemastring

      The PostgreSQL schema to restrict access to. Leave empty to allow access to all schemas.

    • databasestringObligatorio

      The name of the database

    • descriptionstring

      An optional description for the IP restriction rule. Pass an empty string to clear.

    • organizationstringObligatorio

      The name of the organization the database belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update database settingsPLANETSCALE_UPDATE_DATABASE_SETTINGSAcción

    Update database settings.

    Parámetros de entrada

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • new_namestring

      The name to update the database to

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • default_branchstring

      The default branch of the database

    • deletion_protectedboolean

      Whether deletion protection is enabled for the database

    • migration_frameworkstring

      A migration framework to use on the database. (Vitess only)

    • allow_data_branchingboolean

      Whether or not data branching is allowed on the database. (Vitess only)

    • automatic_migrationsboolean

      Whether or not to copy migration data to new branches and in deploy requests. (Vitess only)

    • insights_raw_queriesboolean

      Whether or not full queries should be collected from the database

    • migration_table_namestring

      Name of table to use as migration table for the database. (Vitess only)

    • restrict_branch_regionboolean

      Whether or not to limit branch creation to the same region as the one selected during database creation.

    • require_approval_for_deployboolean

      Whether or not deploy requests must be approved by a database administrator other than the request creator

    • allow_foreign_key_constraintsboolean

      Whether or not foreign key constraints are allowed on the database. (Vitess only)

    • production_branch_web_consoleboolean

      Whether or not the web console can be used on the production branch of the database

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update database throttler configurationsPLANETSCALE_UPDATE_DATABASE_THROTTLERAcción

    Update database throttler configurations. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • ratiointeger

      A throttler ratio between 0 and 95 that will apply to all keyspaces in the database. 0 effectively disables throttler, while 95 drastically slows down deploy request migrations

    • databasestringObligatorio

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

    • organizationstringObligatorio

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

    • configurationsobject[]

      If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set the data topology for a Neki branchPLANETSCALE_UPDATE_DATA_TOPOLOGYAcción

    Set the data topology for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • data_topologyobjectObligatorio

      The data topology JSON to set for the branch

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update deploy request throttler configurationsPLANETSCALE_UPDATE_DEPLOY_REQUEST_THROTTLERAcción

    Update deploy request throttler configurations. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • ratiointeger

      A throttler ratio between 0 and 95 that will apply to all keyspaces affected by the deploy request. 0 effectively disables throttler, while 95 drastically slows down migrations in the deploy request

    • numberintegerObligatorio

      The number of the deploy request

    • databasestringObligatorio

      The name of the deploy request's database

    • organizationstringObligatorio

      The name of the deploy request's organization

    • configurationsobject[]

      If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update an Insights Agent schedulePLANETSCALE_UPDATE_INSIGHTS_AGENT_SCHEDULEAcción

    Update an Insights Agent schedule.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • enabledboolean

      Whether the schedule is enabled

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • run_typestringObligatorioenum

      The scheduled run type

      review_slow_queriesimplement_schema_recommendation
    • time_zonestring

      The IANA time zone

    • day_of_weekinteger

      The weekday for weekly schedules

    • day_of_monthinteger

      The day of month for monthly schedules

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • schedule_timestring

      The local time of day in HH:MM format

    • frequency_unitstringenum

      The cadence unit

      dayweekmonth

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update an organizationPLANETSCALE_UPDATE_ORGANIZATIONAcción

    Update an organization.

    Parámetros de entrada

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • billing_emailstring

      The billing email for the organization

    • idp_managed_rolesboolean

      Whether or not the IdP provider is be responsible for managing roles in PlanetScale

    • invoice_budget_amountinteger

      The expected monthly budget for the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update organization member rolePLANETSCALE_UPDATE_ORGANIZATION_MEMBERSHIPAcción

    Update organization member role.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the user

    • rolestringObligatorio

      The role to assign to the member (e.g., 'admin', 'member'). Note: Cannot update your own role. Roles managed by IdP cannot be updated via API.

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update an organization teamPLANETSCALE_UPDATE_ORGANIZATION_TEAMAcción

    Update an organization team.

    Parámetros de entrada

    • namestring

      The new name for the team

    • teamstringObligatorio

      The slug of the team

    • descriptionstring

      The new description for the team

    • organizationstringObligatorio

      The name of the organization

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a passwordPLANETSCALE_UPDATE_PASSWORDAcción

    Update a password. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the password

    • namestring

      The name for the password

    • cidrsstring[]

      List of IP addresses or CIDR ranges that can use this password

    • branchstringObligatorio

      The name of the branch the password belongs to

    • databasestringObligatorio

      The name of the database the password belongs to

    • organizationstringObligatorio

      The name of the organization the password belongs to

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a read-only replicaPLANETSCALE_UPDATE_READ_ONLY_REPLICAAcción

    Update a read-only replica.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • replicasinteger

      The number of instances serving reads

    • parametersobject

      Configuration parameters nested by namespace (e.g., {"pgconf": {"max_connections": "300"}}). Values must be greater than or equal to the primary's.

    • cluster_sizestring

      The cluster size SKU name

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • read_only_replicastringObligatorio

      The name of the read-only replica

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update role namePLANETSCALE_UPDATE_ROLEAcción

    Update role name. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the role

    • namestring

      The new name of the role

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • require_where_on_deletestring

      Require WHERE clause on DELETE statements

    • require_where_on_updatestring

      Require WHERE clause on UPDATE statements

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a router for a Neki branchPLANETSCALE_UPDATE_ROUTERAcción

    Update a router for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • routerstringObligatorio

      Name from `list_routers`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • parametersobject

      Router parameters nested by namespace (e.g., {"router": {"replication-lag-tolerable-max": "15m"}})

    • autoscalingboolean

      Whether the router scales horizontally within each cell

    • router_sizestring

      The new router size for the router

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • replicas_per_cellinteger

      The new number of replicas in each cell

    • max_replicas_per_cellinteger

      The maximum number of replicas in each cell when autoscaling

    • target_cpu_utilizationinteger

      The target average CPU utilization percentage when autoscaling

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update safe migrations for a branchPLANETSCALE_UPDATE_SAFE_MIGRATIONSAcción

    Update safe migrations for a branch. Vitess/MySQL databases only; PlanetScale returns 405 for PostgreSQL resources.

    Parámetros de entrada

    • branchstringObligatorio

      The name of the branch

    • databasestringObligatorio

      The name of the database the branch belongs to

    • organizationstringObligatorio

      The name of the organization the branch belongs to

    • safe_migrationsbooleanObligatorio

      Whether safe migrations are enabled

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a shard for a Neki branchPLANETSCALE_UPDATE_SHARDAcción

    Update a shard for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a shard configuration profile for a Neki branchPLANETSCALE_UPDATE_SHARD_CONFIGURATION_PROFILEAcción

    Update a shard configuration profile for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • namestring

      The new name for the shard configuration profile

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • storageobject

      PlanetScale body parameter `storage`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • replicasinteger

      The new number of replicas for the shard configuration profile

    • extensionsstring[]

      Extensions to enable. This replaces the current set; omit it to leave them unchanged.

    • parametersobject

      Configuration profile parameters nested by namespace (e.g., {"pgconf": {"max_connections": "200"}}).

    • cluster_sizestring

      The new cluster size for the shard configuration profile

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    • postgres_major_versionstring

      The PostgreSQL major version for the shard configuration profile

    • postgres_minor_versionstring

      The PostgreSQL minor version for the shard configuration profile. Requires postgres_major_version when specified.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a shard in a Neki shard configuration profilePLANETSCALE_UPDATE_SHARD_CONFIGURATION_PROFILE_SHARDAcción

    Update a shard in a Neki shard configuration profile. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the shard

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • display_namestring

      The display name of the shard

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • configuration_profilestringObligatorio

      Name from `list_shard_configuration_profiles`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a sidecar for a Neki branchPLANETSCALE_UPDATE_SIDECARAcción

    Update a sidecar for a Neki branch. Sharded Neki PostgreSQL databases only; non-sharded branches may return 404.

    Parámetros de entrada

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • sidecarstringObligatorio

      ID from `list_sidecars`, or the configuration profile name.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • parametersobject

      Sidecar parameters nested by namespace (e.g., {"sidecar": {"pool-capacity": "100"}})

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a traffic budgetPLANETSCALE_UPDATE_TRAFFIC_BUDGETAcción

    Update a traffic budget. PostgreSQL databases only.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the traffic budget

    • modestringenum

      The mode of the traffic budget

      enforcewarnoff
    • namestring

      Name of the traffic budget

    • rateinteger

      The rate at which capacity refills, as a percentage of server resources (0-100). Unlimited when not set.

    • burstinteger

      The maximum capacity a single query can consume, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.

    • rulesstring[]

      Array of traffic rules to apply to the budget

    • branchstringObligatorio

      Branch name from `list_branches`. Example: `main`.

    • capacityinteger

      The maximum capacity that can be banked, measured as a percentage of seconds of full server usage (0-6000). Unlimited when not set.

    • databasestringObligatorio

      Database name slug from `list_databases`. Example: `app-db`.

    • concurrencyinteger

      The percentage of available worker processes this policy can use (0-100). Unlimited when not set.

    • organizationstringObligatorio

      Organization name slug from `list_organizations`. Example: `acme`.

    • warning_thresholdinteger

      A percentage of capacity, burst, or concurrency thresholds to emit warnings for enforced budgets (0-100).

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update a webhookPLANETSCALE_UPDATE_WEBHOOKAcción

    Update a webhook.

    Parámetros de entrada

    • idstringObligatorio

      The ID of the webhook

    • urlstring

      The URL the webhook will send events to

    • eventsstring[]

      The events this webhook should subscribe to

    • enabledboolean

      Whether the webhook should be enabled

    • databasestringObligatorio

      The name of the database

    • organizationstringObligatorio

      The name of the organization

    • authorization_headerstring

      The value to send in the Authorization header

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not