Developers
Manage GPUs with the REST API
Read offers, rent GPUs and manage your machines from your own code with the REST API. With MCP your AI assistant finds prices and, only with your approval, rents and manages the machines you choose.
The TypeScript SDK and CLI have been tested as a local package. The package is not publicly released yet; use the existing REST API examples for now.
Local CLI usage
Node.js 24+ and the supplied, reviewed local tarball installed in your project are required. No public registry installation or download is available.
# Requires the supplied LOCAL tarball installed in this project:
npx --no-install corehu --help
npx --no-install corehu offers --jsonThese examples only read data. Supply COREHU_API_KEY outside source code and command arguments.
- Use a
Bearer ck_API key for account operations;cmcp_grants selected machines read-only MCP access for 30 days. - Create a quote with
offerId, then a reservation with itsquoteId. - Only reservation creation requires
Idempotency-Key: reuse the same key and request for a retry, and use a new key for a new reservation. Other endpoint examples do not promise idempotency.
Domain errors use {error, message}; also inspect HTTP status. Customer webhook delivery is not released.