REST API Reference
The Okustera Cloud Platform provides a comprehensive, RESTful OpenAPI 3.1 interface for programmatic management of all cloud infrastructure, developer platform, AI, and security resources.
Base Production Endpoint:
https://portal.okustera.com/api/v1
Authentication
All API requests require authentication via an HTTP Authorization header containing an Okustera API Bearer token:
curl -H "Authorization: Bearer <YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
https://portal.okustera.com/api/v1/auth/me
Tokens can be generated from the Okustera Cloud Portal under User Settings → API Tokens.
API Endpoints Overview
1. Authentication & Security (2FA)
| HTTP Method & Path | Description |
|---|---|
POST /api/v1/auth/login | Authenticate user credentials and optional TOTP code; receive JWT access token. |
GET /api/v1/auth/me | Retrieve profile and project membership of current caller. |
POST /api/v1/auth/2fa/setup | Generate a new TOTP secret key and QR code provisioning URI. |
POST /api/v1/auth/2fa/activate | Submit initial 6-digit verification code to activate 2FA on user account. |
POST /api/v1/auth/2fa/verify | Validate a 6-digit code during authentication challenge. |
POST /api/v1/auth/2fa/disable | Deactivate 2FA by providing a valid verification code. |
2. Compute Instances
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/compute/instances | List all virtual machine instances in the current tenant project. |
POST /api/v1/compute/instances | Launch a new VM instance with flavor, image, and network. |
GET /api/v1/compute/instances/{id} | Inspect instance state, IP addresses, and hardware flavor. |
DELETE /api/v1/compute/instances/{id} | Terminate and delete an instance. |
POST /api/v1/compute/instances/{id}/action | Execute lifecycle action (reboot, start, stop, pause, unpause, rebuild). |
GET /api/v1/compute/instances/{id}/console | Retrieve interactive VNC/SPICE console URL for out-of-band access. |
GET /api/v1/compute/instances/{id}/console-log | Retrieve live serial kernel boot logs. |
GET /api/v1/compute/flavors | List available compute resource flavors. |
3. VPC Networking & Security Groups
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/network/networks | List tenant private VPC networks and subnets. |
POST /api/v1/network/networks | Create a new private network with custom CIDR and DHCP. |
DELETE /api/v1/network/networks/{id} | Delete a private network. |
GET /api/v1/network/routers | List active virtual routers and gateway interfaces. |
GET /api/v1/network/security-groups | List stateful firewall security groups and rules. |
POST /api/v1/network/security-groups | Create a new security group. |
POST /api/v1/network/security-groups/{id}/rules | Add ingress/egress firewall rule (protocol, port range, CIDR). |
DELETE /api/v1/network/security-groups/rules/{rule_id} | Remove a firewall rule. |
GET /api/v1/network/floating-ips | List allocated floating public IP addresses. |
POST /api/v1/network/floating-ips | Allocate a new public floating IP from the external pool. |
POST /api/v1/network/floating-ips/{id}/associate | Bind floating IP to a compute instance or load balancer port. |
POST /api/v1/network/floating-ips/{id}/disassociate | Unbind floating IP from a port. |
DELETE /api/v1/network/floating-ips/{id} | Release floating IP back to the external pool. |
GET /api/v1/network/ports | List virtual network interfaces, MAC addresses, and IP bindings. |
4. Load Balancers & Authoritative DNS
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/octavia/loadbalancers | List active managed load balancers and provisioning status. |
POST /api/v1/octavia/loadbalancers | Provision a new high-availability load balancer with dedicated VIP. |
GET /api/v1/octavia/loadbalancers/{id} | Inspect load balancer status and VIP details. |
DELETE /api/v1/octavia/loadbalancers/{id} | Decommission and delete a load balancer. |
GET /api/v1/octavia/listeners | List listeners associated with tenant load balancers. |
GET /api/v1/octavia/pools | List backend pools and member health states. |
GET /api/v1/networking/dns/zones | List authoritative DNS zones in the current tenant project. |
POST /api/v1/networking/dns/zones | Create a new authoritative DNS zone (PRIMARY or SECONDARY). |
GET /api/v1/networking/dns/zones/{zone_id} | Inspect DNS zone metadata, SOA serial, nameservers, and recordsets. |
PATCH /api/v1/networking/dns/zones/{zone_id} | Update DNS zone email, default TTL, description, or VPC association. |
DELETE /api/v1/networking/dns/zones/{zone_id} | Delete an authoritative DNS zone. |
GET /api/v1/networking/dns/zones/{zone_id}/recordsets | List recordsets in a DNS zone. |
POST /api/v1/networking/dns/zones/{zone_id}/recordsets | Create or update a DNS recordset (A, AAAA, CNAME, MX, TXT, SRV, PTR, NS, CAA). |
PATCH /api/v1/networking/dns/zones/{zone_id}/recordsets/{recordset_id} | Update recordset values, TTL, or description. |
DELETE /api/v1/networking/dns/zones/{zone_id}/recordsets/{recordset_id} | Delete a DNS recordset from a zone. |
POST /api/v1/networking/dns/zones/{zone_id}/bind-vip | 1-click bind a domain/subdomain to a Load Balancer VIP with automatic reverse DNS (PTR). |
5. Persistent Block Storage
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/storage/volumes | List persistent block storage volumes in the current tenant project. |
POST /api/v1/storage/volumes | Provision a new persistent volume (blank, from image, or from snapshot). |
GET /api/v1/storage/volumes/{id} | Retrieve volume status, size, and instance attachments. |
DELETE /api/v1/storage/volumes/{id} | Delete an unattached volume. |
POST /api/v1/storage/volumes/{id}/attach | Attach a volume to a running compute instance. |
POST /api/v1/storage/volumes/{id}/detach | Detach a volume from an instance. |
GET /api/v1/storage/snapshots | List point-in-time volume snapshots. |
POST /api/v1/storage/snapshots | Create an instantaneous copy-on-write volume snapshot. |
6. S3-Compatible Object Storage
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/storage/credentials | List active S3 access keys for the tenant project. |
POST /api/v1/storage/credentials | Generate a new S3 Access Key / Secret Key pair. |
GET /api/v1/storage/buckets | List S3-compatible object storage buckets. |
POST /api/v1/storage/buckets | Create a new S3 bucket with quota and ACL (private, public-read). |
DELETE /api/v1/storage/buckets/{name} | Delete an empty S3 bucket. |
GET /api/v1/storage/buckets/{name}/objects | List objects in a bucket with optional prefix filtering. |
POST /api/v1/storage/buckets/{name}/objects/presign | Generate a temporary presigned download or upload URL. |
DELETE /api/v1/storage/buckets/{name}/objects/{key} | Delete an object from a bucket. |
7. Operating System Images
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/glance/images | List certified public and custom tenant images. |
POST /api/v1/glance/images | Register and upload a custom image (QCOW2, RAW, ISO). |
GET /api/v1/glance/images/{id} | Retrieve image metadata, checksum, and status. |
DELETE /api/v1/glance/images/{id} | Remove a custom image from the catalog. |
8. Secrets Vault & KMS
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/barbican/secrets | List secrets in the current tenant project. |
POST /api/v1/barbican/secrets | Store a new secret (passphrase, symmetric key, certificate, or opaque payload). |
GET /api/v1/barbican/secrets/{id}/payload | Retrieve a decrypted secret payload. |
DELETE /api/v1/barbican/secrets/{id} | Permanently delete a secret from the vault. |
9. Managed Kubernetes Service
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/kubernetes/clusters | List all managed Kubernetes clusters for the tenant. |
POST /api/v1/kubernetes/clusters | Provision a new upstream Kubernetes cluster. |
GET /api/v1/kubernetes/clusters/{id} | Inspect cluster health, API endpoint, and node count. |
POST /api/v1/kubernetes/clusters/{id}/scale | Scale worker node pool count dynamically. |
GET /api/v1/kubernetes/clusters/{id}/kubeconfig | Download cluster kubeconfig. |
DELETE /api/v1/kubernetes/clusters/{id} | Terminate a cluster and delete associated compute resources. |
GET /api/v1/kubernetes/cluster-templates | List certified upstream Kubernetes templates. |
10. Managed Databases (DBaaS)
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/dbaas/clusters | List managed clusters across all engines (PostgreSQL, MySQL, MongoDB, Valkey, Qdrant, ClickHouse). |
POST /api/v1/dbaas/postgres | Provision a high-availability Managed PostgreSQL cluster. |
GET /api/v1/dbaas/postgres/{ns}/{name} | Retrieve details for a PostgreSQL cluster. |
GET /api/v1/dbaas/valkey | List active Managed Valkey clusters. |
POST /api/v1/dbaas/valkey | Provision a high-availability Managed Valkey cluster. |
GET /api/v1/dbaas/qdrant | List tenant-isolated Managed Qdrant Vector DB clusters. |
POST /api/v1/dbaas/qdrant | Provision a tenant-isolated Qdrant Vector DB cluster with KMS-managed API key authentication. |
GET /api/v1/dbaas/clickhouse | List tenant Managed ClickHouse analytical OLAP clusters. |
POST /api/v1/dbaas/clickhouse | Provision a Managed ClickHouse columnar OLAP cluster on persistent NVMe storage. |
POST /api/v1/dbaas/mysql | Provision a high-availability Managed MySQL cluster. |
POST /api/v1/dbaas/mongodb | Provision a high-availability Managed MongoDB replica set. |
GET /api/v1/dbaas/catalog/versions | List certified database engine versions supported for provisioning and upgrades. |
GET /api/v1/dbaas/clusters/{engine}/{ns}/{name}/upgrade-candidates | Discover certified upgrade targets and upgrade strategy (rolling vs. Blue-Green) for a running cluster. |
GET /api/v1/dbaas/clusters/{engine}/{ns}/{name}/preflight | Run automated pre-flight readiness checks prior to triggering an upgrade. |
POST /api/v1/dbaas/clusters/{engine}/{ns}/{name}/upgrade | Dispatch an automated zero-downtime rolling or Blue-Green upgrade job with automatic rollback protection. |
GET /api/v1/dbaas/jobs | List active and historical database upgrade jobs and rollout progress. |
GET /api/v1/dbaas/jobs/{job_id} | Query real-time rollout progress (stage_progress) and diagnostic logs for an upgrade job. |
POST /api/v1/dbaas/jobs/{job_id}/rollback | Request manual rollback to restore the previous certified database engine version. |
11. AI Inference PaaS, Model Foundry & Managed Agent Sandboxes
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/ai/status | Retrieve operational AI inference, gateway guardrails, and vector RAG health status. |
GET /api/v1/ai/models | List active foundation models available for inference. |
POST /api/v1/ai/chat/completions | OpenAI-compatible chat completions with unbuffered SSE streaming and prompt-injection guardrails. |
GET /api/v1/ai/foundry/catalog | Browse curated Model Foundry models, capabilities, and context windows. |
POST /api/v1/ai/foundry/oci-package | Package fine-tuned weights or LoRA adapters as immutable OCI artifacts in the Universal Artifact Registry. |
GET /api/v1/ai/deployments | List Dynamic Multi-LoRA model serving deployments and attached adapters. |
GET /api/v1/ai/gpu-profiles | List available dedicated and fractional GPU acceleration tiers. |
GET /api/v1/ai/batch/jobs | List asynchronous frontier batch inference jobs. |
POST /api/v1/ai/batch/jobs | Submit an asynchronous frontier batch inference job. |
GET /api/v1/ai/rag/collections | List and inspect managed vector RAG knowledge base collections. |
POST /api/v1/ai/rag/collections | Create and index a new vector RAG document collection. |
GET /api/v1/ai/sandbox-catalog | Retrieve available Managed Agent Sandbox toolchain profiles and security policies. |
GET /api/v1/ai/sandboxes | List tenant Managed Agent Sandboxes. |
POST /api/v1/ai/sandboxes | Provision a new isolated Managed Agent Sandbox with persistent /workspace storage and skill mounts. |
POST /api/v1/ai/sandboxes/{id}/execute | Execute a bounded non-root command inside a sandbox with toolchain allowlist validation. |
GET /api/v1/ai/sandboxes/{id}/files | List or read files inside the sandbox /workspace volume. |
PUT /api/v1/ai/sandboxes/{id}/files | Write or update a file inside the sandbox /workspace volume. |
POST /api/v1/ai/mcp/tokens | Mint a short-lived (<= 15m) audience-scoped JWT token for MCP server access backed by a KMS secret_ref. |
GET /api/v1/ai/skills | List available system and project-scoped AI agent skills. |
POST /api/v1/ai/skills | Register a custom project-scoped SKILL.md definition. |
12. API Gateway & Ingress
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/gateway/routes | List all managed API Gateway ingress routing rules. |
POST /api/v1/gateway/routes | Create or update a route with optional canary traffic splitting, WAF, CORS, and rate limiting. |
GET /api/v1/gateway/routes/{id}/manifest | Export declarative route manifest configuration. |
GET /api/v1/gateway/certificates | List SSL/TLS certificates registered on the gateway. |
POST /api/v1/gateway/certificates | Register a new SSL/TLS certificate or request an automated Let's Encrypt certificate. |
13. Serverless Functions & Shared Layers
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/functions/templates | List certified language runtime templates and lifecycle statuses (active, deprecated). |
GET /api/v1/functions | List active serverless functions. |
POST /api/v1/functions | Deploy a sandboxed serverless function. |
POST /api/v1/functions/{id}/invoke | Invoke a serverless function synchronously or asynchronously. |
GET /api/v1/functions/{id}/logs | Stream live function execution logs. |
GET /api/v1/layers | List available shared dependency layers. |
POST /api/v1/layers | Create a new shared dependency layer definition. |
POST /api/v1/layers/{id}/versions | Publish an immutable layer version with package requirements or archives. |
POST /api/v1/layers/{id}/permissions | Grant cross-project layer sharing permissions. |
14. Messaging & Event Streaming (RabbitMQ & Apache Kafka)
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/messaging/clusters | List managed RabbitMQ clusters in the tenant project. |
POST /api/v1/messaging/clusters | Provision a new high-availability RabbitMQ quorum cluster. |
GET /api/v1/messaging/clusters/{namespace}/{name} | Inspect RabbitMQ AMQP/Management endpoints and credentials. |
DELETE /api/v1/messaging/clusters/{namespace}/{name} | Terminate and delete a RabbitMQ cluster. |
GET /api/v1/messaging/kafka | List managed Apache Kafka (KRaft) clusters in the tenant project. |
POST /api/v1/messaging/kafka | Provision a ZooKeeper-less Apache Kafka KRaft event streaming cluster. |
GET /api/v1/messaging/kafka/{namespace}/{name} | Inspect Kafka bootstrap endpoints (:9092 / :9093), partitions, replication factor, and retention window. |
DELETE /api/v1/messaging/kafka/{namespace}/{name} | Terminate and delete an Apache Kafka cluster. |
15. Workflows & Orchestration (Managed Apache Airflow)
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/workflows/status | Retrieve operational health of the managed Airflow workspace. |
GET /api/v1/workflows/dags | List workflow DAGs accessible to the current tenant. |
PATCH /api/v1/workflows/dags/{dag_id} | Pause or unpause a workflow DAG. |
POST /api/v1/workflows/dags/{dag_id}/trigger | Trigger immediate DAG execution with optional JSON parameters. |
GET /api/v1/workflows/dags/{dag_id}/runs | List historical and active DAG runs with state and duration. |
GET /api/v1/workflows/dags/{dag_id}/runs/{run_id}/tasks/{task_id}/logs | Retrieve streaming task execution logs. |
POST /api/v1/workflows/dags/upload | Upload a Python DAG file with automatic scheduler synchronization. |
DELETE /api/v1/workflows/dags/{dag_id} | Delete a DAG file and purge scheduler metadata. |
16. Observability & Telemetry
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/observability/dashboard | Retrieve tenant-scoped telemetry summary. |
GET /api/v1/observability/logs | Query centralized log streams with LogQL expressions and time ranges. |
GET /api/v1/observability/timeseries/{metric_type} | Retrieve historical time-series data for CPU, RAM, Network, or Disk. |
GET /api/v1/grafana/info | Retrieve tenant Grafana workspace URL and SSO endpoint. |
17. FinOps, Billing & Payments
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/billing/overview | Retrieve real-time metering, budget limit, and forecasted spend. |
GET /api/v1/billing/breakdown | Itemized cost breakdown across compute, storage, databases, and AI usage. |
GET /api/v1/billing/invoices | Historical billing statements and line items. |
GET /api/v1/billing/payment-methods | List configured customer payment cards. |
POST /api/v1/billing/payment-methods | Add and tokenize a new payment method via Stripe. |
POST /api/v1/billing/payment-methods/{id}/default | Set a card as the default payment method. |
POST /api/v1/billing/checkout-session | Generate a secure Stripe payment checkout session. |
GET /api/v1/billing/budget | Retrieve current budget limits and alert thresholds. |
PUT /api/v1/billing/budget | Update monthly budget limit and notification thresholds. |
GET /api/v1/billing/pricing | Retrieve the active rate card and unit prices. |
GET /api/v1/finops/tenant/{tenant_id}/summary | Retrieve multi-region tenant FinOps showback summary. |
18. Identity & Policy Simulation
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/identity/users | List users in the current project. |
POST /api/v1/identity/users | Create a user account with initial credentials. |
GET /api/v1/identity/roles | List available IAM roles (admin, member, reader). |
POST /api/v1/identity/role-assignments | Assign a role to a user within a project. |
DELETE /api/v1/identity/role-assignments | Revoke a user's role assignment. |
POST /api/v1/iam/simulate | Evaluate whether an identity has permission to invoke an endpoint. |
POST /api/v1/iam/sts/assume-role | Exchange a workload identity token for short-lived credentials. |
19. Service Catalog & Inventory
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/services/services | List available cloud catalog services and subscription statuses. |
GET /api/v1/inventory/inventory | Retrieve unified inventory of all compute, Kubernetes, database, and network resources. |
20. Tenant Quotas & Governance
| HTTP Method & Path | Description |
|---|---|
GET /api/v1/tenant/quota | Query live resource allocations, usage, and available balances across quota dimensions. |
Standard Error Response Format
All failed API responses adhere to the standard JSON error schema:
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Cluster with ID 'k8s-prod-01' was not found in tenant 'tenant-production'.",
"status": 404,
"timestamp": "2026-09-28T12:00:00Z"
}
}