LaserData Cloud
API Reference

API Reference

Complete REST API reference for LaserData Cloud - resource management, deployment operations, observability, and more.

API Variables
ld-api-key
{tenant_id}

Set variables to auto-fill all examples and run requests in-browser.

LaserData Cloud exposes three REST API layers. All share the same authentication model: an ld-api-key header bearing an API key scoped to a role with the required permissions.

Base URLs

APIBase URLPurpose
Main APIhttps://api.laserdata.cloudResource management: org, deployments, API keys, billing, notifications
Supervisor API{supervisor_url}Deployment operations: configs, networking, metrics, logs, diagnostic snapshots, data backups
Audit APIhttps://audit.laserdata.cloudImmutable audit log and compliance exports

The supervisor_url for each deployment is returned in the List Deployments and Get Deployment responses, for example https://supervisor-aws-us.laserdata.cloud.

Authentication

Every request must include the ld-api-key header:

bash
curl https://api.laserdata.cloud/tenants/{tenant_id}/api_keys \
-H "ld-api-key: YOUR_API_KEY"

See Authentication for the full security model, scopes, and error reference.

Pagination

List endpoints support cursor-based pagination via query parameters:

ParameterDefaultDescription
page1Page number (1-indexed)
results10Items per page (max 100)

Paginated responses always include page, total_results, and total_pages fields alongside items.

Quick Start

Spin up a Free-tier deployment in seconds:

bash
# 1. Create a starter deployment (Free tier, standalone)
curl -X POST https://api.laserdata.cloud/tenants/{tenant_id}/divisions/{division_id}/deployments/starter \
-H "ld-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "cloud": "aws",
  "region": "us-west-1"
}'

# Response headers contain the created resource IDs:
# ld-environment: <environment_id>
# ld-deployment: <deployment_id>
bash
# 2. Get the deployment (once provisioned)
curl https://api.laserdata.cloud/tenants/{tenant_id}/divisions/{division_id}/environments/{environment_id}/deployments/{deployment_id} \
-H "ld-api-key: YOUR_API_KEY"
bash
# 3. Get connection credentials
curl {supervisor_url}/deployments/{deployment_id}/credentials \
-H "ld-api-key: YOUR_API_KEY"

HTTP Status Codes

CodeMeaning
200 OKRequest succeeded
202 AcceptedRequest accepted; operation will complete asynchronously
400 Bad RequestInvalid parameters or request body
401 UnauthorizedMissing or invalid API key
403 ForbiddenAPI key valid but lacks required permission
404 Not FoundResource does not exist
409 ConflictResource already exists or state conflict
429 Too Many RequestsRate limit exceeded
500 Internal Server ErrorUnexpected server error

API Sections

On this page