Skip to main content
POST
Create Endpoint

Encabezados

Content-Type
string
requerido

Allowed value: application/json.

Authorization
string
requerido

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

Cuerpo

application/json
type
enum<string>
requerido

Endpoint type. Allowed values: sync, async.

Opciones disponibles:
sync,
async
Ejemplo:

"sync"

name
string
requerido

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

Ejemplo:

"example-endpoint"

product_id
string
requerido

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

Ejemplo:

"product-id"

image
string
requerido

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

Ejemplo:

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

worker_config
object
requerido

Worker configuration.

app_name
string

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

Ejemplo:

"example-app"

registry_auth_id
string

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

Ejemplo:

"registry-auth-id"

entrypoint
string

Container entrypoint.

Ejemplo:

""

command
string

Startup command.

Ejemplo:

""

policy
object

Scheduling / request policy.

volumes
object[]

Mount list.

envs
object[]

Environment variable list.

ports
integer[]

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

Ejemplo:
health_check
object

Health check configuration.

region_id
string

Region ID.

Ejemplo:

"region-id"

Respuesta

200 - application/json

OK

id
string

ID of the created Endpoint

Ejemplo:

"endpoint-id"

Última modificación el 10 de agosto de 2026