API

API for our managed service.

Download file

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
pathstringRequired
Responses
200

Returns the URL to download the file from

text/plain
Responsestring
get
/v2/files/{path}

Read directory contents

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
pathstringRequired
Responses
200

Returns the list of files in the directory

application/json
Responsestring[]
get
/v2/files/dir/{path}

Service discovery

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
namestringRequired
Responses
200

Returns url for the service named

text/plain
Responsestring
get
/v2/discover/{name}

List actions

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
typestring | nullOptional
Responses
200

Returns the actions with status

application/json
get
/v2/actions

Get latest action_id belonging to a given pod_id

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

The action_id of the given pod_id has been fetched Successfully

text/plain
Responsestring
get
/v2/actions/from_pod/{id}

Upload podspec via rest api

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
action_idstringRequired
pod_idstring | nullOptional
pod_specanyOptional
statusstringRequired
Responses
200

Success

text/plain
Responsestring
post
/v2/actions/upload

Checkpoint a pod

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
action_idstring | nullRead-onlyOptional
cluster_idstringRequired
namespacestringRequired
pod_namestringRequired
runc_rootstringRequired
Responses
200

Returns the id for the task

text/plain
Responsestring
post
/v2/checkpoint/pod

Get status of a pod checkpoint operation

get

Returns the current status of a pod checkpoint based on action ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
action_idstringRequired
Responses
200

Returns the current status of the checkpoint operation

application/json
get
/v2/checkpoint/status/{action_id}

List checkpoints

get

Use query params to filter checkpoints

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
idsstring · uuid[]Optional
Responses
200

Returns checkpoints

application/json
get
/v2/checkpoints

Create checkpoint

post

Builds a new checkpoint without the metadata and information about the checkpoint with status initializing

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns the checkpoint id for the new checkpoint

text/plain
Responsestring
post
/v2/checkpoints

Deprecate checkpoint

patch

Marks checkpoint as deprecated, so that they can be removed on next internal state cleanup. Checkpoints marked deprecated are removed within a fixed number of days depending on our customer service agreement.

Note: Checkpoints can't directly be deleted as use them as versioning points and might be required for restores that might be in-flight setting them deprecated marks them to be cleaned up as soon as possible(likely within a day).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successfully deprecated checkpoint and returns id

text/plain
Responsestring
patch
/v2/checkpoints/deprecate/{id}

Put checkpoint info

put

Add information about the checkpointed pod and runtime

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Body
gpustringRequired
platformstringRequired
Responses
200

Successfully deprecated checkpoint and returns id

text/plain
Responsestring
put
/v2/checkpoints/info/{id}

Uploaded checkpoint

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
restore_pathstring | nullOptional
Responses
200

Marks the checkpoint as successfully uploaded

text/plain
Responsestring
post
/v2/checkpoints/uploaded/{id}

Upload file

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
pathstringRequired
Responses
200

Returns the URL to upload the file to

text/plain
Responsestring
put
/v2/files/{path}

List jobs

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns list of jobs from db

application/json
get
/v2/jobs

Update K8s Cluster Resource

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
cluster_idstring | nullOptional
metadataanyOptional
org_idstring | nullOptional
resourceone ofOptional
or
or
Responses
200

Resource id registered internally

text/plain
Responsestring
post
/v2/k8s/sync

List pods

get

Use query params to filter pods

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns pods

application/json
Responseobject · Pod[]

Entire json for the Kubernetes

get
/v2/pods

Restore a pod

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
action_idstringRequired
cluster_idstringOptional
Responses
200

Returns the checkpoint id for the new checkpoint

text/plain
Responsestring
post
/v2/restore/pod

Get User

get

Used to validate authentication token

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Returns your user-id (a uuid)

text/plain
Responsestring
get
/v2/user

Last updated

Was this helpful?