> ## Documentation Index
> Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a Compliance Orchestrator workflow

> <Badge color="blue" shape="pill">EA</Badge> Early Availability: this endpoint may change before GA.

Returns a workflow's status and its steps in execution order. Read it to see what a given `workflowId` will screen, and which fields its rules may reference.



## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml get /compliance/orchestrator/workflows/{workflowId}
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /compliance/orchestrator/workflows/{workflowId}:
    get:
      tags:
        - Compliance Orchestrator
      summary: Get a Compliance Orchestrator workflow
      description: >-
        <Badge color="blue" shape="pill">EA</Badge> Early Availability: this
        endpoint may change before GA.


        Returns a workflow's status and its steps in execution order. Read it to
        see what a given `workflowId` will screen, and which fields its rules
        may reference.
      operationId: getWorkflow
      parameters:
        - name: workflowId
          required: true
          in: path
          description: The workflow's identifier.
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
          schema:
            type: string
      responses:
        '200':
          description: Workflow
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWorkflowResponse'
        '400':
          description: Invalid request arguments.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '404':
          description: Workflow not found.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response: Promise<FireblocksResponse<GetWorkflowResponse>> =
            fireblocks.complianceOrchestrator.getWorkflow(complianceOrchestratorApiGetWorkflowRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<GetWorkflowResponse>> response =
            fireblocks.complianceOrchestrator().getWorkflow(workflowId);
        - lang: Python
          source: >-
            response =
            fireblocks.compliance_orchestrator.get_workflow(workflow_id);
components:
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  schemas:
    GetWorkflowResponse:
      type: object
      description: >-
        A workflow's current definition, including its steps and each step's
        rule sets.


        A workflow is the configuration a screening runs against: an ordered
        list of steps, each backed by one connector. It must be `ACTIVE` before
        a screening will accept it — `DRAFT` is the editing state, so a
        screening never runs against a half-finished configuration.
      properties:
        workflowId:
          type: string
          description: Unique identifier of the workflow.
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
        templateId:
          type: string
          description: The template this workflow was provisioned from, if any.
          example: m1-kyt-workflow
          nullable: true
        status:
          $ref: '#/components/schemas/WorkflowStatusEnum'
        title:
          type: string
          description: User-facing display name for the workflow.
          example: KYT Screening - EU Customers
        description:
          type: string
          description: User-facing free-text description of the workflow's purpose.
          example: Screens EU customer addresses against KYT risk providers.
          nullable: true
        createdAt:
          type: string
          description: >-
            Unix timestamp in seconds when the workflow was provisioned, encoded
            as a string.
          example: '1735689600'
        steps:
          type: array
          description: Flat list — one step per connector.
          items:
            $ref: '#/components/schemas/StepConfig'
          example:
            - stepId: f47ac10b-58cc-4372-a567-0e02b2c3d479
              connectorId: kyt_trmlabs
              operations: []
              order: 0
      required:
        - workflowId
        - status
        - title
        - createdAt
        - steps
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
    WorkflowStatusEnum:
      type: string
      description: >
        A workflow's status, which controls whether it can be screened against.


        - `DRAFT` — the editing state. Rules can be changed while nothing is
          screening against them, so a screening never runs against a half-finished
          configuration.
        - `ACTIVE` — `POST /v1/compliance/orchestrator/screenings` accepts
        screenings against this workflow.
      enum:
        - ACTIVE
        - DRAFT
      example: ACTIVE
    StepConfig:
      type: object
      description: >-
        One step in a workflow, backed by a single connector.


        A connector is the compliance provider integration that does the work —
        `kyt_trmlabs` is TRM Labs. The step declares which operations that
        connector handles; a screening naming an operation no step is configured
        for is refused, and the error reports the supported set.
      properties:
        stepId:
          type: string
          description: Unique within the workflow.
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
        connectorId:
          type: string
          description: Identifies which connector this step invokes.
          example: kyt_trmlabs
        operations:
          type: array
          description: One entry per operation the step's connector handles.
          items:
            $ref: '#/components/schemas/StepOperationConfig'
          example:
            - operation: ADDRESS_SCREENING
              requiredParameters:
                - address
                - blockchain
              optionalParameters: []
              triggerRuleParameters: []
              outcomeEvaluationParameters: []
              outcomeMetaParameters: []
        order:
          type: integer
          description: Execution order among the workflow's steps, lowest first.
          example: 0
      required:
        - stepId
        - connectorId
        - operations
        - order
    StepOperationConfig:
      type: object
      description: >-
        Configuration for one operation the step's connector handles. The
        operation arrives on the screening request; the connector decides how to
        handle it.


        Two rule sets govern the step, and both are configured here rather than
        sent per request, so the same call behaves differently across workflows.
        Trigger rules decide whether the connector runs at all; outcome rules
        turn the provider's response into the step's verdict. With neither
        configured the step runs under the connector's own defaults, which for
        `kyt_trmlabs` are permissive: the screening completes without consulting
        the provider.


        The four parameter lists are the contract for writing those rules: a
        rule naming a field outside `triggerRuleParameters` or
        `outcomeEvaluationParameters` is rejected. They are derived from the
        connector registry rather than stored, so a connector gaining a field is
        reflected here without a migration.
      properties:
        operation:
          $ref: '#/components/schemas/ScreeningOperationEnum'
        requiredParameters:
          type: array
          description: >-
            Resolved server-side on every `GetWorkflow` call from the step's
            connector definition for this operation. Read-only: ignored on
            write.
          items:
            type: string
          example:
            - address
            - blockchain
        optionalParameters:
          type: array
          description: Like `requiredParameters`, but optional inputs to the operation.
          items:
            type: string
          example:
            - asset
            - assetAmount
            - usdValue
        triggerRuleParameters:
          type: array
          description: Fields a condition in `triggerRuleSetStruct` may reference.
          items:
            type: string
          example:
            - address
            - blockchain
            - asset
        outcomeEvaluationParameters:
          type: array
          description: >-
            Provider response fields a condition in `outcomeRuleSetStruct` may
            reference.
          items:
            type: string
          example:
            - addressHighestRiskScoreLevel
        outcomeMetaParameters:
          type: array
          description: >-
            Additional provider response fields returned with the result; not
            usable in `outcomeRuleSetStruct` conditions.
          items:
            type: string
          example:
            - address
            - blockchain
        triggerRuleSetStruct:
          $ref: '#/components/schemas/RuleSet'
        triggerRuleSetJson:
          type: string
          description: >-
            The tenant's trigger rules, as a JSON-encoded string. Set for steps
            whose rules are still defined as a legacy screening policy rather
            than natively in Compliance Orchestrator, and refreshed on every
            read. Mutually exclusive with `triggerRuleSetStruct`.
          example: >-
            [{"ruleId":"f47ac10b-58cc-4372-a567-0e02b2c3d479","action":"REJECT"}]
          nullable: true
        outcomeRuleSetStruct:
          $ref: '#/components/schemas/RuleSet'
        outcomeRuleSetJson:
          type: string
          description: >-
            The tenant's outcome rules, as a JSON-encoded string. Set for steps
            whose rules are still defined as a legacy screening policy rather
            than natively in Compliance Orchestrator, and refreshed on every
            read. Mutually exclusive with `outcomeRuleSetStruct`.
          example: >-
            [{"ruleId":"f47ac10b-58cc-4372-a567-0e02b2c3d479","action":"REJECT"}]
          nullable: true
    ScreeningOperationEnum:
      type: string
      description: >
        What the caller wants Compliance Orchestrator to do. The target workflow
        must

        have a step configured for the operation; the error names the supported
        set

        when it does not.


        - `ADDRESS_SCREENING` — screen an address on its own, before anything
        exists
          on-chain. Answers whether the address itself carries risk.
        - `TRANSACTION_SCREENING` — screen a whole transfer: source and
        destination,
          amount and direction, not the destination alone.
        - `REGISTER_TRANSACTION` — record a confirmed transfer with the provider
        for
          ongoing monitoring. Not a gate: it files the transfer so the provider's own
          rules can raise alerts later, which is what feeds its AML model.
      enum:
        - ADDRESS_SCREENING
        - TRANSACTION_SCREENING
        - REGISTER_TRANSACTION
      example: ADDRESS_SCREENING
    RuleSet:
      type: object
      description: >-
        An ordered set of rules. Rules are evaluated top to bottom, and the
        first one that matches wins.
      properties:
        rules:
          type: array
          description: Ordered rule list, evaluated top to bottom; the first match wins.
          items:
            $ref: '#/components/schemas/Rule'
          example:
            - ruleId: f47ac10b-58cc-4372-a567-0e02b2c3d479
              conditions:
                - field: blockchain
                  operator: EQUALS
                  value: ETH
              ruleAction: SCREEN
              order: 0
    Rule:
      type: object
      nullable: true
      description: >-
        A single rule within a rule set. The first rule whose conditions match
        wins, and its `ruleAction` is applied.
      properties:
        ruleId:
          type: string
          description: UUID, unique within the rule set.
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
        conditions:
          type: array
          description: Conditions AND-ed together within this rule.
          items:
            $ref: '#/components/schemas/RuleCondition'
          example: []
        ruleAction:
          $ref: '#/components/schemas/RuleActionEnum'
        order:
          type: integer
          description: >-
            Zero-based evaluation order among the rule set's rules, lowest
            first.
          example: 0
        title:
          type: string
          description: >-
            User-facing label for the rule. Cosmetic only — not read by rule
            evaluation.
          example: High risk score
          nullable: true
    RuleCondition:
      type: object
      description: >-
        A single condition within a rule. Conditions within a rule are AND-ed
        together.
      properties:
        field:
          type: string
          description: >-
            The input context field this condition tests. Allowed values depend
            on the rule set type (trigger vs. outcome) and the step's
            connector/operation.
          example: blockchain
        operator:
          $ref: '#/components/schemas/RuleConditionOperatorEnum'
        value:
          type: string
          description: The value `field` is compared against, using `operator`.
          example: ETH
      required:
        - field
        - operator
        - value
    RuleActionEnum:
      type: string
      description: >
        What happens when a rule matches. Which values are legal depends on the
        rule

        set the rule belongs to — a trigger rule decides whether to screen, an

        outcome rule decides what the answer means. The enum is the union of
        both

        sets, so neither set accepts all of its values: `FREEZE` is the one
        value

        shared by the two, and every other value belongs to exactly one of them.


        Trigger rules:


        - `SCREEN` — call the connector

        - `PASS` — let the subject through without screening

        - `FREEZE` — hold for manual action


        Outcome rules:


        - `ACCEPT` — the step passes

        - `REJECT` — the step fails

        - `ALERT` — the step passes but is flagged for review

        - `FREEZE` — hold for manual action

        - `WAIT` — come back later; refused once the deadline has passed
      enum:
        - SCREEN
        - PASS
        - FREEZE
        - ACCEPT
        - REJECT
        - ALERT
        - WAIT
      example: SCREEN
    RuleConditionOperatorEnum:
      type: string
      description: >-
        The comparison applied between a rule condition's `field` and its
        `value`.
      enum:
        - EQUALS
        - NOT_EQUALS
        - GT
        - GTE
        - LT
        - LTE
      example: EQUALS
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````