Qyra
ReferenceSchedulers

List scheduler runs

Get paginated scheduler runs with aggregated child job counts

GET/api/v1/schedulers/{projectUuid}/runs

Authentication: personal access token. The spec defines an api_key security scheme — send an Authorization: ApiKey <your-personal-access-token> header (value format: ApiKey <your key>). A session_cookie scheme (connect.sid) exists for browser sessions. Operations in this spec declare security: [], an artifact of the upstream spec generator — authentication is still enforced by the server.

Path parameters

NameTypeRequiredDescription
projectUuidstringYesThe uuid of the project

Query parameters

NameTypeRequiredDescription
pageSizenumberNonumber of items per page
pagenumberNopage number
searchQuerystringNosearch query to filter runs by scheduler name
sortBystringNocolumn to sort by (scheduledTime, createdAt)
sortDirectionstringNosort direction (asc or desc)
schedulerUuidsstringNofilter by specific scheduler UUIDs (comma-separated)
statusesstringNofilter by run statuses (comma-separated: completed, partial_failure, failed, running, scheduled)
createdByUserUuidsstringNofilter by creator user UUIDs (comma-separated)
destinationsstringNofilter by destination types (comma-separated: email, slack, msteams, googlechat)
resourceTypestringNofilter by resource type (chart or dashboard)
resourceUuidsstringNofilter by resource UUIDs (comma-separated)

Responses

200 — Success

{
  "results": {
    "pagination": {
      "page": 0,
      "pageSize": 0,
      "totalResults": 0,
      "totalPageCount": 0
    },
    "data": [
      {
        "format": "csv",
        "createdByUserName": "string",
        "createdByUserUuid": "string",
        "resourceName": "string",
        "resourceUuid": "string",
        "resourceType": "chart",
        "logCounts": {
          "error": 0,
          "completed": 0,
          "started": 0,
          "scheduled": 0,
          "total": 0
        },
        "details": {},
        "createdAt": "2024-01-01T00:00:00.000Z",
        "runStatus": "completed",
        "status": "scheduled",
        "scheduledTime": "2024-01-01T00:00:00.000Z",
        "schedulerName": "string",
        "schedulerUuid": "string",
        "runId": "string"
      }
    ]
  },
  "status": "ok"
}

default — Error

{
  "error": {
    "data": "string",
    "message": "string",
    "name": "string",
    "statusCode": 0
  },
  "status": "error"
}