Skip to main content
Artifacts endpoint

Inspect Artifact Image

POST/artifacts/inspect/

Request field shape

application/json

Field names and types are inferred. Use the checked notes below to supply valid values.

{
  "inspection": {
    "schemaVersion": 0,
    "data": {}
  },
  "origin": {
    "expectedDigest": "string",
    "image": "string",
    "platform": "string",
    "build": {
      "contextArchive": [
        "string"
      ],
      "contextDigest": "string",
      "recipePath": "string",
      "recipeDigest": "string",
      "arguments": {}
    }
  },
  "type": "string",
  "reference": "string",
  "path": "string",
  "uri": "string",
  "artifactRef": {
    "id": "string",
    "version": "string"
  },
  "environmentRef": "string",
  "resourceRef": "string",
  "expectedDigest": "string",
  "format": "string",
  "artifactBuildRef": "string",
  "credentialRef": "string"
}

Query parameters

localOnly
Inspect locally available image metadata without querying the remote registry.

Handler-checked behavior​

Send a JSON executable source identifying an OCI image or a SIF artifact. The response includes available image metadata, build recipe details, layers or SIF objects. The inspection does not execute the artifact.

See the Artifacts guide for related tasks and context.