Skip to main content
POST
Create Endpoint

ヘッダー

Content-Type
string
必須

Allowed value: application/json.

Authorization
string
必須

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

ボディ

application/json
type
enum<string>
必須

Endpoint type. Allowed values: sync, async.

利用可能なオプション:
sync,
async
:

"sync"

name
string
必須

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

:

"example-endpoint"

product_id
string
必須

Serverless product ID. String, length: 1-255 characters.

:

"product-id"

image
string
必須

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

:

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

worker_config
object
必須

Worker configuration.

app_name
string

Application name. String, length: 0-255 characters.

:

"example-app"

registry_auth_id
string

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

:

"registry-auth-id"

entrypoint
string

Container entrypoint.

:

""

command
string

Startup command.

:

""

policy
object

Scheduling / request policy.

volumes
object[]

Mount list.

envs
object[]

Environment variable list.

ports
integer[]

Port list. Each value in range: [1, 65535].

:
health_check
object

Health check configuration.

region_id
string

Region ID.

:

"region-id"

レスポンス

200 - application/json

OK

id
string

ID of the created Endpoint

:

"endpoint-id"

最終更新日 2026年8月10日