Cloud Platform
API
Last updated 2026-11-05
API
The platform is driven by a Connect API defined with Protocol Buffers. It is the same API the console uses, so everything you can do in the console you can do with it.
Calls
A call is an HTTP POST to https://api.cloud.adatage.com/<package>.<Service>/<Method>, with a JSON or protobuf body.
POST /cloud.external.compute.v1.ComputeService/ListInstances HTTP/1.1
Host: api.cloud.adatage.com
Content-Type: application/json
X-Project-Id: 100
{}| Header | Meaning |
|---|---|
X-Project-Id | The project the call is for. Needed by every call on a project's resources. |
Content-Type | application/json or application/proto. |
Services
| Service | Package |
|---|---|
| Compute: instances, catalog | cloud.external.compute.v1.ComputeService |
| Disks | cloud.external.compute.v1.DiskService |
| Images, snapshots, templates, SSH keys, operations | …ImageService, …SnapshotService, …TemplateService, …SshKeyService, …OperationService |
| Networks, subnets, public IPs, rules | cloud.external.network.v1.NetworkService |
| Kubernetes | cloud.external.kubernetes.v1.KubernetesService |
| Projects, regions, storage pools | …ProjectService, …RegionService, …StorageService |
| IAM, organization, quotas, audit | cloud.external.iam.v1.* |
| Billing and pricing | cloud.external.billing.v1.* |
| Console tickets, notifications | …ConsoleService, …NotificationService |
Conventions
- Ids are strings. Resource ids are 64-bit numbers, larger than 2^53. Send and read them as strings so no digit is lost.
- Long-running calls return an operation. See Operations.
- Names:
Get,List,Create,Update,Delete,AddandRemove; messages are called…Reqand…Res. - Streaming:
Watchcalls stream changes.
Errors
A failed call returns a JSON body with a code and a message.
{
"code": "permission_denied",
"message": "permission denied"
}| Code | HTTP | Meaning |
|---|---|---|
invalid_argument | 400 | A field is missing or malformed. |
unauthenticated | 401 | You are not signed in. |
permission_denied | 403 | You may not do this. |
not_found | 404 | No such resource. |
failed_precondition | 400 | The resource is not in a state that allows it. |
resource_exhausted | 429 | A quota or a rate limit. |
unavailable | 503 | Try again shortly. |
Authentication
The console signs in with your Adatage session. Tools that act for you, such as the command line and MCP clients, sign in with OAuth 2.1 and PKCE against https://account.adatage.com; what they may do is decided by the same permissions as in the console.