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

# List this project's recent import runs



## OpenAPI

````yaml /openapi/customer-api.json get /project/{projectId}/import/runs
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Flow customer API reference. Start with the [quickstart](/api/quickstart)
    and [authentication guide](/api/authentication).
  title: Customer API
  version: 1.0.0
servers:
  - description: Flow API
    url: https://backend.branch.flowengineering.com
security: []
tags:
  - name: Automations
  - name: Branches
  - name: Comments
  - name: Convert
  - name: Data Model
  - name: Diagrams
  - name: Entities
  - name: Files
  - name: Import
  - name: Notifications
  - name: Projects
  - name: ReqIF
  - name: ReqIF Import
  - name: Shared Access Grants
  - name: User Groups
  - name: Users
paths:
  /project/{projectId}/import/runs:
    get:
      tags:
        - Import
      summary: List this project's recent import runs
      operationId: ImportController_listRuns
      parameters:
        - in: path
          name: projectId
          required: true
          schema:
            type: string
        - description: Workspace identifier
          in: header
          name: customer
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportRunListDto'
          description: ''
      security:
        - api-key: []
        - bearer: []
components:
  schemas:
    ImportRunListDto:
      properties:
        runs:
          items:
            $ref: '#/components/schemas/ImportRunProgressDto'
          type: array
      required:
        - runs
      type: object
    ImportRunProgressDto:
      properties:
        chunksDone:
          type: number
        chunksFailed:
          type: number
        chunksRunning:
          type: number
        chunksTotal:
          description: Null until planning has opened every file.
          nullable: true
          type: number
        completedAt:
          nullable: true
          type: string
        createdAt:
          type: string
        entityCount:
          type: number
        error:
          nullable: true
          type: string
        fileIds:
          description: Files the run was asked for, known before anything is opened.
          items:
            type: string
          type: array
        files:
          items:
            $ref: '#/components/schemas/ImportRunFileProgressDto'
          type: array
        inputTokens:
          type: number
        noteCount:
          type: number
        outputTokens:
          type: number
        relationshipCount:
          type: number
        runId:
          type: string
        status:
          enum:
            - queued
            - planning
            - running
            - succeeded
            - failed
            - cancelled
          type: string
      required:
        - runId
        - status
        - fileIds
        - chunksTotal
        - chunksDone
        - chunksRunning
        - chunksFailed
        - entityCount
        - relationshipCount
        - noteCount
        - inputTokens
        - outputTokens
        - files
        - error
        - createdAt
        - completedAt
      type: object
    ImportRunFileProgressDto:
      properties:
        chunksDone:
          type: number
        chunksFailed:
          type: number
        chunksTotal:
          type: number
        fileId:
          type: string
        filename:
          type: string
        kind:
          enum:
            - pdf_page
            - image
          type: string
      required:
        - fileId
        - filename
        - kind
        - chunksTotal
        - chunksDone
        - chunksFailed
      type: object
  securitySchemes:
    api-key:
      in: header
      name: X-API-Key
      type: apiKey
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````