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

X-On-Behalf-Of
string

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

Parâmetros de caminho

agent_id
string
obrigatório
schedule_id
string
obrigatório

Corpo

application/json
name
string | null
Required string length: 1 - 120
schedule
object
input
Required string length: 1 - 20000
conversation
any | null

Valor JSON arbitrário.

previous_response_id
string | null
context_management
object[] | null

Estratégias de gerenciamento de contexto a serem aplicadas durante a geração de resposta de execução do agente. Defina como nulo para limpar as estratégias de nível de agenda.

metadata
object

Resposta

Cronograma atualizado.

object
enum<string>
obrigatório
Opções disponíveis:
agent.schedule
id
string
obrigatório
agent_id
string
obrigatório
name
string | null
obrigatório
status
enum<string>
obrigatório
Opções disponíveis:
active,
paused,
completed,
deleted
schedule
object
obrigatório
input
any
obrigatório

Valor JSON arbitrário.

conversation
any | null
obrigatório

Valor JSON arbitrário.

previous_response_id
string | null
obrigatório
context_management
object[] | null
obrigatório
metadata
object | null
obrigatório
temporal_schedule_id
string | null
obrigatório
last_run_at
string<date-time> | null
obrigatório
last_run_id
string | null
obrigatório
run_count
integer
obrigatório
created_at
string<date-time>
obrigatório
updated_at
string<date-time>
obrigatório
deleted_at
string<date-time> | null
obrigatório