Skip to main content
GET
Find where an image is declared

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Query Parameters

project_id
string

The project to read: a project's UUID, or all for the whole organisation. Absent, the project the request acts in. A pinned token and a member limited to projects get a 403 for anything past their project.

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