OpenMetadata Workflow Instance States API

A Workflow Instance State is a specific state of a Workflow Instance.

Operations 3

GET /v1/governance/workflowInstanceStates/{id} Get a Workflow Instance State by id #
GET /v1/governance/workflowInstanceStates List the Workflow Instance States #
GET /v1/governance/workflowInstanceStates/{workflowDefinitionName}/{workflowInstanceId} Get all the Workflow Instance States for a Workflow Instance id #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/openmetadata-workflow-instance-states-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

openmetadata-workflow-instance-states-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenMetadata APIs Agent Executions Workflow Instance States API
  description: Common types and API definition for OpenMetadata
  contact:
    name: OpenMetadata
    url: https://open-metadata.org
    email: openmetadata-dev@googlegroups.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '1.13'
servers:
- url: /api
  description: Current Host
- url: http://localhost:8585/api
  description: Endpoint URL
security:
- BearerAuth: []
tags:
- name: Workflow Instance States
  description: A Workflow Instance State is a specific state of a Workflow Instance.
paths:
  /v1/governance/workflowInstanceStates/{id}:
    get:
      tags:
      - Workflow Instance States
      summary: Get a Workflow Instance State by id
      description: Get a Workflow Instance State by id
      operationId: getWorkflowInstanceStateById
      parameters:
      - name: id
        in: path
        description: Workflow Instance State ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The Workflow Instance State
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowInstanceState'
  /v1/governance/workflowInstanceStates:
    get:
      tags:
      - Workflow Instance States
      summary: List the Workflow Instance States
      description: Get a list of all the workflow instances states, filtered by `startTs` and `endTs` of the creation. Use cursor-based pagination to limit the number of entries in the list using `limit` and `before` or `after` query params.
      operationId: listWorkflowInstanceStates
      parameters:
      - name: limit
        in: query
        description: Limit the number of Workflow Instance States returned. (1 to 1000000, default = 10)
        schema:
          maximum: 1000000
          minimum: 0
          type: integer
          format: int32
          default: 10
      - name: offset
        in: query
        description: Returns list of Workflow Instance States at the offset
        schema:
          type: string
      - name: startTs
        in: query
        description: Filter Workflow Instance States after the given start timestamp
        schema:
          type: number
      - name: endTs
        in: query
        description: Filter Workflow Instance States before the given end timestamp
        schema:
          type: number
      - name: latest
        in: query
        description: Only list the latest Workflow Instance States
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: List of Workflow Instances
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowInstanceStateResultList'
  /v1/governance/workflowInstanceStates/{workflowDefinitionName}/{workflowInstanceId}:
    get:
      tags:
      - Workflow Instance States
      summary: Get all the Workflow Instance States for a Workflow Instance id
      description: Get all the Workflow Instance States for a Workflow Instancee id
      operationId: getWorkflowInstanceStatesForAWorkflowInstanceId
      parameters:
      - name: workflowDefinitionName
        in: path
        description: Workflow Definition Name
        required: true
        schema:
          type: string
      - name: workflowInstanceId
        in: path
        description: Workflow Instance ID
        required: true
        schema:
          type: string
          format: uuid
      - name: limit
        in: query
        description: Limit the number of Workflow Instance States returned. (1 to 1000000, default = 10)
        schema:
          maximum: 1000000
          minimum: 0
          type: integer
          format: int32
          default: 10
      - name: offset
        in: query
        description: Returns list of Workflow Instance States at the offset
        schema:
          type: string
      - name: startTs
        in: query
        description: Filter Workflow Instance States after the given start timestamp
        schema:
          type: number
      - name: endTs
        in: query
        description: Filter Workflow Instance States before the given end timestamp
        schema:
          type: number
      - name: latest
        in: query
        description: Only list the latest Workflow Instance States
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: The Workflow Instance States
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowInstanceStateResultList'
components:
  schemas:
    Paging:
      required:
      - total
      type: object
      properties:
        before:
          type: string
        after:
          type: string
        offset:
          type: integer
          format: int32
        limit:
          type: integer
          format: int32
        total:
          type: integer
          format: int32
    WorkflowInstanceStateResultList:
      required:
      - data
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowInstanceState'
        paging:
          $ref: '#/components/schemas/Paging'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/EntityError'
        warningsCount:
          type: integer
          format: int32
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/EntityError'
    Stage:
      type: object
      properties:
        name:
          maxLength: 256
          minLength: 1
          pattern: ^((?!::).)*$
          type: string
        displayName:
          type: string
        startedAt:
          type: integer
          format: int64
        endedAt:
          type: integer
          format: int64
        tasks:
          type: array
          items:
            type: string
            format: uuid
        variables:
          type: object
          additionalProperties:
            type: object
    EntityError:
      type: object
      properties:
        message:
          type: string
        entity:
          type: object
    WorkflowInstanceState:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workflowInstanceId:
          type: string
          format: uuid
        workflowInstanceExecutionId:
          type: string
          format: uuid
        workflowDefinitionId:
          type: string
          format: uuid
        stage:
          $ref: '#/components/schemas/Stage'
        timestamp:
          type: integer
          format: int64
        status:
          type: string
          enum:
          - RUNNING
          - FINISHED
          - FAILURE
          - EXCEPTION
        exception:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT