GET
/
v2
/
jobs
curl --request GET \
  --url https://mango.sievedata.com/v2/jobs \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "function_id": "<string>",
      "organization_id": "<string>",
      "function": {
        "name": "<string>",
        "owner_name": "<string>"
      },
      "status": "<string>",
      "created_at": "2024-12-15T01:41:59.195000",
      "started_at": "2024-12-15T01:41:59.195000",
      "completed_at": "2024-12-15T01:41:59.195000",
      "inputs": {},
      "outputs": [],
      "error": "<string>",
      "visibility": "<string>",
      "run_id": "<string>",
      "children": {},
      "restarts": [
        {
          "timestamp": "2024-12-15T01:41:59.195000",
          "reason": "<string>",
          "type": "preemption",
          "run_id": "<string>"
        }
      ]
    }
  ],
  "next_offset": -1
}

Authorizations

X-API-Key
string
header
required

The Sieve API key to authenticate with.

Query Parameters

limit
integer
default:
500

The maximum amount of jobs to show.

offset
integer
default:
0

Exclude the first N jobs.

status
string
default:

The status of the job. Possible values: 'queued', 'processing', 'error', 'finished', 'cancelled', . Leave empty to get all statuses.

Response

200
application/json
Successful Response
data
object[]
required
next_offset
integer
default:
-1