OpenSOP API Reference v0.1

List steps

GET /sop/:name/:id/steps

Returns the state of every step in a process instance. Useful for tracking progress, debugging failures, and building status UIs.

AUTH
Requires X-SOP-Token header. See Authentication.

Path parameters

name string REQUIRED
The process name.
id string REQUIRED
The instance ULID.

Response

200 application/json — Array of step state objects.

Errors

404 not_found Instance not found.
curl https://api.opensop.dev/sop/customer-onboarding/01HXYZ_ACME_001/steps \
  -H "X-SOP-Token: $OPENSOP_TOKEN"
RESPONSE 200
[
  {
    "id":      "collect-business-info",
    "type":    "form",
    "state":   "completed",
    "outputs": { "company_name": "Acme Corp" }
  },
  {
    "id":    "review-application",
    "type":  "judgment",
    "state": "active"
  }
]