---
title: "Create a schedule"
description: "Starts runs of one workflow of one app on a cron timetable. The caller also needs workflows.runs.start on the workflow. A repeat with the same Idempotency-Key replays the stored 201 with Idempotent-Replayed: true. Names aren't unique."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Workflows API

`POST /v1/organizations/{orgId}/projects/{projectId}/schedules`

Starts runs of one workflow of one app on a cron timetable. The caller also needs workflows.runs.start on the workflow. A repeat with the same Idempotency-Key replays the stored 201 with Idempotent-Replayed: true. Names aren't unique.

## Authentication

Requires one of the following:

- `apiKey`, http, header `Authorization`
- `oauth`, http, header `Authorization`
- `sessionCookie`, apiKey, in cookie

## Path parameters

- `CreateSchedule.path.orgId` (string, required)
  - format `uuid`
- `CreateSchedule.path.projectId` (string, required)
  - format `uuid`

## Header parameters

- `CreateSchedule.header.Idempotency-Key` (string, optional) — Makes a retry safe: the same key and request get the stored response.
  - pattern `^[\x21-\x7e]{1,200}$`

## Request body

_Required._

- `CreateSchedule.appId` (string, required)
  - format `uuid`
- `CreateSchedule.cron` (string, required)
- `CreateSchedule.name` (string, required)
  - minLength 1; maxLength 100
- `CreateSchedule.workflow` (string, required)
  - pattern `^[A-Za-z0-9_-]{1,64}$`
- `CreateSchedule.catchupWindowSeconds` (integer, optional)
  - min 0; max 86400; default `3600`
- `CreateSchedule.input` (unknown, optional) — Any JSON value, at most 1 MiB: every run's input.
- `CreateSchedule.jitterSeconds` (integer, optional)
  - min 0; max 3600; default `0`
- `CreateSchedule.overlap` (string, optional)
  - one of `"skip"`, `"allow"`, `"bufferOne"`; default `"skip"`
- `CreateSchedule.paused` (boolean, optional)
  - default `false`
- `CreateSchedule.timeZone` (string, optional)
  - default `"UTC"`

## Example request

```json
{
  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",
  "catchupWindowSeconds": 3600,
  "cron": "string",
  "input": null,
  "jitterSeconds": 0,
  "name": "string",
  "overlap": "skip",
  "paused": false,
  "timeZone": "UTC",
  "workflow": "string"
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://workflows-api.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",
  "catchupWindowSeconds": 3600,
  "cron": "string",
  "input": null,
  "jitterSeconds": 0,
  "name": "string",
  "overlap": "skip",
  "paused": false,
  "timeZone": "UTC",
  "workflow": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://workflows-api.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    appId: '28c365d5-df94-4a54-8217-3ce51d068868',
    catchupWindowSeconds: 3600,
    cron: 'string',
    input: null,
    jitterSeconds: 0,
    name: 'string',
    overlap: 'skip',
    paused: false,
    timeZone: 'UTC',
    workflow: 'string'
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://workflows-api.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules"

payload = {
    "appId": "28c365d5-df94-4a54-8217-3ce51d068868",
    "catchupWindowSeconds": 3600,
    "cron": "string",
    "input": None,
    "jitterSeconds": 0,
    "name": "string",
    "overlap": "skip",
    "paused": False,
    "timeZone": "UTC",
    "workflow": "string"
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

The schedule this Idempotency-Key already created, once the key's stored answer has expired (48 h) and the request is the same in every field (otherwise 409 idempotency_conflict).

#### Example

```json
{
  "activeRunId": "134a5a0d-d6db-48c7-a90c-9d6689bf18d5",
  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",
  "catchupWindowSeconds": 0,
  "createdAt": "2019-08-24T14:15:22Z",
  "cron": "string",
  "hasInput": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "jitterSeconds": 0,
  "lastScheduledTime": "2019-08-24T14:15:22Z",
  "missed": 0,
  "name": "string",
  "nextFireAt": "2019-08-24T14:15:22Z",
  "nextScheduledTime": "2019-08-24T14:15:22Z",
  "overlap": "skip",
  "paused": true,
  "pausedBy": "customer",
  "resourceName": "string",
  "revision": 0,
  "skipped": 0,
  "timeZone": "string",
  "updatedAt": "2019-08-24T14:15:22Z",
  "workflow": "string"
}
```

- `CreateSchedule.response.200.activeRunId` (string | null, required)
  - format `uuid`
- `CreateSchedule.response.200.appId` (string, required)
  - format `uuid`
- `CreateSchedule.response.200.catchupWindowSeconds` (integer, required)
- `CreateSchedule.response.200.createdAt` (string, required)
  - format `date-time`
- `CreateSchedule.response.200.cron` (string, required) — 5 fields (minute hour day-of-month month day-of-week), or @hourly, @daily, @weekly, @monthly, @yearly.
- `CreateSchedule.response.200.hasInput` (boolean, required)
- `CreateSchedule.response.200.id` (string, required)
  - format `uuid`
- `CreateSchedule.response.200.jitterSeconds` (integer, required)
- `CreateSchedule.response.200.lastScheduledTime` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.200.missed` (integer, required) — Firings missed beyond the catch-up window.
- `CreateSchedule.response.200.name` (string, required)
- `CreateSchedule.response.200.nextFireAt` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.200.nextScheduledTime` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.200.overlap` (string, required)
  - one of `"skip"`, `"allow"`, `"bufferOne"`
- `CreateSchedule.response.200.paused` (boolean, required)
- `CreateSchedule.response.200.pausedBy` (string | null, required) — Who holds the schedule paused: customer (POST …/pause), system (the platform, while the organization's deletion is pending; it fires again if the deletion is cancelled), or null when it fires.
  - one of `"customer"`, `"system"`, `null`
- `CreateSchedule.response.200.resourceName` (string, required)
- `CreateSchedule.response.200.revision` (integer, required) — Changes with every create, update, pause, resume and delete; If-Match compares it. Firings don't change it.
- `CreateSchedule.response.200.skipped` (integer, required) — Firings skipped by the overlap policy.
- `CreateSchedule.response.200.timeZone` (string, required) — An IANA time zone.
- `CreateSchedule.response.200.updatedAt` (string, required)
  - format `date-time`
- `CreateSchedule.response.200.workflow` (string, required)

### 201

The new schedule. ETag is its revision.

#### Example

```json
{
  "activeRunId": "134a5a0d-d6db-48c7-a90c-9d6689bf18d5",
  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",
  "catchupWindowSeconds": 0,
  "createdAt": "2019-08-24T14:15:22Z",
  "cron": "string",
  "hasInput": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "jitterSeconds": 0,
  "lastScheduledTime": "2019-08-24T14:15:22Z",
  "missed": 0,
  "name": "string",
  "nextFireAt": "2019-08-24T14:15:22Z",
  "nextScheduledTime": "2019-08-24T14:15:22Z",
  "overlap": "skip",
  "paused": true,
  "pausedBy": "customer",
  "resourceName": "string",
  "revision": 0,
  "skipped": 0,
  "timeZone": "string",
  "updatedAt": "2019-08-24T14:15:22Z",
  "workflow": "string"
}
```

- `CreateSchedule.response.201.activeRunId` (string | null, required)
  - format `uuid`
- `CreateSchedule.response.201.appId` (string, required)
  - format `uuid`
- `CreateSchedule.response.201.catchupWindowSeconds` (integer, required)
- `CreateSchedule.response.201.createdAt` (string, required)
  - format `date-time`
- `CreateSchedule.response.201.cron` (string, required) — 5 fields (minute hour day-of-month month day-of-week), or @hourly, @daily, @weekly, @monthly, @yearly.
- `CreateSchedule.response.201.hasInput` (boolean, required)
- `CreateSchedule.response.201.id` (string, required)
  - format `uuid`
- `CreateSchedule.response.201.jitterSeconds` (integer, required)
- `CreateSchedule.response.201.lastScheduledTime` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.201.missed` (integer, required) — Firings missed beyond the catch-up window.
- `CreateSchedule.response.201.name` (string, required)
- `CreateSchedule.response.201.nextFireAt` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.201.nextScheduledTime` (string | null, required)
  - format `date-time`
- `CreateSchedule.response.201.overlap` (string, required)
  - one of `"skip"`, `"allow"`, `"bufferOne"`
- `CreateSchedule.response.201.paused` (boolean, required)
- `CreateSchedule.response.201.pausedBy` (string | null, required) — Who holds the schedule paused: customer (POST …/pause), system (the platform, while the organization's deletion is pending; it fires again if the deletion is cancelled), or null when it fires.
  - one of `"customer"`, `"system"`, `null`
- `CreateSchedule.response.201.resourceName` (string, required)
- `CreateSchedule.response.201.revision` (integer, required) — Changes with every create, update, pause, resume and delete; If-Match compares it. Firings don't change it.
- `CreateSchedule.response.201.skipped` (integer, required) — Firings skipped by the overlap policy.
- `CreateSchedule.response.201.timeZone` (string, required) — An IANA time zone.
- `CreateSchedule.response.201.updatedAt` (string, required)
  - format `date-time`
- `CreateSchedule.response.201.workflow` (string, required)

### 400

invalid_request (with issues), invalid_cursor, or the endpoint's own 400 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.400.error` (object, required)
  - `CreateSchedule.response.400.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.400.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.400.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.400.error.issues.message` (string, required)
    - `CreateSchedule.response.400.error.issues.path` (string, required)
  - `CreateSchedule.response.400.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.400.error.quota.id` (string, required)
    - `CreateSchedule.response.400.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.400.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.400.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.400.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.400.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.400.error.quota.region` (string, optional)
    - `CreateSchedule.response.400.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.400.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.400.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.400.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 401

unauthenticated: no credential, or one that doesn't check out.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.401.error` (object, required)
  - `CreateSchedule.response.401.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.401.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.401.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.401.error.issues.message` (string, required)
    - `CreateSchedule.response.401.error.issues.path` (string, required)
  - `CreateSchedule.response.401.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.401.error.quota.id` (string, required)
    - `CreateSchedule.response.401.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.401.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.401.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.401.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.401.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.401.error.quota.region` (string, optional)
    - `CreateSchedule.response.401.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.401.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.401.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.401.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 403

access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed; spend_limit_reached.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.403.error` (object, required)
  - `CreateSchedule.response.403.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.403.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.403.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.403.error.issues.message` (string, required)
    - `CreateSchedule.response.403.error.issues.path` (string, required)
  - `CreateSchedule.response.403.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.403.error.quota.id` (string, required)
    - `CreateSchedule.response.403.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.403.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.403.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.403.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.403.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.403.error.quota.region` (string, optional)
    - `CreateSchedule.response.403.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.403.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.403.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.403.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 404

not_found: unknown, malformed, or in an organization the caller isn't in.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.404.error` (object, required)
  - `CreateSchedule.response.404.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.404.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.404.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.404.error.issues.message` (string, required)
    - `CreateSchedule.response.404.error.issues.path` (string, required)
  - `CreateSchedule.response.404.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.404.error.quota.id` (string, required)
    - `CreateSchedule.response.404.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.404.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.404.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.404.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.404.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.404.error.quota.region` (string, optional)
    - `CreateSchedule.response.404.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.404.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.404.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.404.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 409

quota_exceeded (an allocation quota, with quota), idempotency_conflict, idempotency_in_progress (with Retry-After), organization_deletion_pending, operation_in_progress, or the endpoint's own 409 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.409.error` (object, required)
  - `CreateSchedule.response.409.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.409.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.409.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.409.error.issues.message` (string, required)
    - `CreateSchedule.response.409.error.issues.path` (string, required)
  - `CreateSchedule.response.409.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.409.error.quota.id` (string, required)
    - `CreateSchedule.response.409.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.409.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.409.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.409.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.409.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.409.error.quota.region` (string, optional)
    - `CreateSchedule.response.409.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.409.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.409.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.409.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 413

payload_too_large: the body is over the endpoint's limit (1 MiB unless it says otherwise).

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.413.error` (object, required)
  - `CreateSchedule.response.413.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.413.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.413.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.413.error.issues.message` (string, required)
    - `CreateSchedule.response.413.error.issues.path` (string, required)
  - `CreateSchedule.response.413.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.413.error.quota.id` (string, required)
    - `CreateSchedule.response.413.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.413.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.413.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.413.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.413.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.413.error.quota.region` (string, optional)
    - `CreateSchedule.response.413.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.413.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.413.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.413.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 429

too_many_requests, with Retry-After; or quota_exceeded (a rate, usage or concurrency quota, with quota), never with Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.429.error` (object, required)
  - `CreateSchedule.response.429.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.429.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.429.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.429.error.issues.message` (string, required)
    - `CreateSchedule.response.429.error.issues.path` (string, required)
  - `CreateSchedule.response.429.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.429.error.quota.id` (string, required)
    - `CreateSchedule.response.429.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.429.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.429.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.429.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.429.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.429.error.quota.region` (string, optional)
    - `CreateSchedule.response.429.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.429.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.429.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.429.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 500

internal_error: a bug; the details are in the logs, under the request ID.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.500.error` (object, required)
  - `CreateSchedule.response.500.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.500.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.500.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.500.error.issues.message` (string, required)
    - `CreateSchedule.response.500.error.issues.path` (string, required)
  - `CreateSchedule.response.500.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.500.error.quota.id` (string, required)
    - `CreateSchedule.response.500.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.500.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.500.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.500.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.500.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.500.error.quota.region` (string, optional)
    - `CreateSchedule.response.500.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.500.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.500.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.500.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 503

unavailable: a dependency the request needs is down. Retry after Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateSchedule.response.503.error` (object, required)
  - `CreateSchedule.response.503.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateSchedule.response.503.error.message` (string, required)
    - maxLength 1024
  - `CreateSchedule.response.503.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateSchedule.response.503.error.issues.message` (string, required)
    - `CreateSchedule.response.503.error.issues.path` (string, required)
  - `CreateSchedule.response.503.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `CreateSchedule.response.503.error.quota.id` (string, required)
    - `CreateSchedule.response.503.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateSchedule.response.503.error.quota.limit` (integer, required)
      - min 0
    - `CreateSchedule.response.503.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateSchedule.response.503.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateSchedule.response.503.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.503.error.quota.region` (string, optional)
    - `CreateSchedule.response.503.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateSchedule.response.503.error.quota.scopeResourceName` (string, optional)
    - `CreateSchedule.response.503.error.quota.used` (integer, optional)
      - min 0
    - `CreateSchedule.response.503.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.


Source: https://docs.ezghcloud.com/workflows-api/CreateSchedule/index.md
