Skip to main content

Base URL

Current deployed API URL in this workspace:
https://2dr03s75sl.execute-api.us-west-2.amazonaws.com

Authentication

Client-facing routes require the x-api-key header.
x-api-key: your-api-key
If the header is missing or invalid, the API returns 401.

Success envelope

Every successful response is wrapped in:
{
  "ok": true,
  "data": {}
}

Error envelope

Every error response is wrapped in:
{
  "ok": false,
  "error": {
    "code": "INVALID_REQUEST",
    "message": "Human readable message"
  }
}

Public endpoints

MethodPathPurpose
POST/casesCreate a new asynchronous coordination case
GET/cases/{id}Retrieve the current case status
POST/cases/{id}/inputResume a case that is waiting for human input

Status model

StatusMeaning
CREATEDAccepted and persisted, waiting for async processing
RUNNINGOutreach or follow-up is in progress
INPUT_NEEDEDOffload is paused and waiting for your answer
COMPLETEDGoal achieved and structured result is available
FAILEDWorkflow could not complete

Webhooks

If clientWebhookUrl is set on case creation, Offload sends outbound POST requests when a case:
  • completes
  • fails
  • pauses for human input
See Webhook events for payloads.

OpenAPI

The raw specification lives at openapi.json.