Functions

List every function scheduler in a project

Changed on

Project-scoped counterpart to /projects/{id}/functions/{functionId}/schedulers. Returns schedulers across all functions in the project, ordered by creation time descending, with standard page/limit pagination so clients don't have to fan out one request per function.

Schedulers of standard and durable functions are listed together, and each carries function_kind. Pass function_kind to list one kind only.

get/projects/{id}/schedulers

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Query parameters

page, integer

Page number (1-indexed) for offset pagination. Declares no schema default so the request validator does not inject one: handlers that omit page see it unset (nil) and default to 1 in code, while cursor-first endpoints (e.g. the project deployments feed) can detect its absence to stay in keyset/search mode. Supplying page selects offset pagination.

limit, integer

Number of items per page (max 100)

cursor, string

Opaque keyset pagination cursor from a previous response's next_cursor — pages forward. Mutually exclusive with page and ending_before; combining them returns 400. When supplied, the request's search and limit must match the values bound to the cursor or the request returns 400.

ending_before, string

Opaque keyset pagination cursor from a previous response's prev_cursor — pages backward (the page immediately preceding this cursor). Mutually exclusive with page and cursor; combining them returns 400. search and limit must match the values bound to the cursor or the request returns 400.

offset, integer

Bounded row offset past the keyset anchor named by cursor (forward) or ending_before (backward) — the hybrid jump. Seek to the anchor, then skip this many rows within. Used for numbered jump-to-page: from the current page, seek to its next/prev cursor and offset the remaining pages. Only honored on the cursor pagination path; ignored otherwise.

search, string

Case-insensitive substring match on the resource name. See the endpoint description for supported pagination modes.

function_kind, 'standard' | 'durable'

A function kind to filter a list by. Unlike FunctionKind it has no default: omitting the filter includes both kinds.

Restrict results to functions of one kind. Omit to include both standard and durable functions.

Response

Project schedulers

FunctionSchedulerListResponse required
data, FunctionScheduler[] required
page, integer required
limit, integer required
total, integer required
has_more, boolean required
next_cursor, string

Opaque cursor for the next page (cursor pagination only; present if has_more is true)

prev_cursor, string

Opaque cursor for the previous page (cursor pagination only; present when a previous page exists). Send as ending_before.

Changes

    • info

      added the optional property data/items/consecutive_failures to the response with the status

    • info

      added the optional property data/items/health to the response with the status

    • info

      added the optional property data/items/last_failure_at to the response with the status

    2 more changes in this revision