cURL
curl --request GET \ --url https://mango.sievedata.com/v2/usage/job/{job_id} \ --header 'X-API-Key: <api-key>'
{ "job_id": "<string>", "function_name": "<string>", "function_owner_name": "<string>", "function_id": "<string>", "cost": 123 }
Get the cost of a job. Learn more about Sieve pricing here.
The Sieve API key to authenticate with.
The job ID to fetch the cost for.
If true, returns sum of all child job costs and the job itself.
Successful Response
ID of the job
Name of the function
Organization name of the function owner
ID of the function
Cost of the job, either aggregated or not
Was this page helpful?