Skip to main content
POST
Python (SDK)

Autorizaciones

Authorization
string
header
requerido

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>.

Encabezados

X-On-Behalf-Of
string

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

Parámetros de ruta

agent_id
string
requerido

Cuerpo

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

Valor JSON arbitrario.

previous_response_id
string
context_management
object[]

Estrategias de gestión del contexto a aplicar durante la generación de respuestas por el agente. Soporta la compactación, que resume el historial de conversación anterior cuando el contexto excede un umbral de tokens.

metadata
object

Respuesta

Horario creado.

object
enum<string>
requerido
Opciones disponibles:
agent.schedule
id
string
requerido
agent_id
string
requerido
name
string | null
requerido
status
enum<string>
requerido
Opciones disponibles:
active,
paused,
completed,
deleted
schedule
object
requerido
input
any
requerido

Valor JSON arbitrario.

conversation
any | null
requerido

Valor JSON arbitrario.

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