Pular para o conteúdo principal
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Cabeçalhos

X-On-Behalf-Of
string

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

Parâmetros de caminho

session_id
string
obrigatório

Corpo

application/json
session_id
string
obrigatório
code
string
obrigatório
session_token
string | null
runtime
enum<string>
padrão:python
Opções disponíveis:
python,
python3,
javascript,
node,
go,
bash,
shell,
sh
cwd
string | null
env
Env · object
timeout_seconds
integer
padrão:60

Resposta

Resposta Bem-Sucedida

session_id
string
obrigatório
runtime
enum<string>
obrigatório
Opções disponíveis:
python,
python3,
javascript,
node,
go,
bash,
shell,
sh
cwd
string
obrigatório
exit_code
integer
obrigatório
stdout
string
padrão:""
stderr
string
padrão:""
files_changed
string[]
resource_usage
RuntimeResourceUsage · object | null