GET
/
v2
/
usage
/
job
/
{job_id}

Authorizations

X-API-Key
string
headerrequired

The Sieve API key to authenticate with.

Path Parameters

job_id
string
required

The job ID to fetch the cost for.

Query Parameters

aggregated
boolean
default: true

If true, returns sum of all child job costs and the job itself.

Response

200 - application/json
job_id
string
required

ID of the job

function_name
string
required

Name of the function

function_owner_name
string
required

Organization name of the function owner

function_id
string
required

ID of the function

cost
number
required

Cost of the job, either aggregated or not