AdminGet one workflow run (state + progress log)

Get one workflow run (state + progress log)

Fetches a single workflow run: its launch parameters, the step-by-step progress it self-reported, and its live engine status/output/error. Requires dual auth: X-Admin-API-Key + JWT.

curl -X GET "https://api.spkey.co/admin/workflows/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "instanceId": "example_string",
  "workflowName": "John Doe",
  "binding": "example_string",
  "label": "example_string",
  "status": "example_string",
  "liveStatus": "null",
  "params": "null",
  "progress": [
    {
      "at": "example_string",
      "message": "example_string"
    }
  ],
  "result": "null",
  "error": "null",
  "createdBy": "null",
  "createdAt": "example_string",
  "updatedAt": "example_string"
}
GET
/admin/workflows/{instanceId}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
path
instanceIdstring
Required

Workflow instance id

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

instanceIdstring
Required

Workflow instance id

Responses

instanceIdstring
Required
workflowNamestring
Required

Workflow name from wrangler config, e.g. resync-projections-workflow

bindingstring
Required

Env binding name used to control the instance, e.g. RESYNC_PROJECTIONS_WORKFLOW

labelstring
Required

Human-friendly workflow label

statusstring
Required
liveStatusstring,null
Required
paramsstring

Parsed launch parameters

progressarray
Required
resultstring

Final output (engine or self-reported), when finished

errorstring,null
Required
createdBystring,null
Required
createdAtstring
Required
updatedAtstring
Required