---
title: "Changes to Create a scheduler for a function"
method: POST
path: "/projects/{id}/functions/{functionId}/schedulers"
---

# Changes to Create a scheduler for a function

`POST /projects/{id}/functions/{functionId}/schedulers`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 24 revisions.

- **2026-10-26** `4b0676e06128`: 5 info
- **2026-10-07** `23e7875e7c4c`: 1 info
- **2026-09-19** `3a6f365f3f35`: 7 breaking, 25 info
- **2026-08-27** `bb44e98aba2e`: 4 breaking, 24 warning
- **2026-07-27** `bb52784e098a`: 1 warning, 1 info

## Changes

- **2026-10-26** `4b0676e06128`: 5 info
  - added the optional property `consecutive_failures` to the response with the `201` status
  - added the optional property `health` to the response with the `201` status
  - added the optional property `last_failure_at` to the response with the `201` status
  - added the optional property `last_run_status` to the response with the `201` status
  - added the optional property `last_success_at` to the response with the `201` status
- **2026-10-07** `23e7875e7c4c`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 7 breaking, 25 info
  - added the new path request parameter `functionId`
  - added the new path request parameter `id`
  - added the new required request property `name`
  - added the new required request property `schedule`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `201`
  - the response's body type changed from no type to `object` for status `400`
  - added the new optional request property `enabled`
  - added the new optional request property `payload`
  - added the new optional request property `regions`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the optional property `code` to the response with the `400` status
  - added the optional property `created_at` to the response with the `201` status
  - added the optional property `cron_expression` to the response with the `201` status
  - added the optional property `enabled` to the response with the `201` status
  - added the optional property `function_id` to the response with the `201` status
  - added the optional property `function_kind` to the response with the `201` status
  - added the optional property `id` to the response with the `201` status
  - added the optional property `last_completed_at` to the response with the `201` status
  - added the optional property `last_error` to the response with the `201` status
  - added the optional property `last_started_at` to the response with the `201` status
  - added the optional property `name` to the response with the `201` status
  - added the optional property `next_run_at` to the response with the `201` status
  - added the optional property `payload` to the response with the `201` status
  - added the optional property `project_id` to the response with the `201` status
  - added the optional property `regions` to the response with the `201` status
  - added the optional property `regions_explicit` to the response with the `201` status
  - added the optional property `run_count` to the response with the `201` status
  - added the optional property `schedule_kind` to the response with the `201` status
  - added the optional property `updated_at` to the response with the `201` status
  - added the required property `error` to the response with the `400` status
- **2026-08-27** `bb44e98aba2e`: 4 breaking, 24 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `201`
  - the response's body type changed from `object` to no type for status `400`
  - removed the required property `error` from the response with the `400` status
  - deleted the `path` request parameter `functionId`
  - deleted the `path` request parameter `id`
  - removed the request property `enabled`
  - removed the request property `name`
  - removed the request property `payload`
  - removed the request property `regions`
  - removed the request property `schedule`
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `created_at` from the response with the `201` status
  - removed the optional property `cron_expression` from the response with the `201` status
  - removed the optional property `enabled` from the response with the `201` status
  - removed the optional property `function_id` from the response with the `201` status
  - removed the optional property `id` from the response with the `201` status
  - removed the optional property `last_completed_at` from the response with the `201` status
  - removed the optional property `last_error` from the response with the `201` status
  - removed the optional property `last_started_at` from the response with the `201` status
  - removed the optional property `name` from the response with the `201` status
  - removed the optional property `next_run_at` from the response with the `201` status
  - removed the optional property `payload` from the response with the `201` status
  - removed the optional property `project_id` from the response with the `201` status
  - removed the optional property `regions` from the response with the `201` status
  - removed the optional property `regions_explicit` from the response with the `201` status
  - removed the optional property `schedule_kind` from the response with the `201` status
  - removed the optional property `updated_at` from the response with the `201` status
- **2026-07-27** `bb52784e098a`: 1 warning, 1 info
  - the `name` request property's maxLength was set to `200`
  - added the optional property `code` to the response with the `400` status

---

[Operation](https://skmtc.dev/kong/apis/volcano-api/docs/projects/:id/functions/:functionId/schedulers/post.md) - [API](https://skmtc.dev/kong/apis/volcano-api.md) - [Page](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/functions/:functionId/schedulers/post)
