Skip to main content
GET
List workflow runs

Authorizations

Authorization
string
header
required

OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.

Path Parameters

workflowId
string
required

Query Parameters

filter
string

A SCIM-style filter expression restricting the items returned. See the Filtering section of the introduction for the operators and syntax; the filterable fields are listed per resource.

Filterable fields

  • string: context.app.id, context.app.name, context.appUser.appId, context.appUser.appInstanceName, context.appUser.appName, context.appUser.id, context.appUser.primaryExternalEmail, context.appUser.primaryExternalId, context.appUser.userEmail, context.appUser.userId, context.appUser.userName, context.person.email, context.person.id, context.person.lineManager.email, context.person.lineManager.id, context.person.lineManager.name, context.person.name, context.task.appliesToItemId, context.task.appliesToItemName, context.task.appliesToType, context.task.assignedTo.email, context.task.assignedTo.id, context.task.assignedTo.name, context.task.description, context.task.id, context.task.owner.email, context.task.owner.id, context.task.owner.name, context.task.status, context.task.taskTypeId, context.task.title, createdBy.email, createdBy.name, createdBy.userId, id, lastModifiedBy.email, lastModifiedBy.name, lastModifiedBy.userId, status, steps[failed.message], steps[id], steps[status]
  • date: context.person.leavingDate, context.person.startDate, context.task.dueDate, createdDtm, lastModifiedDtm, steps[completed.dtm], steps[failed.dtm], steps[waiting.dtm], steps[waiting.untilDtm], waitingUntilDtm
  • boolean: deleted

Filter examples

  • status eq "Waiting" — Runs that are currently waiting for input
  • steps[status eq "Waiting"] — Runs with a step that is waiting
  • context.person.email eq "new.starter@example.com" — Runs whose context person has the given email
  • createdDtm ge "2022-01-01" — Runs created on or after 1 Jan 2022
  • not (waitingUntilDtm pr) — Runs that are not waiting until a future time
q
string

Free-text search across the resource's displayable fields.

since
string<date-time>

Only return items modified at or after this ISO-8601 timestamp.

until
string<date-time>

Only return items modified at or before this ISO-8601 timestamp.

after
string

Opaque pagination cursor supplied by SaaS Manager via the link response header and the next field.

limit
integer
default:100

Maximum number of items to return per page (default 100, maximum 1000).

Required range: 1 <= x <= 1000
variables
string

A comma-separated list of workflow variable IDs whose values should be included in each run's context. Values are omitted unless requested here. Reading a secret (password) variable additionally requires the Workflows.Runs.ReadSecrets scope.

Response

OK

next
string

The URL of the next page of results. Absent when there are no more results.

results
object[]

The page of results.