Example
A function that takes in asieve.File
named video
and a sieve.File
named image
would be triggered with the following request:
string
named prompt
would be triggered with the following request:
Webhooks
Webhooks provide a way for notifications to be delivered to an external web server when various events related Sieve jobs occur. The following is a full list of all webhook event types. Click the events to see the exact response payload.Event | Description |
---|---|
job.start | Occurs when a job starts. |
job.complete | Occurs when a job completes, errors, or is cancelled. |
job.complete.no_output | Occurs when a job completes, errors, or is cancelled — excludes the output payload from the response. |
job.new_output | Occurs when a job produces a new output. |
Authorizations
The Sieve API key to authenticate with.
Query Parameters
Available options:
api
, dashboard
, search
Body
application/json
Input schema for /v2/push.
Response
Successful Response
Output schema for /v2/push.