BillingPackage
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/billing/packages |
list |
Packages |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
billing_packages, err := client.BillingPackage(nil).List(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(billing_packages)
Lua
Construct client as shown in the Lua setup, then call the operations:
local billing_packages, err = client:BillingPackage():list()
PHP
Construct client as shown in the PHP setup, then call the operations:
$billing_packages = $client->BillingPackage()->list();
Python
Construct client as shown in the Python setup, then call the operations:
billing_packages = client.BillingPackage().list()
Ruby
Construct client as shown in the Ruby setup, then call the operations:
billing_packages = client.BillingPackage.list()
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const billing_packages = await client.BillingPackage().list()
Fields
| Field | Type | Required | Description |
|---|---|---|---|
addons |
array |
Yes | Addons |
base_price_cents |
integer |
Yes | Base Price Cents |
billing_interval |
string |
Yes | Billing Interval |
billing_policy |
string |
Yes | Billing Policy |
ci_included_spend_cents |
integer |
No | Monthly USD credit in cents shared by all CI charges, including runners, cache, storage and add-ons; replaces CI unit allowances when positive. |
currency |
string |
Yes | Currency |
key |
string |
Yes | Key |
max_seats |
one,integer,null |
No | Max Seats |
name |
string |
Yes | Name |
pay_as_you_go_enabled |
boolean |
Yes | Pay As You Go Enabled |
rates |
array |
Yes | Rates |
revision |
integer |
Yes | Revision |
roder_daily_run_limit |
integer |
No | Roder Daily Run Limit |
roder_run_concurrency_limit |
integer |
No | Roder Run Concurrency Limit |
seat_price_cents |
integer |
Yes | Seat Price Cents |
trial_days |
integer |
Yes | Trial Days |
visibility |
string |
Yes | Visibility |
list
GET /api/v1/billing/packages
Operation ID: api_v1_billing_packages.
Authentication: not required.
Responses
200: Packages
application/json
| Property | Type | Required | Description |
|---|---|---|---|
packages |
array of object |
Yes | |
packages[].addons |
array of object |
Yes | |
packages[].addons[].addon_key |
string |
Yes | |
packages[].addons[].max_quantity |
integer,null |
No | |
packages[].addons[].monthly_price_cents |
integer |
Yes | |
packages[].addons[].name |
string |
Yes | |
packages[].addons[].purchasable |
boolean |
No | Whether new purchases are available. Older API releases omit this field; absence preserves purchase availability. |
packages[].addons[].raises_meter_key |
string,null |
Yes | |
packages[].addons[].raises_quantity |
number |
Yes | |
packages[].addons[].raises_roder_concurrency |
integer |
Yes | |
packages[].base_price_cents |
integer |
Yes | |
packages[].billing_interval |
enum: month, year |
Yes | |
packages[].billing_policy |
enum: metered, prepaid_browser |
Yes | |
packages[].ci_included_spend_cents |
integer |
No | Monthly USD credit in cents shared by all CI charges, including runners, cache, storage and add-ons; replaces CI unit allowances when positive. Omitted by older API releases. |
packages[].currency |
string |
Yes | |
packages[].key |
string |
Yes | |
packages[].max_seats |
integer,null |
No | |
packages[].name |
string |
Yes | |
packages[].pay_as_you_go_enabled |
boolean |
Yes | |
packages[].rates |
array of object |
Yes | |
packages[].rates[].dimension_value |
string,null |
No | |
packages[].rates[].hard_cap |
number,null |
No | |
packages[].rates[].included_per_organization |
number |
Yes | |
packages[].rates[].included_per_seat |
number |
Yes | |
packages[].rates[].meter_key |
string |
Yes | |
packages[].rates[].unit |
string |
Yes | |
packages[].rates[].unit_price_dollars |
string |
Yes | Decimal string |
packages[].rates[].unit_price_nanodollars |
integer |
Yes | |
packages[].revision |
integer |
Yes | |
packages[].roder_daily_run_limit |
integer |
No | |
packages[].roder_run_concurrency_limit |
integer |
No | |
packages[].seat_price_cents |
integer |
Yes | |
packages[].trial_days |
integer |
Yes | |
packages[].visibility |
enum: public, custom |
Yes |