Sift | Docs

ArchiveAsset

Archives an asset.

POST
/api/v1/assets/{assetId}/archive

Path Parameters

assetId
Required
string

The id of the asset to be archived. Required.

Query Parameters

archiveRunsboolean

If true, will archive all runs associated with the asset.

curl -X POST "<API_URL>/api/v1/assets/string/archive?archiveRuns=true" \
  -H "Authorization: Bearer <API_KEY>"

A successful response.

{
  "archivedRunIds": [
    "string"
  ]
}