Skip to main content
GET
/
api
/
v1
/
clusters
List Clusters Endpoint
import requests

url = "https://platform.ankra.app/api/v1/clusters"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Query Parameters

cluster_id
string<uuid4> | null
page
integer
default:1
page_size
integer
default:25
cluster_name
string | null

Response

Successful Response