Skip to main content

List in-progress

Description

Retrieve a list of in progress jobs from the Tines tenant.

Request

HTTP Method: GET

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

Response

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

Field description

ParameterDescription
idJob ID.
typeJob type.
agent (Hash)Contains action description (AgentReceiveJob type entries only).
eventsEvent ID.
started_atJob starting time.

Sample response

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