GET
/
cost
curl --request GET \
  --url https://api.cloud.flexprice.com/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
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Query Parameters

costsheetIDs
string[]

CostsheetIDs allows filtering by specific costsheet IDs

environmentID
string

EnvironmentID filters by specific environment ID

meterIDs
string[]

MeterIDs filters by specific meter IDs

priceIDs
string[]

PriceIDs filters by specific price IDs

status
enum<string>

Status filters by costsheet status

Available options:
published,
deleted,
archived
tenantID
string

TenantID filters by specific tenant ID

Response

200
application/json

OK

The response is of type object.