Naijacloud
Docs

Catalogue

Every /v1 route for catalogue. This page is generated from the API's OpenAPI contract, so it always matches what the API accepts and returns.

Authentication, pagination, errors and idempotency work the same on every route. They are described once, in the API overview.

Instance tiers, unit rates and free allowances

GET /v1/pricing

Key scopes: READ and PLATFORM_API.

Returns

bash
curl "https://api.naijacloud.com/v1/pricing" \ -H "Authorization: Bearer $NC_API_KEY"

The regions a service can be created in

GET /v1/regions

freeTier says whether the Free size can be placed there; isDefault marks the default.

Key scopes: READ and PLATFORM_API.

Returns

  • 200 with a page: { data: V1DeployLocation[], nextCursor }, where each item is V1DeployLocation.
bash
curl "https://api.naijacloud.com/v1/regions" \ -H "Authorization: Bearer $NC_API_KEY"

Types

V1DeployLocation

FieldTypeNotes
freeTierbooleanWhether a Free-size service can run in this region. Free services run only where the platform's free capacity is; pick a paid size elsewhere.
isDefaultboolean
labelstring
regionstring

V1FreeAllowanceCard

FieldTypeNotes
analyticsEventsnumber
egressBytesnumber
emailMessagesnumber
monthlyCreditKobonumber
previewFreeHoursinteger
previewRateMultipliernumber
sessionReplaysnumber
storageBytesnumber

V1PricingCatalog

FieldTypeNotes
computeGraceDaysintegerDays a workspace may sit at an empty balance before its paid apps (web services and cron jobs) are stopped.
currencystring
dataGraceDaysintegerDays a workspace may sit at an empty balance before its paid databases and caches are stopped. Their data is kept.
freeAllowancesV1FreeAllowanceCard
maxTopUpKobonumber, or nullThe largest single wallet top-up accepted, in kobo. Null when there is no maximum.
minTopUpKobonumberThe smallest single wallet top-up accepted, in kobo. Shown on the Add funds sheet before anyone types.
neverBilledarray of string
serviceTiersarray of V1ServiceTierPrice
stopsPaidServicesbooleanWhether an empty balance stops paid apps and databases after the grace periods. False while only preview environments are stopped.
unitRatesV1UnitRateCard

V1ServiceTierPrice

FieldTypeNotes
cpuMillicoresinteger
currencystring
familystring
labelstring
memoryMbinteger
priceKobonumber
storageMbinteger, or null
tierFREE, PRO, STANDARD, STARTER

V1UnitRateCard

FieldTypeNotes
currencystring
dbDiskKoboPerGbMonthnumber
egressKoboPerGbnumber
emailKoboPerMessagenumber
memoryKoboPerGbMonthnumber
objectStorageKoboPerGbMonthnumber
vcpuKoboPerVcpuMonthnumber