Admiral
Sources

Retrieve source inputs

GET
/api/v1/sources/{source_id}/inputs

For Terraform modules, this parses HCL variable blocks using terraform-config-inspect. For Helm charts, this extracts values.yaml and optionally values.schema.json. For Kustomize and raw manifests, inputs are not discoverable and the response will be empty.

This operation fetches and parses the external artifact in real time and may take several seconds.

Scope: source:read

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer adm_pat_...

In: header

Path Parameters

source_id*source_id

Unique identifier of the source to inspect (UUID).

Formatuuid

Query Parameters

version?version

The version to inspect. For registry sources, a semver string. For Git sources, a tag, branch, or commit SHA. Required.

Length1 <= length

Response Body

application/json

curl -X GET "https://admiral.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/inputs"
{  "inputs": [    {      "name": "string",      "type": "string",      "description": "string",      "default_value": "string",      "required": true,      "sensitive": true    }  ],  "resolved_version": "string"}