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

# List Data Orchestration Templates

> Returns a paginated list of the data orchestration templates available
to run against the application for the given stage. Requires a
stage_id from the application's workflow; results can be filtered by
status and search term.



## OpenAPI

````yaml /openapi.yaml get /api/applications/{application_id}/data_orchestration_templates
openapi: 3.0.3
info:
  title: Lendflow API docs
  description: ''
  version: 1.0.0
servers:
  - url: https://api.lendflow.com
security:
  - default: []
tags:
  - name: Authentication
    description: >-

      Lendflow uses API Bearer Tokens to permit access to our API. You can
      register for a new Lendflow API key on our <a style="color:blue;"
      href="https://app.lendflow.com/login">client portal</a> in less than 60
      seconds. The Bearer Token needs to be included in all API requests made to
      the API Service in the following form: <div
      id="auth-example">Authorization: Bearer [YOUR_TOKEN]</div><div
      id="auth-reminder"><div id="edge-green"></div><div
      id="auth-reminder-text">You must replace [YOUR_TOKEN] with your personal
      API key.</div></div>
  - name: Access Tokens
    description: |-

      Create and manage the personal access tokens used to authenticate API
      requests.
  - name: Workflow Management
    description: |-

      Create applications and manage them through every stage of their workflow,
      from intake through decision.
  - name: Documents
    description: |-

      Upload, retrieve, and manage the files attached to an application.
  - name: Placements
    description: |-

      Submit applications to lenders and manage each placement through its
      lifecycle.
  - name: Offers
    description: |-

      Create and manage offers on an application, from initial terms through
      funding.
  - name: Smartviews
    description: |-

      Save and manage reusable application filters that organize your pipeline.
  - name: Workflow Templates
    description: |-

      Browse the workflow templates available for creating applications.
  - name: Consent Templates
    description: |-

      Manage the consent documents presented to applicants for signature.
  - name: Offer Templates
    description: |-

      Manage the templates that define the structure and fields of your offers.
  - name: Data Orchestration
    description: |-

      Run data orchestration templates against applications and review their
      execution logs.
  - name: Attributes
    description: |-

      Define computed attributes and evaluate them against your applications.
  - name: Scorecards
    description: |-

      Run scorecards and scorecard groups against applications and retrieve
      their results.
  - name: Entity Profiles
    description: |-

      Manage the reusable business and individual profiles shared across
      applications.
  - name: Organization
    description: |-

      Manage the users in your organization.
  - name: Metadata
    description: |-

      Attach custom key-value data to your applications and files.
paths:
  /api/applications/{application_id}/data_orchestration_templates:
    parameters:
      - in: path
        name: application_id
        description: The ID of the application.
        example: architecto
        required: true
        schema:
          type: string
    get:
      tags:
        - Data Orchestration
      summary: List Data Orchestration Templates
      description: |-
        Returns a paginated list of the data orchestration templates available
        to run against the application for the given stage. Requires a
        stage_id from the application's workflow; results can be filtered by
        status and search term.
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                stage_id:
                  type: string
                  description: >-
                    Underwriting stage on the application's workflow snapshot.
                    The response lists the templates that stage declares. Must
                    be a valid UUID.
                  example: 6ff8f7f6-1eb3-3525-be4a-3932c805afed
                status:
                  type: string
                  description: >-
                    Data Orchestration template status, as a number. A draft
                    template is returned by default but cannot be run.
                  example:
                    - 1
                    - 2
                  enum:
                    - 1
                    - 2
                client_id:
                  type: string
                  description: Must match an existing stored value.
                  example: null
                search:
                  type: string
                  description: >-
                    Search Data Orchestration templates by name or by character
                    ID.
                  example: null
                  nullable: true
                for_workflow:
                  type: boolean
                  description: ''
                  example: true
                  nullable: true
              required:
                - stage_id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - id: null
                      short_id: null
                      name: Et animi.
                      description: >-
                        Fugiat sunt nihil accusantium harum mollitia. Deserunt
                        aut ab provident perspiciatis quo omnis nostrum.
                        Adipisci quidem nostrum qui commodi incidunt iure.
                      workflow:
                        - funding
                      trigger: null
                      is_global: false
                      updated_at: null
                      deleted_at: null
                      status: 2
                    - id: null
                      short_id: null
                      name: Molestias.
                      description: >-
                        Sint aut molestiae sunt suscipit. Fugiat ut aut deserunt
                        et error neque recusandae. Ipsam dolorem et ut dicta
                        vitae assumenda consequatur. Et sunt quisquam sit
                        repellendus ut.
                      workflow:
                        - funding
                      trigger: null
                      is_global: false
                      updated_at: null
                      deleted_at: null
                      status: 2
                properties:
                  data:
                    type: array
                    example:
                      - id: null
                        short_id: null
                        name: Et animi.
                        description: >-
                          Fugiat sunt nihil accusantium harum mollitia. Deserunt
                          aut ab provident perspiciatis quo omnis nostrum.
                          Adipisci quidem nostrum qui commodi incidunt iure.
                        workflow:
                          - funding
                        trigger: null
                        is_global: false
                        updated_at: null
                        deleted_at: null
                        status: 2
                      - id: null
                        short_id: null
                        name: Molestias.
                        description: >-
                          Sint aut molestiae sunt suscipit. Fugiat ut aut
                          deserunt et error neque recusandae. Ipsam dolorem et
                          ut dicta vitae assumenda consequatur. Et sunt quisquam
                          sit repellendus ut.
                        workflow:
                          - funding
                        trigger: null
                        is_global: false
                        updated_at: null
                        deleted_at: null
                        status: 2
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                          nullable: true
                        short_id:
                          type: string
                          example: null
                          nullable: true
                        name:
                          type: string
                          example: Et animi.
                        description:
                          type: string
                          example: >-
                            Fugiat sunt nihil accusantium harum mollitia.
                            Deserunt aut ab provident perspiciatis quo omnis
                            nostrum. Adipisci quidem nostrum qui commodi
                            incidunt iure.
                        workflow:
                          type: array
                          example:
                            - funding
                          items:
                            type: string
                        trigger:
                          type: string
                          example: null
                          nullable: true
                        is_global:
                          type: boolean
                          example: false
                        updated_at:
                          type: string
                          example: null
                          nullable: true
                        deleted_at:
                          type: string
                          example: null
                          nullable: true
                        status:
                          type: integer
                          example: 2
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: >-
        <br>You can register for a new Lendflow API key on our <a
        style="color:blue;" href="https://app.lendflow.com/login">client
        portal</a> in less than 60 seconds. The Bearer Token needs to be
        included in all API requests made to the API Service in the following
        form: <div id="auth-example">Authorization: Bearer
        [YOUR_TOKEN]</div><div id="auth-reminder"><div
        id="edge-green"></div><div id="auth-reminder-text">You must replace
        [YOUR_TOKEN] with your personal API key.</div></div>

````