---
title: "List Kubernetes clusters"
method: GET
path: "/v0/clusters"
tags: ["Clusters"]
---

# List Kubernetes clusters

`GET /v0/clusters`

List all Kubernetes clusters

## Response `200`

List of Kubernetes clusters

- MarketApiListClustersResponse
  - `object` 'list', required
  - `data` MarketApiKubernetesClusterResponse[], required
    - `object` 'kubernetes_cluster', required
    - `kubernetes_api_url` string, nullable
    - `name` string, required
    - `kubernetes_namespace` string, required
    - `kubernetes_ca_cert` string, nullable
    - `contract` MarketApiContractResponse
      - `object` 'contract', required
      - `status` 'active' | 'pending', required
      - `id` string, required
      - `created_at` string, date-time, required — An ISO 8601 datetime string
      - `instance_type` string, required
      - `shape` MarketApiExternalShape, required — A schedule representing a change of a quantity over time. The schedule changes at intervals[i] to quantity[i]. Intervals are sorted from first to last change.
        - `intervals` MarketApiISO8601DateTime[], required — The times at which changes in quantity occur
        - `quantities` integer[], required — The quantity changed to at that time
      - `colocate_with` MarketApiContractId[]
      - `cluster_id` string
      - `zone` string
      - `state` 'Upcoming' | 'Active' | 'Expired', required
      - `is_node` boolean, required — Specifies whether this contract is managed by the Nodes API
      - `procurement_id` string, nullable — The procurement which ordered this contract, if any
  - `has_more` boolean, required

## Other responses

- `401` — Unauthorized - missing or invalid authentication token
- `403` — Forbidden - account frozen
- `500` — Internal server error

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
