Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The length of each billing time bucket. The billing time bucket is the time range over which each billing record is aggregated.
hour
, day
, week
, month
, year
Filter to endpoints located in any of the provided Runpod data centers. The data center IDs are listed in the response of the /pods endpoint.
["EU-RO-1", "CA-MTL-1"]
Filter to a specific endpoint.
"jpnw0v75y3qoql"
The end date of the billing period to retrieve.
"2023-01-31T23:59:59Z"
Filter to endpoints with the provided GPU type attached.
"NVIDIA GeForce RTX 4090"
Group the billing records by the provided field.
endpointId
, podId
, gpuTypeId
Filter to endpoints created with the provided image.
"runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04"
The start date of the billing period to retrieve.
"2023-01-01T00:00:00Z"
Filter to endpoints created from the provided template.
"30zmvf89kd"
Response
Successful operation.
The amount charged for the group for the billing period, in USD.
100.5
The amount of disk space billed for the billing period, in gigabytes (GB). Does not apply to all resource types.
50
If grouping by endpoint ID, the endpoint ID of the group.
If grouping by GPU type ID, the GPU type ID of the group.
If grouping by Pod ID, the Pod ID of the group.
The start of the period for which the billing record applies.
"2023-01-01T00:00:00Z"
The total time billed for the billing period, in milliseconds. Does not apply to all resource types.
3600000