Skip to main content
GET
Find where an image is declared (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Query Parameters

image
string
required

The image: a repository such as moby/buildkit or docker:29.0.2-dind, with or without a registry, tag or digest.

cluster_id
string<uuid>[]

Search only these clusters. Repeat it, or separate ids with commas. Absent, every cluster you can read is searched.

Response

Successful response

Where an image is declared across the stacks of the clusters the caller can read, and what runs it. An incomplete search says so in completeness.

image
object
required

The image searched for, normalised the way a container runtime resolves it.

completeness
object
required

Whether the search read everything it was asked about; each reason names what it could not.

clusters_searched
integer
required
clusters
object[]
required
clusters_excluded
object[]
required

Readable clusters a search of every cluster left out, and why.

declarations
object[]
required

Each place a stack member declares the image: the key path, the stored line, and the Git file and line when the stack is synced to GitOps.

member_notes
object[]
required
declarations_capped
boolean
required
unresolved_mentions
object[]
required
unresolved_mentions_capped
boolean
required
running_undeclared
object[]
required
running_by_application
object[]
required
running_match_unknown
object[]
required
running_inventory
string
required
not_searched
object[]
required

Stack members the search could not read, and why.

clusters_excluded_capped
boolean