Register a custom disk provider
Changed onRegister your own storage rates, priced per GB hour with optional IOPS and throughput components and the capacity band they apply to. An entry is upserted on its natural key (provider, service, region, availability zone, disk type, usage type and period billing hours), so re-posting with a new cost keeps its id; changing a key field mints a new one. Capacity, IOPS and throughput bands are not part of that key, so a second band for the same disk type replaces the first: give each band its own usage type. The returned id is what you attach with the costgraph.ai/pricing-id.storage label or tag. Superseded by POST /v1/marketplace/disks, which returns RFC 9457 problem responses on failure.
Request
- Base URLhttps://pricing.baselinehq.cloud
- Auth
- API key in header X-API-Key
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Pricing response for a custom disk provider
Changes
- info
added the non-success response with the status
- info
- info
endpoint deprecated
- info