---
search:
  tags:
    - imports-management
    - GET
seo:
  description: >-
    Retrieves comprehensive information about a specific import,… Reference for
    the GET /imports-management/{importId} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: GET
  label: Get import details
title: Get import details
type: openapi-operation
---
Retrieves comprehensive information about a specific import, including all mappings, column metadata, and processing statistics.

**What is returned:**
- **Import Metadata**: File name, row/column counts, status, creation/completion timestamps, file size
- **Current Mappings**: All field mappings in AI format, showing which CSV columns map to which entity fields
- **Column Metadata**: Details about each CSV column (name, data type, sample values)
- **Sample Rows**: First 10 rows of data for preview
- **Processing Statistics**: Counts of created/updated/skipped entities (available after execution)

**Use Cases:**
- Review mappings before running a dry-run or execution
- Check import status and progress during background processing
- Inspect processing results after completion
- Debug mapping issues by examining column metadata and sample data

**Import Status Values:**
- `Uploaded`: Ready for mapping configuration and execution
- `Processing`: Currently running in the background (check `processedEntities` vs `totalToProcess` for progress)
- `Completed`: Finished successfully (see `totalCreatedEntities`, `totalUpdatedEntities`, `totalSkippedEntities`)
- `Failed`: Encountered errors (check error message if available)

**Mappings Format:**
Mappings are returned in AI format, where each mapping specifies:
- Entity type (e.g., "Employee", "Project")
- Field mappings (which CSV column UUID maps to which entity field)
- Value mappings (for enums, e.g., "Manager" → "manager")
- Custom lookup fields (fields used to find existing records for updates)

<Operation source="api-reference" id="importsmanagementcontroller-getimportdetails" />
