FOLIO · Schema

Flow Stage Schema

Flow stage descriptor. A stage can be part of global flow or specific application flow.

CompanyLibrariesLibrary Services PlatformOpen SourceMicroservicesEducation

Properties

Name Type Description
id string A unique stage identifier
flowId string A parent flow identifier (global or application flow)
name string A stage name
status object Stage execution status
errorType string A relevant error type caused stage failure or cancellation, nullable if stage is finished
errorMessage string A relevant error message caused stage failure or cancellation, nullable if stage is finished
startedAt string Stage execution start timestamp
finishedAt string Stage execution end timestamp
retriesCount integer Number of retries performed during flow stage operations
retriesInfo string Error information on operations failures that caused retries
View JSON Schema on GitHub

JSON Schema

folio-flow-stage-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-flow-stage-schema.json",
  "title": "Flow Stage Schema",
  "description": "Flow stage descriptor. A stage can be part of global flow or specific application flow.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-mgr-tenant-entitlements-openapi.yml#/components/schemas/flowStage",
  "id": "flowStage.json",
  "type": "object",
  "properties": {
    "id": {
      "description": "A unique stage identifier",
      "type": "string",
      "format": "uuid"
    },
    "flowId": {
      "description": "A parent flow identifier (global or application flow)",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "A stage name",
      "type": "string"
    },
    "status": {
      "description": "Stage execution status",
      "$ref": "#/$defs/executionStatus"
    },
    "errorType": {
      "description": "A relevant error type caused stage failure or cancellation, nullable if stage is finished",
      "type": "string"
    },
    "errorMessage": {
      "description": "A relevant error message caused stage failure or cancellation, nullable if stage is finished",
      "type": "string"
    },
    "startedAt": {
      "description": "Stage execution start timestamp",
      "type": "string",
      "format": "date-time"
    },
    "finishedAt": {
      "description": "Stage execution end timestamp",
      "type": "string",
      "format": "date-time"
    },
    "retriesCount": {
      "description": "Number of retries performed during flow stage operations",
      "type": "integer"
    },
    "retriesInfo": {
      "description": "Error information on operations failures that caused retries",
      "type": "string"
    }
  },
  "$defs": {
    "executionStatus": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "id": "types/entitlementFlowStatus.json",
      "title": "Application/Stage Execution Status Schema",
      "description": "An application/stage execution status",
      "type": "string",
      "enum": [
        "queued",
        "in_progress",
        "cancelled",
        "cancellation_failed",
        "failed",
        "finished"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/folio-flow-stage"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.