Skip to main content
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

Idempotency-Key
string
obrigatório
Minimum string length: 1
X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Corpo

application/json
compute
object
obrigatório
container
object
obrigatório
access
object
limits
object
name
string
placement
object
service
object

Resposta

Repetição idempotente equivalente

accrued_usd
number<double>
obrigatório
compute
object
obrigatório
created_at
string<date-time>
obrigatório
endpoints
object[]
obrigatório
id
string
obrigatório
limits
object
obrigatório
reason
object | null
obrigatório
started_at
string<date-time> | null
obrigatório
state
enum<string>
obrigatório
Opções disponíveis:
requested,
allocating,
provisioning,
running,
ready,
finalizing,
terminating,
succeeded,
failed,
terminated
terminal_at
string<date-time> | null
obrigatório
ready
boolean
obrigatório
allocated_at
string<date-time>
hardware
object
name
string
price_usd_hr
number<double>
provider
string

Identificador opaco do provedor de computação. Os valores suportados são específicos da implantação.

Minimum string length: 1
ssh
object