---
title: "Get import job status"
method: GET
path: "/cms/posts/import/{jobId}"
tags: ["CMS"]
---

# Get import job status

`GET /cms/posts/import/{jobId}`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/cms/posts/import/{jobId}`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

Check the progress of a bulk import job. Poll this endpoint until status is `completed` or `failed`.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

Import job status

- object
  - `data` CmsImportJob
    - `job_id` string, uuid
    - `status` 'queued' | 'processing' | 'completed' | 'failed'
    - `site_id` string, uuid
    - `posts_queued` integer
    - `posts_succeeded` integer
    - `posts_failed` integer
    - `posts_skipped` integer
    - `errors` object[], nullable
      - `index` integer
      - `slug` string
      - `error` string
    - `created_at` string, date-time
    - `completed_at` string, date-time, nullable

## Other responses

- `401`: Authentication failed
- `403`: Forbidden - action not allowed on this resource
- `404`: Resource not found
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/frase/apis/frase-api.md) · [All operations](https://skmtc.dev/frase/apis/frase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frase/apis/frase-api/revisions/7fb75d89f7a4?raw)
