curl --request GET \
--url https://api.cloud.flexprice.io/v1/cost \
--header 'x-api-key: <api-key>'
{
"items": [
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
],
"total": 123
}
List cost sheets with optional filtering
curl --request GET \
--url https://api.cloud.flexprice.io/v1/cost \
--header 'x-api-key: <api-key>'
{
"items": [
{
"created_at": "<string>",
"id": "<string>",
"meter_id": "<string>",
"price_id": "<string>",
"status": "published",
"updated_at": "<string>"
}
],
"total": 123
}
Enter your API key in the format x-api-key <api-key>*
CostsheetIDs allows filtering by specific costsheet IDs
EnvironmentID filters by specific environment ID
MeterIDs filters by specific meter IDs
PriceIDs filters by specific price IDs
Status filters by costsheet status
published
, deleted
, archived
TenantID filters by specific tenant ID
OK
The response is of type object
.