Skip to main content
POST
Create Instance

ヘッダー

Content-Type
string
必須

Allowed value: application/json.

Authorization
string
必須

Bearer authentication format, e.g.: Bearer {{API_KEY}}.

ボディ

application/json
name
string
必須

Instance name. String, length: 1-255 characters.

:

"example-instance"

product_id
string
必須

Product ID.

:

"product-id"

image
string
必須

Image address. String, length: 1-500 characters.

:

"registry.example.com/namespace/image:tag"

billing
object
必須

Billing configuration.

resource
object
必須

Resource configuration.

type
enum<string>

Instance type. Allowed values: gpu, cpu. Default: gpu.

利用可能なオプション:
gpu,
cpu
registry_auth_id
string

Saved registry authentication ID. String, length: 0-255 characters.

:

"registry-auth-id"

entrypoint
string

Container entrypoint.

:

""

command
string

Container startup command.

:

""

envs
object[]

Environment variable list.

ports
object[]

Exposed port list.

network
object

VPC network configuration.

volumes
object[]

Data disk / network storage mounts.

candidate_regions
string[]

Candidate regions for scheduling. The instance is finally scheduled to one of them.

:
tools
object

Instance tool configuration. Currently only Jupyter is supported.

auto_migrate
object

Auto-migrate configuration.

レスポンス

200 - application/json

OK

id
string

ID of the created instance

:

"ca338f12f3"

最終更新日 2026年8月10日