List jobs

GET {{baseUrl}}/services/:serviceId/jobs?cursor=<string>&limit=20&status=succeeded,failed&createdBefore=<dateTime>&createdAfter=<dateTime>&startedBefore=<dateTime>&startedAfter=<dateTime>&finishedBefore=<dateTime>&finishedAfter=<dateTime>

Request Params

KeyDatatypeRequiredDescription
cursorstringCursor to begin retrieving entries for this query
limitnumberMax number of items that can be returned
statusstringFilter for the status of the job (pending, running, succeeded, or failed)
createdBeforestringFilter for jobs created before a certain time (specified as an ISO 8601 timestamp)
createdAfterstringFilter for jobs created after a certain time (specified as an ISO 8601 timestamp)
startedBeforestringFilter for jobs started before a certain time (specified as an ISO 8601 timestamp)
startedAfterstringFilter for jobs started after a certain time (specified as an ISO 8601 timestamp)
finishedBeforestringFilter for jobs finished before a certain time (specified as an ISO 8601 timestamp)
finishedAfterstringFilter for jobs finished after a certain time (specified as an ISO 8601 timestamp)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;job&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;serviceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;startCommand&quot;:&quot;\u003cstring\u003e&quot;,&quot;planId&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cstring\u003e&quot;,&quot;startedAt&quot;:&quot;\u003cstring\u003e&quot;,&quot;finishedAt&quot;:&quot;\u003cstring\u003e&quot;},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;},{&quot;job&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;serviceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;startCommand&quot;:&quot;\u003cstring\u003e&quot;,&quot;planId&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cstring\u003e&quot;,&quot;startedAt&quot;:&quot;\u003cstring\u003e&quot;,&quot;finishedAt&quot;:&quot;\u003cstring\u003e&quot;},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;}]