Rensei docs

List runs (workflow instances) across all of a project's workflows.

List runs (workflow instances) across all of a project's workflows. - Rensei REST API operation reference.

GET
/api/projects/{projectId}/runs

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Path Parameters

projectId*string

Project id.

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
pageSize?integer
Range1 <= value <= 100
workflowId?string

Restrict to one workflow.

status?string

pending | running | completed | failed | cancelled.

triggerType?string

webhook | schedule | manual | requester.

Response Body

application/json

curl -X GET "https://example.com/api/projects/string/runs"
{
  "runs": [
    {
      "id": "string",
      "workflowId": "string",
      "workflowName": "string",
      "status": "string",
      "triggerType": "string",
      "error": null,
      "isTestRun": true,
      "startedAt": "string",
      "completedAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "workflows": [
    {
      "id": "string",
      "name": "string"
    }
  ],
  "total": -9007199254740991,
  "page": -9007199254740991,
  "pageSize": -9007199254740991
}
Empty
Empty
Empty
Empty