Saltar al contenido principal
POST
Go (SDK)

Autorizaciones

Authorization
string
header
requerido

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.

Encabezados

X-On-Behalf-Of
string

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

Parámetros de ruta

session_id
string
requerido

Cuerpo

application/json
session_id
string
requerido
command
string
requerido
session_token
string | null
command_request_id
string | null
args
string[]
cwd
string | null
env
Env · object
timeout_seconds
integer
predeterminado:60

Respuesta

Respuesta Exitosa

session_id
string
requerido
command
string
requerido
cwd
string
requerido
exit_code
integer
requerido
args
string[]
stdout
string
predeterminado:""
stderr
string
predeterminado:""
files_changed
string[]
resource_usage
RuntimeResourceUsage · object | null