get_registry_storage
Read the organisation's image registry storage on registry.ankra.cloud: the storage limit in force (per registry project, and whether it is the platform default or set for this organisation), how much each registry project holds and how full it is, and the image retention policy and repository rules that decide what is kept (with its version, to pass to set_registry_retention as expected_version). usage_status complete is a real figure, partial a lower bound, not_provisioned means no registry yet, and unknown means usage could not be read - never report unknown as empty or as having room. Pass include_repositories for the largest repositories (top 20, capped and said so; ankra-ci/** holds the pipeline's per-run build images). Use this when a pipeline or build failed because the registry is full (registry_push_failed, "refused the image because it is full"), when the user asks about registry usage or storage, and before changing retention with set_registry_retention. Requires credentials.read. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_repositories | No | Also list the largest repositories, largest first (slower: it walks the images). Default false. |