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",
"error": "<string>",
"visibility": "<string>",
"run_id": "<string>",
"inputs": {},
"outputs": [],
"children": {},
"restarts": []
}
],
"next_offset": -1
}List all jobs in your organization.
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",
"error": "<string>",
"visibility": "<string>",
"run_id": "<string>",
"inputs": {},
"outputs": [],
"children": {},
"restarts": []
}
],
"next_offset": -1
}The Sieve API key to authenticate with.
The maximum amount of jobs to show.
Exclude the first N jobs.
The status of the job. Possible values: 'queued', 'processing', 'error', 'finished', 'cancelled', . Leave empty to get all statuses.
Successful Response
Show child attributes
The id of the job.
The id of the function that the job belongs to. This can be the first 7 characters of the full id.
The ID of the organization that submitted the function.
The status of the job. Possible values: 'queued', 'processing', 'error', 'finished', 'cancelled'
The UTC time the job was created.
"2024-12-15T01:41:59.195000"
The UTC time the job started processing by the function.
"2024-12-15T01:41:59.195000"
The UTC time the job was completed.
"2024-12-15T01:41:59.195000"
The error that the job ran into. Empty string if there's no error.
"public" or "private".
The run_id of the job.
Show child attributes
Show child attributes
Show child attributes
The name of the output
The data of the output. Empty if the response is not from a job
The description of the output
The run id associated with this output
Whether this input is optional or required
Job restart metadata
Show child attributes
The UTC time the job restarted.
The reason the job restarted
The type of restart
preemption, OOM, error The run id that restarted
Was this page helpful?