---
title: "Returns the ImportJob for the given ID if it exists"
method: GET
path: "/import/{import_job_id}"
tags: ["import"]
---

# Returns the ImportJob for the given ID if it exists

`GET /import/{import_job_id}`

## Path parameters

- `import_job_id` string, required

## Response `200`

Successful Response

- ImportJobRead
  - `job_id` string, required — RQ job ID
  - `job_type` string, required — Type of the job
  - `project_id` integer, required — Project ID associated with the job
  - `status` 'queued' | 'finished' | 'failed' | 'started' | 'deferred' | 'scheduled' | 'stopped' | 'canceled', required
  - `status_message` string, nullable — Status message
  - `current_step` integer, required — Current step in the job process
  - `steps` string[], required — Total number of steps in the job process
  - `input` ImportJobInput, required
    - `project_id` integer, required — Project ID associated with the job
    - `import_job_type` 'PROJECT' | 'CODES' | 'TAGS' | 'FOLDERS' | 'BBOX_ANNOTATIONS' | 'SPAN_ANNOTATIONS' | 'SENTENCE_ANNOTATIONS' | 'USERS' | 'PROJECT_METADATA' | 'WHITEBOARDS' | 'TIMELINE_ANALYSES' | 'COTA' | 'MEMOS' | 'DOCUMENTS', required
    - `user_id` integer, required — ID of the User, who started the job.
    - `file_name` string, required — The name to the file that is used for the import job
  - `output` unknown
  - `created` string, date-time, required — Created timestamp of the job
  - `finished` string, date-time, nullable — Finished timestamp of the job

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
