curl --request GET \
--url https://api.cnap.tech/v1/clusters \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "j572abc123def456",
"name": "production",
"workspace_id": "j572abc123def456",
"region_id": "j572abc123def456",
"kaas": {
"version": "v1.30",
"status": "RUNNING",
"status_message": null
},
"created_at": 123
}
],
"pagination": {
"cursor": "<string>",
"has_more": true
}
}Lists all clusters in the workspace specified by the X-Workspace-Id header.
curl --request GET \
--url https://api.cnap.tech/v1/clusters \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "j572abc123def456",
"name": "production",
"workspace_id": "j572abc123def456",
"region_id": "j572abc123def456",
"kaas": {
"version": "v1.30",
"status": "RUNNING",
"status_message": null
},
"created_at": 123
}
],
"pagination": {
"cursor": "<string>",
"has_more": true
}
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens
Pagination cursor from previous response
Items per page (1-100)
1 <= x <= 10050