SDKs
Official client libraries for the IBEE Solutions API. Install one for your language and start building.
Version 0.3 covers object storage, secret store, compute discovery, cloud and GPU VMs, VPC networking, Reserved IPs, firewalls, load balancers, Block Storage, CDN, and an explicit billing eligibility check. Every client authenticates with an API token from Settings → API Tokens plus a workspace ID.
Environments
The SDKs target production (https://api.ibee.ai/v1) by default. To use the development gateway (https://api.ibee.co.in/v1) with a ibee_dev_key_... token:
Billing admission on create
The Python SDK, TypeScript SDK, and CLI expose the billing eligibility endpoint
as an explicit preflight. They do not call it automatically before create
requests. When your workflow needs an early decision, call the eligibility
operation immediately before creating the resource and continue only when
allowed is true.
The preflight token needs billing.read; the create request needs the relevant
product write scope. The public gateway is authoritative and performs a
fail-closed billing decision before forwarding every declared billable create
to the existing product service. A successful earlier preflight is not a
reservation or a guarantee that a later create will succeed.
Python SDK
Install the Python SDK from PyPI:
To create a VM from the same kind of choices shown in the portal, pass the selected IDs into the create call:
plan_id is the selected instance plan. template_id is the selected OS
template or image. ssh_key_ids are the SSH keys to inject at first boot.
Omit site_id for automatic placement. To pin a VM, copy the exact site_id
returned by list_compute_sites; do not use a region or site name.
In the current SDK, cpu and ram_mb are still required fallback fields even
when plan_id is provided.
Async support is built in:
TypeScript SDK
Install the TypeScript SDK from npm. It works in Node 18+ and modern browsers, ships ESM and CommonJS builds with full type declarations, and has no runtime dependencies.
Non-2xx responses throw an ApiError carrying the HTTP status and parsed body:
Billing eligibility preflight
Before a billable create, ask billing whether the workspace is allowed to
create the SKU. Proceed only when allowed is true; the token needs
billing.read in addition to the product write scope.
The decision is point-in-time and does not reserve funds, so run it immediately before the create request. The SDKs and CLI do not invoke it automatically.
Command-line interface
Prefer the terminal? The ibee CLI is built on the Python SDK and covers the same products.
See the CLI reference for all commands.
Resource reference
Both SDKs expose the same resources (Python uses snake_case, TypeScript uses camelCase):
Using the API without an SDK
You can call the REST API directly using any HTTP client:
