SteveSteve

Get current workflow contract summary

`upload.pdfPages`, when present, enables multi-page PDFs and contains `maxPages` (currently at most 50). The workflow accepts exactly one uploaded file and includes `application/pdf` in `acceptedFormats`. Absent means PDFs are limited to one page. Images and single-page PDFs keep their existing processing behavior. In the platform upload editor, accept PDF, enable Multi-page PDFs, and choose Maximum pages (2–50). Enabling it sets minimum and maximum files to one because one PDF is one submission. Disabling it removes the opt-in.

GET/api/v1/workflows/{slug}

Authorization

AuthorizationRequiredBearer <token>

Steve API key, usually scoped to a company. Legacy keys and keys created by platform administrators may be unscoped; company-scoped endpoints reject unscoped keys with 403 Forbidden. Format: Authorization: Bearer aok_...

In: header

Path Parameters

slugRequiredstring

Workflow slug.

Header Parameters

X-Request-Idstring

Optional caller-supplied request identifier. Maximum length is 128 characters.

Maximum length: 128
curl -X GET "https://api.meetsteve.io/api/v1/workflows/<string>" \
  -H "X-Request-Id: <string>" \
  -H "Authorization: Bearer <token>"

Current published workflow contract summary

{
  "id": "string",
  "slug": "string",
  "name": "string",
  "description": "string",
  "icon": "string",
  "color": "string",
  "publishedVersion": 0,
  "contractUrl": "string",
  "kind": "document",
  "upload": {
    "pdfPages": {
      "maxPages": 2
    },
    "minFiles": 0,
    "maxFiles": 0,
    "acceptedFormats": [
      "string"
    ],
    "fileLabels": [
      "string"
    ],
    "maxFileSizeMb": 0
  }
}