---
title: "Check an import or clip job"
method: GET
path: "/v1/media/jobs/{jobId}"
tags: ["Media"]
---

# Check an import or clip job

`GET /v1/media/jobs/{jobId}`

## Request

- Base URL: `https://www.postquick.ai/api`
- URL: `https://www.postquick.ai/api/v1/media/jobs/{jobId}`
- Auth: HTTP bearer

Returns one import or clip job. While its status is `queued` or `processing`, check again in a few seconds.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The job.

- object
  - `success` true, required
  - `data` object, required
    - `job` MediaJob, required
      - `id` string, uuid, required
      - `type` 'import' | 'clip', required
      - `status` 'queued' | 'processing' | 'ready' | 'failed', required: `queued` and `processing` are still running; poll getMediaJob until `ready` or `failed`.
      - `sourceUrl` string, nullable, required: The post link an import came from; null for a clip.
      - `title` string, nullable, required
      - `resultUrl` string, nullable, required: The stored video, once `ready`. Use it as `videoUrl` in createVideo or createStory.
      - `durationSeconds` number, nullable, required
      - `width` number, nullable, required
      - `height` number, nullable, required
      - `sizeBytes` number, nullable, required
      - `error` string, nullable, required: Why the job failed, in words for the user.
      - `createdAt` string, required

## Other responses

- `404`: No job with that id belongs to the user.

---

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