Skip to main content
GET /api/v1/forward/schedule_runs Lists Schedule Runs for an Identity. Pass schedule_id to narrow results to one Schedule.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT>

Query parameters

ParameterTypeRequiredDefaultDescription
identity_idstringYesForward Identity ID that owns the runs.
schedule_idstringNo-Filter by Schedule ID.
statusstringNo-Filter by pending, running, completed, failed, or skipped.
trigger_typestringNo-Filter by schedule or manual.
has_errorbooleanNo-Filter to runs with or without an error.
limitintegerNo20Items per page. Maximum 100.
after_idstringNo-Cursor for records after the given Run ID.
before_idstringNo-Cursor for records before the given Run ID.

Example request

curl -s -X GET 'https://api.qoder.com/api/v1/forward/schedule_runs?identity_id=idn_019eabc123&schedule_id=sched_019f00112233445566778899aabbccdd&limit=20' \
  -H "Authorization: Bearer $QODER_PAT"

Example response

HTTP 200 OK
{
  "data": [
    {
      "id": "srun_019f00112233445566778899aabbccdd",
      "schedule_id": "sched_019f00112233445566778899aabbccdd",
      "identity_id": "idn_019eabc123",
      "template_id": "tmpl_support",
      "session_id": "sess_019ec55a68b37e1e8d660691af161ab4",
      "status": "completed",
      "trigger_context": {
        "type": "schedule",
        "scheduled_at": "2026-06-22T01:00:00Z"
      },
      "error": null,
      "result_payload": "Today's technology highlights: ...",
      "push_sink": "im_channel",
      "push_status": "succeeded",
      "push_finished_at": "2026-06-22T01:00:21Z",
      "attempt": 1,
      "triggered_at": "2026-06-22T01:00:00Z",
      "started_at": "2026-06-22T01:00:03Z",
      "completed_at": "2026-06-22T01:00:20Z",
      "duration_ms": 17000,
      "created_at": "2026-06-22T01:00:00Z"
    }
  ],
  "first_id": "srun_019f00112233445566778899aabbccdd",
  "last_id": "srun_019f00112233445566778899aabbccdd",
  "has_more": false
}

Response fields

FieldTypeDescription
dataarraySchedule Run objects on the current page.
first_idstring|nullID of the first run on this page.
last_idstring|nullID of the last run on this page.
has_morebooleanWhether more records remain.
Each data[] item is a Schedule Run object with the same fields documented by Get Schedule Run, including trigger_context, error, push_sink, push_status, and execution timestamps.

Errors

HTTPTypeCodeTrigger
400invalid_request_errorinvalid_identityidentity_id is missing or invalid.
400invalid_request_errorinvalid_paginationPagination parameters are invalid.
401authentication_errorauthentication_requiredPAT invalid or expired.

Notes

  • Schedule Runs are independent resources.
  • completed, failed, and skipped are terminal statuses.
  • push_status describes IM streaming delivery and is independent from the main run status.

Run a schedule

Get schedule run