Add a container image
Verify image-read access and track an image repository. Strix discovers and stores an available tag, digest, and platform without starting a scan. Google Artifact Registry supplies upload times to select the newest tagged version. Other registries use an existing latest tag or a sole tag. Unordered multiple tags require an explicit choice. Set scan to true to start an initial scan with the detected or explicit version. Initial scans and explicit versions must fit the compressed size limit. The default limit is 8 GiB. Self-hosted installs can change it with STRIX_CONTAINER_MAX_IMAGE_BYTES. Existing images return created false and status 200. Session callers need the admin or analyst role without asset scopes. The organization must have container scanning access.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
OCI platform, for example linux/amd64. Null selects linux/amd64 if available, otherwise the first platform in the discovered or explicit image index. Without a discovered version, null stores linux/amd64. An explicit platform must exist in the image or the request fails with status 400. Later scans use the stored platform by default.
Response
The image was already tracked.