---
title: "List"
method: POST
path: "/api/v1/schedules"
tags: ["Schedules"]
---

# List

`POST /api/v1/schedules`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/schedules`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Retrieves all scan schedules for an organization

## Request body

- object
  - `organizationId` string, required: Organization to list schedules for
  - `repositoryIds` string[], required: List of repository IDs to filter schedules for

## Response `200`

List of scan schedules

- Schedule[]
  - `id` string, required: Unique identifier for the schedule
  - `organizationId` string, required: Organization this schedule belongs to
  - `repositoryIds` string[]: IDs of repositories included in this schedule
  - `crontab` string, required: Crontab expression defining when scans should run
  - `timezone` string: Timezone for the schedule
  - `createdAt` string, date-time, required: When the schedule was created
  - `updatedAt` string, date-time, required: When the schedule was last updated

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
