List Serverless clusters Run in API Explorer

GET /v1/serverless/clusters

List Redpanda Serverless clusters. The filter. query string parameters find matching clusters that meet all specified conditions.

Query parameters

  • read_mask string
  • filter.state_in array[string]

    States of Serverless cluster.

    • STATE_PLACING: Serverless cluster is in the process of being placed on a cell with sufficient resources in the data plane.
    • STATE_CREATING: Serverless cluster is in the process of having its control plane state created.
    • STATE_READY: Serverless cluster is in execution and accepting external requests.
    • STATE_DELETING: Serverless cluster is in the process of having its control plane state removed. Resources dedicated to the cluster in the data plane will be released.
    • STATE_FAILED: Serverless cluster was unable to enter the ready state from either the creating or placing states.
    • STATE_SUSPENDED: Serverless cluster is in execution but blocks all external requests.

    Values are STATE_PLACING, STATE_CREATING, STATE_READY, STATE_DELETING, STATE_FAILED, or STATE_SUSPENDED.

  • filter.resource_group_id string

    Resource group ID of Serverless cluster.

  • filter.name_contains string

    Name of cluster. Partial match.

  • filter.serverless_region string

    Region in which Serverless cluster is hosted

  • page_size integer(int32)

    Limit the paginated response to a number of items.

  • page_token string

    Value of the next_page_token field returned by the previous response. If not provided, the system assumes the first page is requested.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • next_page_token string

      Page Token to fetch the next page. The value can be used as next_page_token in the next call to this endpoint.

    • serverless_clusters array[object]

      Serverless clusters matching the request

      Resource describing a ServerlessCluster.

      Not more than 100 elements.

      Hide serverless_clusters attributes Show serverless_clusters attributes object
      • console object
      • console_url string
      • created_at string(date-time)

        Timestamp when the Serverless cluster was created.

      • dataplane_api object

        Cluster's Data Plane API properties.

        Hide dataplane_api attribute Show dataplane_api attribute object
        • url string
      • id string

        ID of the Serverless cluster. ID is an output from the Create Serverless Cluster operation and cannot be set by the caller.

      • kafka_api object

        Cluster's Kafka API properties.

        Hide kafka_api attribute Show kafka_api attribute object
        • seed_brokers array[string]

          Kafka API seed brokers (also known as bootstrap servers).

      • name string

        Unique name of the Serverless cluster.

      • planned_deletion object

        Date after which this cluster can and should be deleted.

        Hide planned_deletion attributes Show planned_deletion attributes object
        • delete_after string(date-time)
        • reason string
      • resource_group_id string

        Resource group ID of the cluster.

      • schema_registry object

        Cluster's Schema Registry properties.

        Hide schema_registry attribute Show schema_registry attribute object
        • url string
      • serverless_region string

        Serverless region in which the cluster is placed, backed by a cloud provider region.

      • state string

        State describes the state of the ServerlessCluster.

        • STATE_PLACING: Serverless cluster is in the process of being placed on a cell with sufficient resources in the data plane.
        • STATE_CREATING: Serverless cluster is in the process of having its control plane state created.
        • STATE_READY: Serverless cluster is in execution and accepting external requests.
        • STATE_DELETING: Serverless cluster is in the process of having its control plane state removed. Resources dedicated to the cluster in the data plane will be released.
        • STATE_FAILED: Serverless cluster was unable to enter the ready state from either the creating or placing states.
        • STATE_SUSPENDED: Serverless cluster is in execution but blocks all external requests.

        Values are STATE_PLACING, STATE_CREATING, STATE_READY, STATE_DELETING, STATE_FAILED, or STATE_SUSPENDED.

      • updated_at string(date-time)

        Timestamp when the Serverless cluster was updated.

  • 500 application/json

    Internal Server Error. Please reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • default application/json

    An unexpected error response.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

GET /v1/serverless/clusters
curl \
 --request GET 'https://api.redpanda.com/v1/serverless/clusters' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "next_page_token": "string",
  "serverless_clusters": [
    {
      "console": {},
      "console_url": "string",
      "created_at": "2025-05-04T09:42:00Z",
      "dataplane_api": {
        "url": "string"
      },
      "id": "string",
      "kafka_api": {
        "seed_brokers": [
          "string"
        ]
      },
      "name": "development-ServerlessCluster",
      "planned_deletion": {
        "delete_after": "2025-05-04T09:42:00Z",
        "reason": "string"
      },
      "private_link": {
        "id": "string",
        "state": "STATE_DISABLED"
      },
      "resource_group_id": "a0b40af9-0250-48ca-9417-783ed127ce42",
      "schema_registry": {
        "url": "string"
      },
      "serverless_region": "us-east-1",
      "state": "STATE_PLACING",
      "updated_at": "2025-05-04T09:42:00Z"
    }
  ]
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (default)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}