Gets container snapshots belonging to the team.
Required permission
Account > Platform > ContainerSnapshots > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe snapshot UUID cursor returned from the previous page.projectId
stringFilter snapshots by source project ID.serviceId
stringFilter snapshots by source service ID.state
stringFilter snapshots by state.one ofscheduled, accepted, running, succeeded, failed, cancelledtrigger
stringFilter snapshots by trigger.one ofmanual, containerTermination
Response body
- {object}Response object.
data
{object} requiredResult data.containerSnapshots
[array] required- {object}
id
string requiredtrigger
string requiredone ofmanual, containerTerminationstate
string requiredone ofscheduled, accepted, running, succeeded, failed, cancelledsource
{object} requiredprojectId
string requirednfObject
{object} requiredid
string requiredtype
string requiredone ofjob, service, harness, addon, volume, opentofu-job, llm-model-deployment, external-addontarget
{object} requiredpodName
string requiredcompatibility
{object} requiredruntime
string requiredone ofkataarchitecture
string requiredone ofx86, armbaseImageDigest
stringpattern^sha256:[0-9a-f]{64}$parentSnapshotId
stringinUse
boolean requiredresult
{object}sizeBytes
integer requirederror
{object}code
string requiredmessage
string requiredretryable
boolean requiredrequestedAt
stringdeadline
stringlastTransitionTime
string requiredstartedAt
stringcompletedAt
stringcreatedAt
string requiredupdatedAt
string requiredpagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/container-snapshots
GET /v1/teams/{teamId}/container-snapshots
Example response
200 OK
A list of container snapshots.
JSON
{
"pagination": {
"hasNextPage": false,
"count": 1
}
}