---
title: "Retrieve the status of current-job"
method: GET
path: "/publishing/v1/jobs/current-job/status"
tags: ["Publishing"]
---

# Retrieve the status of current-job

`GET /publishing/v1/jobs/current-job/status`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/goacoustic/apis/acoustic-content-api/docs/publishing/v1/jobs/current-job/status/get.ts> (a function with typed inputs; its response is checked against the schema)

Use the /jobs/current-job/status endpoint to retrieve the status information for the current-job.<br />User roles: admin, manager, editor

## Response `200`

Successfully retrieved the status for the current-job.

- object
  - `id` string, required: Unique identifier of associated job
  - `created` string, date-time, required: date when this item was created
  - `lastModified` string, date-time, required: date when this item was modifed for the last time
  - `state` 'READY' | 'BUILDING' | 'PENDING', required: Enumeration of publishing job states
  - `tasks` object[], required
    - `type` 'PUBLISH_ASSET' | 'PUBLISH_CATEGORY' | 'PUBLISH_CONTENT' | 'PUBLISH_PAGE' | 'PUBLISH_SITE' | 'PUBLISH_RESOURCE': Indicates which type of task is reported.
    - `messageType` 'ERROR' | 'INFO' | 'WARNING': Indicates if the task has been successful.
    - `num` integer
    - `total` integer
    - `docs` object: Map which enumerates the events that shall be published grouped by their classification ('content', 'asset', etc.).
      - `content` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
      - `page` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
      - `site` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
      - `asset` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
      - `category` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
      - `resource` object: Map which enumerates the items that shall be published groupd by their event type ('created', 'updated', etc.)
        - `created` string[]: List of items that have been created
        - `updated` string[]: List of items that have been updated
        - `deleted` string[]: List of items that have been deleted
  - `messages` object[], required
    - `id` string: Unique identifier of the message
    - `text` string: The message text
    - `locale` string: locale information for this message
    - `type` 'ERROR' | 'INFO' | 'WARNING': tbd

## Other responses

- `400`: Unable to handle the request as it does not match the API definition.
- `404`: The status for the current-job.
- `429`: Too Many Requests, the server has reached a limit, the request must be sent again at a later time.

---

[API](https://skmtc.dev/goacoustic/apis/acoustic-content-api.md) - [All operations](https://skmtc.dev/goacoustic/apis/acoustic-content-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goacoustic/apis/acoustic-content-api/revisions/677305266d89?raw)
