Warning: JavaScript is not enabled or not loaded. Please enable JavaScript for the best experience.

Overview

Cloud API Platform

The Cloud API Platform provides a consistent, versioned interface for managing infrastructure, data pipelines, and identity services. It is designed for developers and technical teams who need predictable behavior, strong authentication, and clear error semantics across environments.

This documentation focuses on request/response formats, authentication flows, and endpoint behavior. Examples use standard HTTP semantics, JSON payloads, and stable resource identifiers. All endpoints are served over TLS and support idempotent operations where applicable.

Use this API when you need programmatic control over cloud resources or want to integrate operational workflows into your tooling. The platform emphasizes clarity, deterministic responses, and minimal overhead for integration.

Base URL

v1
https://api.cloudplatform.example/v1

Authentication

Secure access to the API

Use API keys for server-to-server integrations or OAuth 2.0 for user-scoped access. All requests must be sent over HTTPS.

API key authentication

Create a key in the developer console and send it in the Authorization header.

Server-to-server

Request example

curl -X GET "https://api.cloudplatform.dev/v1/projects" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json"

OAuth 2.0 (authorization code)

Use OAuth when acting on behalf of end users. Exchange the authorization code for an access token.

User-scoped

Token exchange

curl -X POST "https://auth.cloudplatform.dev/oauth/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=authorization_code" \
  -d "code=<AUTH_CODE>" \
  -d "client_id=<CLIENT_ID>" \
  -d "client_secret=<CLIENT_SECRET>" \
  -d "redirect_uri=https://app.example.com/callback"

Authenticated request

curl -X GET "https://api.cloudplatform.dev/v1/user" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json"

Token formats

API keys and access tokens are opaque strings. Treat them as secrets and rotate regularly.

API Key:      sk_live_51L8f9Z8vY8qW8k9fFzq3
Access Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Endpoints

API Endpoints

Reference list of core endpoints with concise request and response samples. Use standard JSON payloads and bearer authentication.

Endpoint Catalog

Common endpoints used by most integrations.

/v1/projects
GET
List projects visible to the authenticated user.
/v1/projects
POST
Create a new project with name and region.
/v1/keys
POST
Issue a new API key for a project.
/v1/usage
GET
Retrieve usage metrics for a project over a time range.

GET /v1/projects

Returns an array of project objects.

Request

curl -X GET "https://api.cloud.example.com/v1/projects" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Accept: application/json"

Response

{
  "data": [
    {"id": "prj_123", "name": "edge-ingest", "region": "us-east"},
    {"id": "prj_456", "name": "analytics", "region": "eu-central"}
  ]
}

POST /v1/projects

Creates a project and returns the new object.

Request

curl -X POST "https://api.cloud.example.com/v1/projects" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "edge-ingest", "region": "us-east"}'

Response

{
  "id": "prj_789",
  "name": "edge-ingest",
  "region": "us-east",
  "created_at": "2026-03-06T12:00:00Z"
}

FAQ

Answers to common questions about authentication, rate limits, errors, and support for the Cloud API.

How do I authenticate with the API?
Use your API key in the Authorization header as a Bearer token for every request.
What are the rate limits?
Default limits are 600 requests per minute per key. Rate limit headers indicate remaining quota and reset time.
How should I handle API errors?
Check HTTP status codes and parse the error object for a stable code and human-readable message.
Do you provide SDKs or client libraries?
Official SDKs are available for JavaScript and Python. Each SDK mirrors the REST endpoints and supports retries.
How can I get support?
Open a support ticket from your dashboard or email the support address listed in your account settings.