Costs (billing/v1)
List of Costs
Retrieve a sorted, filtered, paginated list of all costs.
get/billing/v1/costs
Query parameters
start_datestring required
Filter a collection by a string search
Filter the results by exact match for start_date.
end_datestring required
Filter a collection by a string search
Filter the results by exact match for end_date.
page_sizeinteger
A pagination size for collection requests.
page_tokenstring
An opaque pagination token for collection requests.
Response
Cost.
Example response
{
"metadata": {
"next": "https://api.confluent.cloud/billing/v1/costs?page_token=UvmDWOB1iwfAIBPj6EYb"
},
"data": [
{
"id": "dlz-f3a90de",
"start_date": "2022-10-12",
"end_date": "2022-10-15",
"network_access_type": "INTERNET",
"product": "KAFKA",
"line_type": "KAFKA_NUM_CKUS",
"price": 1.5,
"unit": "GB",
"quantity": 99.9,
"original_amount": 149.85,
"discount_amount": 20.85,
"amount": 129,
"description": "KAFKA101",
"tier_dimensions": {
"provider": "aws",
"region": "us-east-1",
"connector_type": "BigQuerySink"
},
"resource": {
"id": "lkc-12345",
"display_name": "prod-kafka-cluster",
"environment": {
"id": "env-123"
}
}
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.