Skip to main content
GET
List preserved GitOps paths

Authorizations

Authorization
string
header
required

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

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

cluster_id
string<uuid>
required

Response

Successful response

preserved_paths
GitOpsPreservedPath · object[]
required

The preserved files in path order, at most 100.

total
integer
required

The number of preserved files on the cluster, including any past the listing's cap.

structural_diff_values
enum<string>
required

Whether the entries' structural differences carry their values: revealed for a caller holding kubernetes.secrets_reveal on the cluster; permission_required for any other caller, who sees every change and its marker with each value masked - and, in an entry whose content is withheld, every key and list-member name outside the allow-listed cluster-index positions masked too; unavailable when the permission could not be checked (treated like permission_required).

Available options:
revealed,
permission_required,
unavailable
truncated
boolean
default:false

True when the listing left something out: files past the 100-entry cap (total says how many), or content past the listing's content budget (those entries carry content_omitted).