Pular para o conteúdo principal
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

X-On-Behalf-Of
string

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

Parâmetros de caminho

agent_id
string
obrigatório
run_id
string
obrigatório

Corpo

application/json
approval_request_id
string
obrigatório
Minimum string length: 1
approve
boolean
obrigatório
reason
string
Required string length: 1 - 2000

Resposta

Decisão de aprovação do MCP aceita e execução de continuação criada.

object
enum<string>
obrigatório
Opções disponíveis:
agent.run.mcp_approval
approval_request_id
string
obrigatório
approved
boolean
obrigatório
source_run_id
string
obrigatório
continuation_run
object
obrigatório