Pods

Create pod

post

Create pod

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

OpenapiPodCreateRequest

imagePublicTypestringOptional

ImagePublicTypeEnum: PUBLIC, PRIVATE

resourceTypestringOptional

ResourceTypeEnum: GPU,CPU

regionstringOptional

Region

regionListstring[]Optional

Region List

podNamestringOptional

pod nick name

imagestring · min: 1 · max: 255Required

image name

imageRegistrystringOptional

image registry url

Default: https://index.docker.io/v1/
imageRegistryUsernamestringOptional

image registry username

imageRegistryTokenstringOptional

image registry token or password

gpuTypestring · min: 1Required

gpu type

gpuCountinteger · int32Optional

gpu count

shmInGbinteger · int32 · min: 1Optional

shm unit:GB

minSingleCardRamInGbinteger · int32 · max: 1536Optional

min single card ram unit: GB

minSingleCardVramInGbinteger · int32 · max: 1536Optional

min single card vram unit: GB

minSingleCardVcpuinteger · int32Optional

min single card vcpu unit: count

containerVolumeInGbinteger · int32Optional

container volume unit:GB

persistentVolumeInGbinteger · int32Optional

persistent volume unit:GB

persistentMountPathstringOptional

persistent mount path

initializationCommandstringOptional

initialization command

Responses
post
/openapi/v1/pods/create

Get pod detail

get

Fetch detailed information of a specific pod by its ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
podIdinteger · int64Required
Responses
get
/openapi/v1/pods/{podId}

Get Org pod list

get

Get Org pod list

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
regionListstring[]Optional
statusListinteger · int32[]Optional
Responses
get
/openapi/v1/pods/list

Pod resume

post

Pod resume

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
podIdinteger · int64Required
Responses
post
/openapi/v1/pods/resume/{podId}

Pod pause

post

Pod pause

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
podIdinteger · int64Required
Responses
post
/openapi/v1/pods/pause/{podId}

Last updated

Was this helpful?