Skip to content
API reference

Operation history

Authenticated Segal browser sessions only. Provider credentials remain server-side. No documentation button submits a billable operation.

Read the signed-in organization’s operation state

GET /api/infrastructure/operations/{requestId}

Parameters

requestId · path · required
See the endpoint contract and service guide.

Responses

  • 200 — Pending, accepted, rejected or unknown operation state.
  • 404 — No operation with this UUID in the active organization.
  • 503 — Application or database unavailable.

Read from an authenticated page

Run within the signed-in Segal origin. Choose a configured service and region; this example reads inventory only.

ts
const response = await fetch("/api/infrastructure/instances", { credentials: "same-origin" });
if (!response.ok) throw new Error("Infrastructure access unavailable");
const inventory = await response.json();
Provider setup and activation