Skip to main content
GET
/
api
/
v1
/
org
/
stacks
/
charts
List available Helm charts
import requests

url = "https://platform.ankra.app/api/v1/org/stacks/charts"

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

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

print(response.text)
{
  "charts": [
    {
      "chart_id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "nginx",
      "description": "NGINX web server",
      "repository_name": "bitnami",
      "repository_url": "https://charts.bitnami.com/bitnami",
      "repository_id": "660e8400-e29b-41d4-a716-446655440001",
      "icon": "https://example.com/icon.png",
      "version": "1.2.3",
      "registry_credential_name": "my-registry-creds"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 25,
    "total_pages": 10,
    "total_count": 250
  }
}

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

only_subscribed
boolean
default:true

Only show subscribed charts

page
integer
default:1

Page number

Required range: x >= 1
page_size
integer
default:25

Number of items per page

Required range: 1 <= x <= 1500

Response

Charts retrieved successfully

charts
ChartItem · object[]
required

List of charts

pagination
Pagination · object
required

Pagination information