---
title: "GET /get-import-file-task/{id}"
method: GET
path: "/get-import-file-task/{id}"
---

# GET /get-import-file-task/{id}

`GET /get-import-file-task/{id}`

Retrieves the details about a specific import task.

## Path parameters

- `id` string, required

## Response `200`

Success

- GetImportFileTaskResponse
  - `completionTime` string, date-time — The time that the import task completed.
  - `id` string — The import file task <code>id</code> returned in the response of <a>StartImportFileTask</a>.
  - `importName` string — The name of the import task given in <a>StartImportFileTask</a>.
  - `inputS3Bucket` string — The S3 bucket where import file is located.
  - `inputS3Key` string — The Amazon S3 key name of the import file.
  - `numberOfRecordsFailed` integer — The number of records that failed to be imported.
  - `numberOfRecordsSuccess` integer — The number of records successfully imported.
  - `startTime` string, date-time — Start time of the import task.
  - `status` 'ImportInProgress' | 'ImportFailed' | 'ImportPartialSuccess' | 'ImportSuccess' | 'DeleteInProgress' | 'DeleteFailed' | 'DeletePartialSuccess' | 'DeleteSuccess' — Status of import file task.
  - `statusReportS3Bucket` string — The S3 bucket name for status report of import task.
  - `statusReportS3Key` string — The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ThrottlingException
- `483` — ValidationException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/migrationhubstrategy.md) · [All operations](https://skmtc.net/aws/apis/migrationhubstrategy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/migrationhubstrategy/versions/5fde79aed042/schema)
