List sources
Scope: source:read
Authorization
bearerAuth Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer admp_...
In: header
Query Parameters
Filter expression to narrow results. Uses the Admiral filter DSL (see the API documentation for the full operator and predicate reference).
Filterable fields:
name: filter by source name.type: filter by source type (GIT, TERRAFORM, HELM, OCI, HTTP).labels.key: filter by label key.
Example: field['type'] = 'TERRAFORM' AND field['labels.team'] = 'platform'
length <= 1024Maximum number of sources to return per page. Defaults to 50 when omitted or 0; must not exceed 100.
int320 <= value <= 100Opaque pagination token from a previous response.
Response Body
application/json
curl -X GET "https://api.admiral.io/api/v1/sources"{ "sources": [ { "id": "f6a7b8c9-0123-4def-5678-901234567890", "name": "nginx-ingress", "description": "NGINX Ingress Controller Helm chart from the official repository.", "type": "SOURCE_TYPE_HELM", "url": "https://kubernetes.github.io/ingress-nginx", "source_config": { "helm": { "chart_name": "ingress-nginx" } }, "labels": { "category": "networking", "team": "platform" }, "last_test_status": "SOURCE_TEST_STATUS_SUCCESS", "last_tested_at": "2025-11-01T08:00:00Z", "created_by": { "id": "d290f1ee-6c54-4b01-90e6-d701748f0851", "display_name": "Alex Chen", "email": "[email protected]" }, "created_at": "2025-08-01T12:00:00Z", "updated_at": "2025-10-20T09:00:00Z" } ], "next_page_token": "string"}Retrieve a source GET
Scope: `source:read`
List source versions GET
For Terraform registry sources, this calls the Module Registry Protocol's version listing endpoint. For Helm repositories, it parses the index.yaml. For OCI sources, it lists tags. For Git sources, it lists branches and tags via ls-remote, each annotated with the commit it currently resolves to. This operation queries the external system in real time and may take several seconds. Scope: `source:read`