Scheduled Tasks

List task execution history

Returns paginated execution history for a scheduled task. Requires admin role.

get/api/scheduled-tasks/{id}/runs

Path parameters

idinteger required

Numeric resource ID.

Query parameters

limitinteger
offsetinteger

Response

Array of task run records.

idinteger required
task_idinteger required
started_atinteger required

Unix timestamp (seconds).

completed_atinteger nullable
triggered_by'scheduled' | 'manual' required
status'pending' | 'running' | 'success' | 'failed' required
outputstring nullable
errorstring nullable

Changes

Changed in 4 of the 36 revisions of this API.149

    • removed the ADMIRAL_REQUIRED enum value from the code response property for the response status 400

      response-property-enum-value-removed

    • removed the ADMIRAL_REQUIRED enum value from the code response property for the response status 403

      response-property-enum-value-removed

    • removed the ADMIRAL_REQUIRED enum value from the code response property for the response status 404

      response-property-enum-value-removed

    • removed the ADMIRAL_REQUIRED enum value from the code response property for the response status 500

      response-property-enum-value-removed

    • added the new PAID_REQUIRED enum value to the code response property for the response status 400

      response-property-enum-value-added

    • added the new PAID_REQUIRED enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new PAID_REQUIRED enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new PAID_REQUIRED enum value to the code response property for the response status 500

      response-property-enum-value-added

    • removed the PRO_REQUIRED enum value from the code response property for the response status 400

      response-property-enum-value-removed

    • removed the PRO_REQUIRED enum value from the code response property for the response status 403

      response-property-enum-value-removed

    • removed the PRO_REQUIRED enum value from the code response property for the response status 404

      response-property-enum-value-removed

    • removed the PRO_REQUIRED enum value from the code response property for the response status 500

      response-property-enum-value-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation