AdminList recent workflow runs

List recent workflow runs

Lists recently launched Cloudflare Workflow instances from the registry (newest first), each enriched with its live engine status. Filter by recorded status (e.g. ?status=running). Requires dual auth: X-Admin-API-Key + JWT.

curl -X GET "https://api.spkey.co/admin/workflows?status=example_string&limit=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "runs": [
    {
      "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"
    }
  ],
  "total": 3.14
}
GET
/admin/workflows
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.
query
statusstring

Filter to one recorded status (e.g. running). Omit for all.

query
limitstring

Max runs to return, newest first (default: 50).

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.

Query Parameters

statusstring

Filter to one recorded status (e.g. running). Omit for all.

limitstring

Max runs to return, newest first (default: 50).

Responses

runsarray
Required
totalnumber
Required