---
title: "Get flow run by ID"
method: GET
path: "/flow-runs/{id}"
tags: ["FlowRuns"]
---

# Get flow run by ID

`GET /flow-runs/{id}`

## Path parameters

- `id` string, required

## Response `200`

- FlowRunApiResponseDto
  - `userId` string, required
  - `tenantId` string
  - `id` string, required
  - `integrationId` string
  - `connectionId` string
  - `externalAppId` string
  - `name` string
  - `connectionFlowId` string, required
  - `integrationFlowId` string
  - `universalFlowId` string
  - `startNodeKey` string, required
  - `input` object
  - `state` 'queued' | 'running' | 'completed' | 'stopped' | 'failed', required
  - `startTime` string, required
  - `endTime` string
  - `errors` FlowRunApiResponseDtoSchema0[]
    - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
    - `key` string
    - `message` string, required
    - `data` object
    - `stack` object
    - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
    - `logs` object[]
  - `nodes` object
  - `launchedBy` object
    - `type` 'api-trigger' | 'schedule-trigger' | 'app-event-trigger' | 'data-source-trigger' | 'external-event', required
    - `ids` string[]
  - `meta` object
  - `flowInstance` object
    - `id` string, required — Internal database ID of the element. Assigned by the API; unique per element.
    - `name` string, required — Display name. Always present in API responses (filled by API if not set on create).
    - `uuid` string — Stable unique identifier (UUID). Can be provided on create; otherwise generated. Must be unique across elements of this type.
    - `key` string — Stable key for referencing the element (e.g. in selectors). Unique per (parent, integration) scope. Generated from name if not provided on create.
    - `description` string — Optional human-readable description.
    - `meta` object — Optional key-value metadata.
    - `state` 'BUILDING' | 'CLIENT_ACTION_REQUIRED' | 'CONFIGURATION_ERROR' | 'SETUP_FAILED' | 'READY' | 'DISCONNECTING'
    - `errors` FlowRunApiResponseDtoSchema0[] — Validation or setup errors when state is not READY.
      - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
      - `key` string
      - `message` string, required
      - `data` object
      - `stack` object
      - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
      - `logs` object[]
    - `revision` string — Opaque revision token; changes on each update. Used for optimistic concurrency.
    - `createdAt` string
    - `updatedAt` string
    - `archivedAt` string — When set, the element is archived (soft-deleted). Archived elements cannot be patched.
    - `isDeactivated` boolean — When true, setup is skipped and the element is treated as inactive (e.g. when dependencies are deactivated or the element is archived).
    - `isReadOnly` boolean — When true, the element cannot be modified (e.g. published package elements or elements from another workspace).
    - `integrationId` string — Internal ID of the integration this element belongs to. Omit for universal elements; set for integration-specific elements. Uniqueness of key is scoped per integration.
    - `integrationUuid` string — UUID of the integration; alternative to integrationId when creating from export. Resolved to integrationId by the API.
    - `integrationKey` string — Key of the integration; alternative to integrationId. Resolved to integrationId by the API.
    - `parentUuid` string — UUID of the parent element; alternative to parentId when creating (e.g. from export). Resolved to parentId by the API.
    - `parentKey` string — Key of the parent element; alternative to parentId. Resolved to parentId by the API.
    - `connectionId` string
    - `instanceKey` string
    - `isUniversal` boolean — When true, the element is universal (shared across all integrations). Requires universal-element access. Omit or false for integration-specific elements.
    - `externalAppId` string — Internal ID of the external app this element belongs to. Auto-populated from the integration when integrationId is set and the integration has an externalAppId.
    - `externalAppUuid` string — UUID of the external app; alternative to externalAppId when creating from export. Resolved to externalAppId by the API.
    - `externalAppKey` string — Key of the external app; alternative to externalAppId. Resolved to externalAppId by the API.
    - `flowId` string
    - `universalFlowId` string
    - `parametersSchema` FlowRunApiResponseDtoSchema1
      - `title` string
      - `description` string
      - `type` union
        - string
        - string[]
      - `format` string
      - `properties` object
      - `items` FlowRunApiResponseDtoSchema1 — recursive
      - `additionalProperties` union
        - boolean
        - FlowRunApiResponseDtoSchema1 — recursive
      - `enum` union[]
        - union
          - string
          - number
      - `referenceRecords` object[]
      - `referenceCollection` object
        - `key` object
        - `parameters` object
      - `referenceUdm` string
      - `default` object
      - `allowCustom` boolean
      - `$ref` string
      - `required` string[]
      - `minLength` number
      - `maxLength` number
      - `minimum` number
      - `maximum` number
      - `maxItems` number
      - `readOnly` boolean
      - `writeOnly` boolean
      - `examples` object[]
      - `anyOf` FlowRunApiResponseDtoSchema1[]
      - `isImplied` boolean
      - `isSensitive` boolean
      - `referenceCollectionPath` string
      - `referenceCollectionUri` string
    - `parameters` object
    - `enabled` boolean
    - `nodes` object
    - `autoCreateInstances` boolean
    - `isCustomized` boolean
    - `userId` string
    - `tenantId` string
    - `flowRevision` string
    - `universalFlowRevision` string
    - `customized` object
      - `name` boolean
      - `nodes` boolean
    - `dependencies` object[]
  - `connection` object
    - `id` string, required — Internal database ID of the element. Assigned by the API; unique per element.
    - `name` string, required
    - `userId` string, required
    - `tenantId` string
    - `type` 'connector' | 'mcp'
    - `key` string
    - `isTest` boolean
    - `connected` boolean
    - `disconnected` boolean — Use `connected` instead.
    - `isDefunct` boolean
    - `state` 'BUILDING' | 'CLIENT_ACTION_REQUIRED' | 'CONFIGURATION_ERROR' | 'SETUP_FAILED' | 'READY' | 'DISCONNECTING'
    - `errors` FlowRunApiResponseDtoSchema0[]
      - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
      - `key` string
      - `message` string, required
      - `data` object
      - `stack` object
      - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
      - `logs` object[]
    - `requestError` FlowRunApiResponseDtoSchema0
      - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
      - `key` string
      - `message` string, required
      - `data` object
      - `stack` object
      - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
      - `logs` object[]
    - `error` FlowRunApiResponseDtoSchema0
      - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
      - `key` string
      - `message` string, required
      - `data` object
      - `stack` object
      - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
      - `logs` object[]
    - `integrationId` string
    - `connectorId` string
    - `externalAppId` string
    - `connectorVersion` string
    - `authOptionKey` string
    - `createdAt` string, required
    - `updatedAt` string, required
    - `lastActiveAt` string
    - `nextCredentialsRefreshAt` string
    - `nextRetryTimestamp` string
    - `retryAttempts` number
    - `canTest` boolean
    - `canRefreshCredentials` boolean
    - `archivedAt` string
    - `isDeactivated` boolean
    - `meta` object
    - `buildingAgentSessionId` string — Session ID for building the element via intent-based endpoints (create/update with intent). Present when state is BUILDING.
    - `clientAction` object — Action the client must perform to advance this connection. Present if and only if state is CLIENT_ACTION_REQUIRED.
      - `type` 'connect' | 'provide-input', required
      - `description` string, required
      - `uiUrl` string
      - `agentInstructions` string
      - `handoffAgentInstructions` string
  - `integration` object
    - `id` string, required — Internal database ID of the element. Assigned by the API; unique per element.
    - `name` string, required — Display name. Always present in API responses (filled by API if not set on create).
    - `uuid` string — Stable unique identifier (UUID). Can be provided on create; otherwise generated. Must be unique across elements of this type.
    - `key` string — Stable key for referencing the element (e.g. in selectors). Unique per (parent, integration) scope. Generated from name if not provided on create.
    - `description` string — Optional human-readable description.
    - `meta` object — Optional key-value metadata.
    - `state` 'BUILDING' | 'CLIENT_ACTION_REQUIRED' | 'CONFIGURATION_ERROR' | 'SETUP_FAILED' | 'READY' | 'DISCONNECTING' — Current lifecycle or health state (e.g. READY, SETUP_FAILED, CONFIGURATION_ERROR, BUILDING). Set by the engine during setup and validation.
    - `errors` FlowRunApiResponseDtoSchema0[] — Validation or setup errors when state is not READY.
      - `type` 'bad_request' | 'connection' | 'configuration' | 'dependency_error' | 'flow_run' | 'flow_instance_setup' | 'concurrency' | 'internal' | 'action_run' | 'action_instance_setup' | 'unit_run' | 'custom_code' | 'insufficient_credit' | 'openrouter_not_configured'
      - `key` string
      - `message` string, required
      - `data` object
      - `stack` object
      - `causedByError` FlowRunApiResponseDtoSchema0 — recursive
      - `logs` object[]
    - `revision` string — Opaque revision token; changes on each update. Used for optimistic concurrency.
    - `createdAt` string — ISO date when the element was created.
    - `updatedAt` string — ISO date when the element was last updated.
    - `archivedAt` string
    - `isDeactivated` boolean
    - `isReadOnly` boolean — When true, the element cannot be modified (e.g. published package elements or elements from another workspace).
    - `logoUri` string, required
    - `connectorId` string
    - `connectorVersion` string
    - `oAuthCallbackUri` string
    - `parameters` object
    - `hasMissingParameters` boolean
    - `hasDocumentation` boolean
    - `hasOperations` boolean
    - `operationsCount` number
    - `hasData` boolean
    - `dataCollectionsCount` number
    - `hasEvents` boolean
    - `eventsCount` number
    - `hasGlobalWebhooks` boolean
    - `hasUdm` boolean
    - `isTest` boolean
    - `externalAppId` string
    - `authType` 'integration-app-token' | 'membrane-token' | 'oauth2' | 'oauth1' | 'client-credentials' | 'proxy'
    - `optionsConfig` object
  - `user` object
    - `id` string, required
    - `name` string, required
    - `meta` object
    - `internalId` string, required
    - `fields` object
    - `credentials` object
    - `lastActiveAt` string
    - `isTest` boolean
    - `isBillable` boolean
    - `isActive` boolean
    - `aiCreditsRolling30DayLimit` number, nullable
    - `createdAt` string
    - `archivedAt` string

---

[API](https://skmtc.net/integration/apis/membrane-api.md) · [All operations](https://skmtc.net/integration/apis/membrane-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/integration/membrane-api/revisions/1db9c5a3d78c/schema)
