List Serverless clusters Run in API Explorer
Ask AI
List Redpanda Serverless clusters. The filter. query string parameters find matching clusters that meet all specified conditions.
Query parameters
-
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, orSTATE_SUSPENDED. -
Resource group ID of Serverless cluster.
-
Name of cluster. Partial match.
-
Region in which Serverless cluster is hosted
-
Private link ID of Serverless cluster
-
Limit the paginated response to a number of items.
Minimum value is
1, maximum value is100. -
Value of the next_page_token field returned by the previous response. If not provided, the system assumes the first page is requested.
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": "some-opaque-string",
"serverless_clusters": [
{
"id": "d1d9risv0c3i7qbbeoc0",
"name": "my-serverless-cluster",
"tags": {},
"state": "STATE_READY",
"kafka_api": {
"seed_brokers": [
"d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com:9092"
],
"private_seed_brokers": []
},
"created_at": "2023-01-01T00:00:00Z",
"prometheus": {
"url": "https://d1d9risv0c3i7qbbeoc0.metrics.us-east-1.mpx.prd.cloud.redpanda.com/public_metrics",
"private_url": ""
},
"updated_at": "2023-01-01T00:00:00Z",
"console_url": "https://console-d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com",
"dataplane_api": {
"url": "https://d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com",
"private_url": ""
},
"schema_registry": {
"url": "https://d1d9risv0c3i7qbbeoc0.any.us-east-1.mpx.prd.cloud.redpanda.com:30993",
"private_url": ""
},
"networking_config": null,
"resource_group_id": "6c09e47b-f426-4ec7-a7b4-8048caf8ae47",
"serverless_region": "us-east-1",
"console_private_url": ""
}
]
}
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"
}