Artifacts API

Programmatic access to artifacts: list, push, promote, and inspect provenance.

Endpoints

MethodPathDescription
GET/v1/artifactsList artifacts in the current org
GET/v1/artifacts/:idGet a single artifact and its versions
POST/v1/artifacts/:id/versionsPush a new version
POST/v1/artifacts/:id/promotePromote a version to an environment
DELETE/v1/artifacts/:id/versions/:vDelete a version (admin only)

Example: push a version

POST /v1/artifacts/web/versions
Content-Type: application/json

{
  "version": "2.4.1",
  "digest": "sha256:8f2d…b7e1",
  "type": "oci-image",
  "provenance": { "builder": "catalyst", "slsa": "v1.0" }
}