---
title: "PUT /v1/agents/{agent_id}/schedule"
method: PUT
path: "/v1/agents/{agent_id}/schedule"
tags: ["schedules"]
---

# PUT /v1/agents/{agent_id}/schedule

`PUT /v1/agents/{agent_id}/schedule`

## Path parameters

- `agent_id` string, uuid, required

## Request body

- ScheduleBody
  - `cron` string, required

## Response `200`

- SetScheduleResponse
  - `error` string, nullable
  - `success` boolean, required

## Other responses

- `400`

---

[API](https://skmtc.net/twin/apis/twin-api.md) · [All operations](https://skmtc.net/twin/apis/twin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twin/twin-api/versions/a674e57c2ec4/schema)
