---
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`

## Request

- Base URL: `http://localhost:9090`
- URL: `http://localhost:9090/api/v1/orgs/{orgId}/clusters/{id}/schedules`
- Auth: HTTP bearer

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.dev/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.dev/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banzaicloud/apis/pipeline-api/revisions/a2e35c430378?raw)
