Skip to content

Query for any matching results

GET
/v0/costs/{cost_id}/history

Authorizations

Parameters

Path Parameters

cost_id
required

A UUID newtype

string format: uuid

Unique identifier of the cost

Query Parameters

before
string | null format: date-time

The upper bound (exclusive) for the datetime range

after
string | null format: date-time

The lower bound (inclusive) for the datetime range

Responses

200

The paginated response to a datetime query

This structure provides a standard format for returning time-based paginated results, including both the results and pagination metadata for retrieving the next page.

object
more
One of:
null
results
required

The collection of results matching the query

Array<object>

A record of the cost’s data at the time it was updated or defined

This provides historical versioning of cost data, allowing the system to track changes to cost definitions over time.

object
data
One of:
null
version
required

The timestamp when this version was created

string format: date-time

401

403

404

500