---
title: "Create ARK schedule"
method: POST
path: "/api/v1/orgs/{orgId}/clusters/{id}/schedules"
tags: ["ark-schedules"]
---

# Create ARK schedule

`POST /api/v1/orgs/{orgId}/clusters/{id}/schedules`

Create ARK schedule

## Path parameters

- `orgId` integer, required
- `id` integer, required

## Request body

- CreateScheduleRequest
  - `name` string, required
  - `schedule` string, required
  - `ttl` string, required
  - `labels` Labels
    - `backup-type` string
  - `options` BackupOptions
    - `includedNamespaces` string[]
    - `includedResources` string[]
    - `excludedNamespaces` string[]
    - `excludedResources` string[]
    - `snapshotVolumes` boolean
    - `includeClusterResources` boolean

## Response `200`

Schedule created successfully

- CreateScheduleResponse
  - `name` string
  - `status` integer

## Other responses

- `default` — Internal server error

---

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