Qyra
Referencev2

List dashboard scheduler runs

Get the run history of a single scheduler on a dashboard

GET/api/v2/dashboards/{dashboardUuid}/schedulers/{schedulerUuid}/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
dashboardUuidstringYesThe uuid of the dashboard
schedulerUuidstringYesThe uuid of the scheduler

Query parameters

NameTypeRequiredDescription
pageSizenumberNonumber of items per page
pagenumberNopage number
searchQuerystringNofilter runs by scheduler name
sortBystringNocolumn to sort by (scheduledTime, createdAt)
sortDirectionstringNosort direction (asc or desc)
statusesstringNocomma-separated list of run statuses to include
destinationsstringNocomma-separated list of destination types to include

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"
}