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

# List vector database ingestion jobs

> Retrieve a list of all ingestion jobs for a vector database.

Each job in the response includes a `file_records` array that provides per-file tracking. Every file gets its own record with independent status, timestamps, and error information.

See [Monitor ingestion](/flow/sdk/data-engine/monitor-ingestion) for a full guide to job states, file record fields, and error handling.


## OpenAPI

````yaml get /v1/flow/vectordb/{database_id}/ingestion
openapi: 3.1.0
info:
  title: SeekrFlow API
  description: SeekrFlow API Documentation
  termsOfService: http://www.seekr.com/support
  contact:
    name: Seekr API Support
    url: http://www.seekr.com/contact
    email: contact@seekr.com
  version: 5.99.0
servers:
  - url: https://flow.seekr.com
    description: SeekrBuild server base URL
security: []
paths:
  /v1/flow/vectordb/{database_id}/ingestion:
    get:
      tags:
        - Vector database
      summary: List vector database ingestion jobs
      description: Retrieve a list of all ingestion jobs for a vector database.
      operationId: >-
        list_vector_database_ingestion_jobs_v1_flow_vectordb__database_id__ingestion_get
      parameters:
        - name: database_id
          in: path
          required: true
          schema:
            type: string
            title: Database Id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VectorDatabaseIngestionList'
        '422':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    VectorDatabaseIngestionList:
      properties:
        object:
          type: string
          const: list
          title: Object
        data:
          items:
            $ref: '#/components/schemas/VectorDatabaseIngestionResponse'
          type: array
          title: Data
      type: object
      required:
        - object
        - data
      title: VectorDatabaseIngestionList
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VectorDatabaseIngestionResponse:
      properties:
        id:
          type: string
          title: Id
        vector_database_id:
          type: string
          title: Vector Database Id
        status:
          type: string
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        file_ids:
          items:
            type: string
          type: array
          title: File Ids
        metaflow_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Metaflow Run Id
        file_records:
          anyOf:
            - items:
                $ref: '#/components/schemas/VectorDatabaseFileResponse'
              type: array
            - type: 'null'
          title: File Records
      type: object
      required:
        - id
        - vector_database_id
        - status
        - created_at
        - updated_at
        - error_message
        - file_ids
        - metaflow_run_id
      title: VectorDatabaseIngestionResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    VectorDatabaseFileResponse:
      properties:
        id:
          type: string
          title: Id
        record_id:
          type: string
          title: Record Id
        vector_database_id:
          type: string
          title: Vector Database Id
        filename:
          type: string
          title: Filename
        method:
          anyOf:
            - type: string
            - type: 'null'
          title: Method
        chunk_method:
          anyOf:
            - type: string
            - type: 'null'
          title: Chunk Method
        token_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Token Count
        overlap_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Overlap Tokens
        created_at:
          type: string
          format: date-time
          title: Created At
        ingestion_job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Ingestion Job Id
        status:
          type: string
          title: Status
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        suggested_fix:
          anyOf:
            - type: string
            - type: 'null'
          title: Suggested Fix
        processing_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Processing At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        failed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Failed At
        file_size_in_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: File Size In Bytes
        queue_position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Queue Position
          description: Position in queue if status is queued
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
          description: >-
            User-defined metadata associated with this file's chunks. Set at
            ingestion time or updated via PATCH
            /vectordb/{database_id}/metadata.
      type: object
      required:
        - id
        - record_id
        - vector_database_id
        - filename
        - created_at
        - status
      title: VectorDatabaseFileResponse
      description: Response model for a vector database file
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: >-
        Your Seekr API key, sent in the Authorization header with no 'Bearer'
        prefix.
      in: header
      name: Authorization

````