Skip to main content

List retry jobs


Retrieve a list of retry jobs from the Tines tenant.


HTTP Method: GET

Query ParameterDescription
pageOptional Retrieve page number from the paginated list (Default is 1).
Path ParameterDescription
curl -X GET \  https://<tenant-domain>/api/v1/admin/retry_jobs \  -H 'content-type: application/json' \  -H 'x-user-email: <email-address>' \  -H 'x-user-token: <api-token>'


A successful request will return a JSON Array describing retry jobs in the Tines tenant.

Field description#

idJob ID.
typeJob type.
agent (Hash)Contains action description (AgentReceiveJob type entries only).
agent (Integer)Action ID (CredentialRefreshJob type entries only).
eventsEvent ID.
retry_countAmount of times the job has been retried.
last_retryTime of the last retry.
error_classJob error type.

Sample response#

{    "admin/retry_jobs":    [      {          id: 1234,          type: "AgentReceiveJob",          agent: {            id: 1,            name: "Action 01",          },          events: 1,          retry_count: 5,          last_retry: 1567399360.056226,          error_class: ArgumentError      },      {          id: 1237,          type: "CredentialRefreshJob",          agent: 1,          retry_count: 5,          last_retry: "",          error_class: ArgumentError      }    ]    "meta": {        "current_page": "https://<tenant-domain>/api/v1/admin/retry_jobs?page=1&per_page=20",        "previous_page": null,        "next_page": "https://<tenant-domain>/api/v1/admin/retry_jobs?page=2&per_page=20",        "per_page": 20,        "pages": 0,        "count": 0    }}