Usage
Get Total Usage
Get total usage over time in seconds and dollars.
GET
/
v2
/
usage
Authorizations
X-API-Key
string
headerrequiredThe Sieve API key to authenticate with.
Query Parameters
start_timestamp
required
The POSIX timestamp in float seconds or int nanoseconds. If not specified, defaults to the start of the current billing period.
end_timestamp
required
The POSIX timestamp in float seconds or int nanoseconds. If not specified, defaults to the end of the current billing period.
Response
200 - application/json
Output schema for detailed usage including machine types.
total_compute_seconds
number
requiredTotal amount of compute seconds accrued.
total_cost_dollars
number
requiredTotal amount of dollars spent.
cpu
object | null
Usage for CPU machines.
a100
object | null
Usage for A100 machines.
a100-20gb
object | null
Usage for A100 20GB machines.
v100
object | null
Usage for V100 machines.
l4
object | null
Usage for L4 machines.
t4
object | null
Usage for T4 machines.
other
object | null
Usage for functions billed with custom pricing.
Was this page helpful?