Push New Job
Creates a new job.
POST
/
v2
/
push
Copy
Ask AI
curl --request POST \
--url https://mango.sievedata.com/v2/push \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"function": "sieve/retalker",
"id": "43d7add5-61cf-44ad-aac8-c5d14c642bb4",
"inputs": {
"input1": "a",
"input2": "b"
},
"webhooks": [
{
"type": "job.start",
"url": "<string>"
}
],
"env": {
"OPENAI_API_KEY": "..."
}
}'
Copy
Ask AI
{
"id": "<string>",
"run_id": "<string>",
"stream_output": true,
"status": "<string>",
"organization_id": "<string>",
"model_id": "<string>",
"workflow_id": "<string>"
}
Authorizations
The Sieve API key to authenticate with.
Query Parameters
Available options:
api
, dashboard
, search
Body
application/json
Input schema for /v2/push.
Response
200
application/json
Successful Response
Output schema for /v2/push.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://mango.sievedata.com/v2/push \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"function": "sieve/retalker",
"id": "43d7add5-61cf-44ad-aac8-c5d14c642bb4",
"inputs": {
"input1": "a",
"input2": "b"
},
"webhooks": [
{
"type": "job.start",
"url": "<string>"
}
],
"env": {
"OPENAI_API_KEY": "..."
}
}'
Copy
Ask AI
{
"id": "<string>",
"run_id": "<string>",
"stream_output": true,
"status": "<string>",
"organization_id": "<string>",
"model_id": "<string>",
"workflow_id": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.