workflows

List Workflow

List workflows.

Offset mode reads api.workflows_index with sort, filters, search and labels. offset selects it, as does any of sort, dir, search, labels, live, published, has_trigger, trigger_status, created_by, modified_by or last_run_after/before. The first page (offset 0) carries the match count in pagination.total and the X-Total-Count header, and pagination.offset is the next page's offset (null on the last page).

Otherwise, and whenever cursor or ids is given, it is the original list ordered by created_at: follow pagination.next_cursor until it is null.

get/workflow/workflows

Request

  • Base URL
    https://api.anyreach.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

idsstring nullable

Comma-separated workflow ids to fetch (e.g. recently accessed), at most 50. Selects cursor mode.

offsetinteger nullable

Offset of the first row. Selects offset mode.

limitinteger

Limit the number of workflows returned

cursorstring nullable

Cursor for pagination. Selects cursor mode.

sortstring nullable

Sort by name, created_at, updated_at, created_by, modified_by, total_runs, last_run, live, published or label:<key>. Default created_at.

dirstring nullable

asc or desc (default desc)

searchstring nullable

Case-insensitive match on the workflow name

namestring nullable

Filter workflows by name (in offset mode, an alias of search)

labelsstring nullable

JSON object of label filters: {"key": "value"}, {"key": ["any", "of"]} or {"key": null} for "not set"

liveboolean nullable

Has a live version

publishedboolean nullable

Has a published version

has_triggerboolean nullable

The published (else latest) version has a trigger

trigger_statusstring nullable

Comma-separated subset of active, testing, inactive

created_bystring nullable

Creator actor

modified_bystring nullable

Last modifier actor

created_afterstring date-time nullable

Filter workflows created after this datetime

created_beforestring date-time nullable

Filter workflows created before this datetime

updated_afterstring date-time nullable

Filter workflows updated after this datetime

updated_beforestring date-time nullable

Filter workflows updated before this datetime

last_run_afterstring date-time nullable

Filter workflows last run after this datetime

last_run_beforestring date-time nullable

Filter workflows last run before this datetime

Headers

x-anyreach-orgstring nullable

Organization ID for user PATs (pat_ prefix tokens)

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.