HTTP API reference
Use omnicloud-cli for workstation operations. Use HTTP APIs from a workload when a
capability has no CLI command or must participate directly in your application.
See Call OmniCloud APIs from a workload for the
supported authentication pattern.
Customer workstations connect through the service HTTPS address supplied during
onboarding, using bearer authentication and the paths below. Onboard workloads
use the onboard gateway at https://api.dphi.space; this is distinct from the
workstation connection through the service. These OpenAPI documents are generated from current service
code and filtered to approved customer routes:
Regenerate them from adjacent omnisat-public and omnicloud-services
checkouts with npm run api:generate. Camera routes are documented below; they
are not yet in the generated OpenAPI downloads.
Customer route map
| Purpose | Method and public path |
|---|---|
| Definitions | GET, POST /customer-controller/api/v1/workloads |
| One definition | GET, PUT /customer-controller/api/v1/workloads/{name} |
| Start a definition | POST /customer-controller/api/v1/workloads/{name}/run |
| Runs | GET /customer-controller/api/v1/workloads/runs |
| Run detail | GET /customer-controller/api/v1/workloads/runs/{runId} |
| Run logs | GET /customer-controller/api/v1/workloads/runs/{runId}/logs |
| Cancel run | POST /customer-controller/api/v1/workloads/runs/{runId}/cancel |
| Builds | GET, POST /customer-controller/api/v1/builds |
| Build detail | GET /customer-controller/api/v1/builds/{buildId} |
| Build logs | GET /customer-controller/api/v1/builds/{buildId}/logs |
| Cancel build | POST /customer-controller/api/v1/builds/{buildId}/cancel |
| Images | GET /customer-controller/api/v1/images |
| Storage volumes | GET, POST /customer-controller/api/v1/storage/volumes |
| One storage volume | GET, DELETE /customer-controller/api/v1/storage/volumes/{name} |
| Storage summary | GET /customer-controller/api/v1/storage/summary |
| List files | GET /downlink/api/v1/files/{volume} |
| Downlink file | GET /downlink/api/v1/files/{volume}/{relativePath} |
| Uplink file | PUT /downlink/api/v1/files/{volume}/{relativePath} |
| Telemetry | GET /telemetry/api/v1/telemetry/... |
| Create capture | POST /camera/api/v1/capture/create |
| Capture status | GET /camera/api/v1/capture/status?capture_id= |
| Cancel capture | POST /camera/api/v1/capture/cancel |
| Product metadata or bytes | GET /camera/api/v1/asset/read?product_id= (download=true for bytes) |
LLM workloads use the OpenAI-compatible routes GET /vllm/v1/models and
POST /vllm/v1/chat/completions. Authenticate with the injected workload
identity and choose a model ID from the catalog. See the
LLM workload examples.
Imaging
Workloads call the Capture Request API under /camera/api/v1. Create and cancel
require Idempotency-Key and write scope; status and asset reads use the matching
read scopes. Create returns 202 with a capture_id; poll status until
delivered (or a terminal failure), then read the product. The metadata url
field is not fetchable from a workload — use asset/read?download=true for
bytes. Product content_type is image/tiff (16-bit). See
Use the imaging capability and
Imaging lifecycle.
Billing reads
The CLI uses these Billing Manager reads under the public gateway. The published OpenAPI downloads above currently exclude billing; use the CLI billing commands for customer operations while its standalone public HTTP contract remains unvalidated.
| Purpose | Method and public path |
|---|---|
| Effective plan | GET /billing-manager/api/v1/plan |
| Control status | GET /billing-manager/api/v1/control-status |
| Current usage | GET /billing-manager/api/v1/usage |
| Current statement | GET /billing-manager/api/v1/statement |
| Closed statements | GET /billing-manager/api/v1/statements |
| One closed statement | GET /billing-manager/api/v1/statements/{statementId} |
| Statement rating history | GET /billing-manager/api/v1/rating-revisions |
Tenant identity comes from the bearer token; these reads do not accept a Tenant
override. Control status requires Usage Control read permission; the other reads
require Billing Reader access. Statement and rating-history lists accept limit
and cursor; rating history also accepts statementId.
Interactive terminal WebSocket
run exec uses
wss://api.dphi.space/customer-controller/api/v1/workloads/runs/{runId}/exec.
WebSocket endpoints are not included in the generated OpenAPI document. Access
requires a separate terminal-access grant and an allowed token client, and is
scoped to the token's Tenant. Use the CLI terminal command
for the supported client flow. Interactive exec is unavailable through the service.
Storage lifecycle
Customer Controller owns volume lifecycle routes; Downlink owns file-transfer
routes. Create with POST /customer-controller/api/v1/storage/volumes and a
JSON body such as {"name":"results","size":"1Gi"}. The 201 Created
response describes a volume whose provisioning is asynchronous. List accepts
limit and opaque cursor query parameters and returns items and
nextCursor. Get returns requestedSize, capacity, phase, ownership,
deleting, and, when available, accessPhase. A Bound volume can have
accessPhase Pending, Failed, or Ready; binding is not file-access readiness.
Delete returns 202 Accepted with {"name":"results","phase":"Deleting"},
not proof of completed removal. Only customer-owned volumes are deletable;
default, external ownership, running workloads, and current Workload Definition
references are protected. Deletion is permanent, with no platform backups or
recovery, and can interrupt file transfers.
Summary reports requested capacity, not actual file use or a hard byte cap.
activeRequested and activeVolumeCount exclude terminating volumes;
quotaUsed includes terminating requested capacity until removal, and
terminatingVolumeCount counts those volumes. Capacity totals contain bytes
and quantity; size-limit fields describe admission limits.
Create/delete require human-only Storage management (storage.manage);
list/get/summary require independent Storage listing permission. Uplink and
downlink permissions are also independent. Workload machine identities cannot
manage volumes. See Storage for safety and mount rules.
Common behavior
Supply Idempotency-Key on requests that create workload runs or image builds.
It must be 1–128 printable non-space ASCII characters. Reusing a key for a
different request returns 409.
202 Accepted returns an observable resource; it never means execution or
delivery completed. Error responses can include detail, error_code, and a
correlation ID. Preserve them when contacting support.
Account provisioning, feature administration, cluster administration, and administrative authentication are intentionally outside this customer API.