API Reference
List Jobs
GET
/
v1
/
jobs
Authorization
curl --request GET \
--url https://mango.sievedata.com/v1/jobs \
--header 'X-API-Key: <x-api-key>'
{
"data": [
{
"id": "506f3a2d-cae1-4a84-b816-f9e189a15cf0",
"workflow_id": "85c9563b-cc53-45e6-b993-508efaee9802",
"time": {
"queued":"2023-02-13T02:02:57.015000",
"started":"2023-02-13T04:34:48.949000",
"completed":"2023-02-13T04:38:17.853000"
},
"status": "finished",
"error": "",
"user_inputs": {
"image": {
"url": "https://www.incimages.com/uploaded_files/image/1920x1080/getty_481292845_77896.jpg"
}
},
"data": ["a man sitting at a table with a laptop "],
"types":["builtins.str"],
"next_offset":-1
}
]
}
This endpoint returns a list of jobs that have been created by the user.
curl --request GET \
--url https://mango.sievedata.com/v1/jobs \
--header 'X-API-Key: <x-api-key>'
{
"data": [
{
"id": "506f3a2d-cae1-4a84-b816-f9e189a15cf0",
"workflow_id": "85c9563b-cc53-45e6-b993-508efaee9802",
"time": {
"queued":"2023-02-13T02:02:57.015000",
"started":"2023-02-13T04:34:48.949000",
"completed":"2023-02-13T04:38:17.853000"
},
"status": "finished",
"error": "",
"user_inputs": {
"image": {
"url": "https://www.incimages.com/uploaded_files/image/1920x1080/getty_481292845_77896.jpg"
}
},
"data": ["a man sitting at a table with a laptop "],
"types":["builtins.str"],
"next_offset":-1
}
]
}