> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Resume a schedule

> Restart a paused schedule.

Resumes a paused schedule: the next fire is recomputed from now (fires missed while paused are not made up), `pause_note` clears, and the consecutive-failure counter resets. Resuming a schedule that is not paused is a no-op.

**Returns** the updated [schedule object](/computer-use-agents/schedules/retrieve) with `paused: false`.

***

## Path parameters

<ParamField path="schedule_id" type="string" required>
  The schedule's id (UUID).
</ParamField>

***

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://agp.eu.hcompany.ai/api/v2/schedules/9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f/resume" \
    -H "Authorization: Bearer $HAI_API_KEY"
  ```

  ```python Python theme={null}
  from hai_agents import Client

  client = Client()

  schedule = client.schedules.resume_schedule("9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f")
  print(schedule.next_run_times[0])
  ```

  ```typescript TypeScript theme={null}
  import { HaiAgentsClient } from "hai-agents";

  const client = new HaiAgentsClient();

  const schedule = await client.schedules.resumeSchedule({ scheduleId: "9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f" });
  console.log(schedule.nextRunTimes[0]);
  ```
</CodeGroup>

***

## Errors

| Status | Cause                                          |
| ------ | ---------------------------------------------- |
| `404`  | No schedule with this id in your organization. |
