Skip to main content
POST
Create Endpoint

Header

Content-Type
string
erforderlich

Allowed value: application/json.

Authorization
string
erforderlich

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

Body

application/json
type
enum<string>
erforderlich

Endpoint type. Allowed values: sync, async.

Verfügbare Optionen:
sync,
async
Beispiel:

"sync"

name
string
erforderlich

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

Beispiel:

"example-endpoint"

product_id
string
erforderlich

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

Beispiel:

"product-id"

image
string
erforderlich

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

Beispiel:

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

worker_config
object
erforderlich

Worker configuration.

app_name
string

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

Beispiel:

"example-app"

registry_auth_id
string

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

Beispiel:

"registry-auth-id"

entrypoint
string

Container entrypoint.

Beispiel:

""

command
string

Startup command.

Beispiel:

""

policy
object

Scheduling / request policy.

volumes
object[]

Mount list.

envs
object[]

Environment variable list.

ports
integer[]

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

Beispiel:
health_check
object

Health check configuration.

region_id
string

Region ID.

Beispiel:

"region-id"

Antwort

200 - application/json

OK

id
string

ID of the created Endpoint

Beispiel:

"endpoint-id"

Zuletzt geändert am 10. August 2026