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

# Get one file import

> One import, with the first 20 failed rows Statisfy stored for it: each one's row number, error type and message.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/imports/{import_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/imports/{import_id}:
    get:
      tags:
        - integrations
      summary: Get one file import
      description: >-
        One import, with the first 20 failed rows Statisfy stored for it: each
        one's row number, error type and message.
      operationId: integrations_get_import
      parameters:
        - in: path
          name: import_id
          required: true
          schema:
            maxLength: 64
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportDetail'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ImportDetail:
      properties:
        completed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Completed At
        created_at:
          description: When the file was received
          format: date-time
          title: Created At
          type: string
        failed_rows:
          description: The first 20 failed rows Statisfy stored
          items:
            $ref: '#/components/schemas/FailedRow'
          title: Failed Rows
          type: array
        failed_rows_truncated:
          description: True when more failed rows were stored than are shown
          title: Failed Rows Truncated
          type: boolean
        feed:
          anyOf:
            - type: string
            - type: 'null'
          description: The file feed the file matched; null for an upload
          title: Feed
        file_name:
          anyOf:
            - type: string
            - type: 'null'
          description: The file's name; null when a delivery carried several files
          title: File Name
        id:
          title: Id
          type: string
        object:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            What an upload updates, e.g. account or people; null for a feed's
            file
          title: Object
        rows:
          anyOf:
            - $ref: '#/components/schemas/ImportRows'
            - type: 'null'
          description: Null until the file is processed
        source:
          description: How the file arrived
          enum:
            - upload
            - email
            - s3
            - api
          title: Source
          type: string
        status:
          enum:
            - queued
            - running
            - succeeded
            - failed
            - held
          title: Status
          type: string
      required:
        - id
        - file_name
        - source
        - object
        - feed
        - status
        - created_at
        - completed_at
        - rows
        - failed_rows
        - failed_rows_truncated
      title: ImportDetail
      type: object
    FailedRow:
      properties:
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        reason:
          anyOf:
            - type: string
            - type: 'null'
          description: The error type stored for the row
          title: Reason
        row:
          anyOf:
            - type: integer
            - type: 'null'
          description: Row number in the file
          title: Row
      required:
        - row
        - reason
        - message
      title: FailedRow
      type: object
    ImportRows:
      properties:
        created:
          anyOf:
            - type: integer
            - type: 'null'
          description: Records an upload created; null for a feed's file
          title: Created
        empty:
          anyOf:
            - type: integer
            - type: 'null'
          description: Entirely empty rows, not processed
          title: Empty
        failed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Failed
        skipped:
          anyOf:
            - type: integer
            - type: 'null'
          title: Skipped
        succeeded:
          anyOf:
            - type: integer
            - type: 'null'
          description: Rows written
          title: Succeeded
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: Rows read, empty rows aside
          title: Total
      required:
        - total
        - succeeded
        - created
        - skipped
        - empty
        - failed
      title: ImportRows
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.