curl --request PUT \
--url https://api.zo.computer/events/{agent_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rrule": "<string>",
"instruction": "<string>",
"title": "<string>",
"result_delivery_method": "email",
"model": "<string>",
"active": true
}
'{
"id": "<string>",
"rrule": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"next_run": "<string>",
"utc": true,
"title": "<string>",
"result_delivery_method": "email",
"model": "<string>",
"active": true
}Update an agent’s configuration.
Only provided fields are updated. At least one field required. Set active=false to pause without deleting.
curl --request PUT \
--url https://api.zo.computer/events/{agent_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rrule": "<string>",
"instruction": "<string>",
"title": "<string>",
"result_delivery_method": "email",
"model": "<string>",
"active": true
}
'{
"id": "<string>",
"rrule": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"next_run": "<string>",
"utc": true,
"title": "<string>",
"result_delivery_method": "email",
"model": "<string>",
"active": true
}Zo API key (zo_sk_...)
Successful Response
An agent (scheduled automated task).