---
title: "GET /v2/scheduler/{agent_id}"
method: GET
path: "/v2/scheduler/{agent_id}"
tags: ["Scheduler"]
---

# GET /v2/scheduler/{agent_id}

`GET /v2/scheduler/{agent_id}`

## Request

- Base URL: `https://api.agenty.com`
- URL: `https://api.agenty.com/v2/scheduler/{agent_id}`
- Auth: HTTP bearer

Get the cron schedule of an agent.

## Path parameters

- `agent_id` string, required

## Response `200`

- SchedulerDtoOutput
  - `scheduler` object, required
    - `type` 'cron' | 'interval', required
    - `expression` string, required
    - `frequency` number, nullable
    - `description` string, nullable
    - `is_enabled` boolean, required
  - `next_scheduled_run_at` string, nullable
  - `last_scheduled_run_at` string, nullable

---

[API](https://skmtc.dev/agenty/apis/web-scraping-api-agenty.md) - [All operations](https://skmtc.dev/agenty/apis/web-scraping-api-agenty/llms.txt) - [OpenAPI document](https://skmtc.dev/agenty/apis/web-scraping-api-agenty/revisions/5392481adaca?raw)
