Get inspired at ContentCon. Learn more and register today
Get inspired at ContentCon. Learn more and register today
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.
/
  1. Home
  2. APIs
  3. Content Management API
  4. Job Status

Job Status

markdownView as Markdown

The Job Status API allows you to monitor the progress of your bulk operations on entries and assets. This functionality helps tracking the status of jobs, offering comprehensive details about the job's execution and the items present in the job, including nested references. Read more about Nested Reference Publishing.

Get job status

GEThttps://api.contentstack.io/v3/bulk/jobs/{job_id}

The Get job status request returns comprehensive information of a specific publish/unpublish operation.

NotePass api_version parameter as 3.2 in the Headers section.

Sample Response
Status|200 OK
1234567891011121314151617181920212223242526272829
{
    "uid": "e******6-1**a-4**4-8**4-0**********7",
    "created_by": "blte*************61",
    "updated_by": "",
    "created_at": "2024-07-01T05:22:32.475Z",
    "updated_at": "2024-07-01T05:22:34.051Z",
    "action": "publish",
    "api_key": "blt**************0d",
    "status": "complete",
    "body": {
        "branch": "main",
        "locales": [
            "en-us"
        ],
        "environments": [
            "blt6************ce"
        ],
        "published_at": "2024-07-01T05:22:34.051Z",
        "scheduled_at": ""
    },
  "summary": {
        "approvals": 0,
        "skip": 2,
        "state": "completed",
        "success": 25,
        "total_processed": 29,
        "unsuccess": 2
  }
}

Get job items status

GEThttps://api.contentstack.io/v3/bulk/jobs/{job_id}/items?include_count={boolean_value}&type={type_value}&skip={skip_value}&limit={limit_value}&status={status_value}&ct[]={content_type_uid}&include_reference={boolean_value}

The Get job items status request retrieves all the details of the items associated with a specific publish/unpublish job, along with their status.

Note
  • Pass api_version parameter as 3.2 in the Headers section.
  • The include_count query parameter will return the count only if skip is 0 or the value for skip is not provided.
  • The item status API request returns only the first 100 items. If you want to fetch the details other than the first 100 in your response, refer to the Pagination section to retrieve data for all items in paginated form.
Sample Response
Status|200 OK
123456789101112131415161718192021222324252627282930313233343536373839404142434445
{
    "items": [
        {
            "uid": "bltfc507bd97607bb5b",
            "locale": "",
            "version": 1,
            "title": "Charles_Dickens_Headshot.jpg",
            "type": "asset",
            "publish_details": {
                "status": "success"
            },
            "publish_locale": "en-us",
            "environment": "blt6c683aa0c6be0dce",
            "action": "publish",
            "published_at": "2024-07-01T05:22:33.931Z",
            "scheduled_at": "",
            "user": "blte93d4119f79db761",
            "depth": 4
        },
        {
            "uid": "blt212c614af8c395cc",
            "locale": "en-us",
            "version": 2,
            "title": "Mark Twain",
            "type": "entry",
            "publish_details": {
                "status": "failed",
                "failure_reason": "The entry you want to publish is in-progress. Please fill mandatory fields."
            },
            "publish_locale": "en-us",
            "environment": "blt6c683aa0c6be0dce",
            "action": "publish",
            "published_at": null,
            "scheduled_at": "",
            "user": "blte93d4119f79db761",
            "depth": 2,
            "content_type": {
                "uid": "author"
            }
        },
    ],
    "skip": 0,
    "limit": 100,
    "total_count": 29
}

Get Stack Bulk Task Queue

GEThttps://api.contentstack.io/v3/bulk/jobs

The Get Stack Bulk Task Queue request retrieves a list of all the bulk actions performed on entries and assets within a stack.

Sample Response
Status|200 OK
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
{
    "jobItems": [
        {
            "_id": "66cc68f89e393ee4e7dd1fc2",
            "action": "publish",
            "job_id": "cs-41e64add-001c-4a34-b841-c017b6a4a993",
            "uid": "blt45b6d47d9a1e8824",
            "content_type_uid": "ct_1",
            "title": "Test_RD",
            "locale": "en-us",
            "reference": true,
            "version": 3,
            "created_at": "2024-08-26T11:37:28.851Z",
            "updated_at": "2024-08-26T11:37:28.851Z"
        },
        {
            "_id": "66cc68f89e393ee4e7dd1fc3",
            "action": "publish",
            "job_id": "cs-41e64add-001c-4a34-b841-c017b6a4a993",
            "uid": "blta38419e21c526e4d",
            "content_type_uid": "ct_1",
            "title": "dascs v2",
            "locale": "en-us",
            "reference": true,
            "version": 2,
            "created_at": "2024-08-26T11:37:28.851Z",
            "updated_at": "2024-08-26T11:37:28.851Z"
        },
        {
            "_id": "66cc68f89e393ee4e7dd1fc5",
            "action": "publish",
            "job_id": "cs-41e64add-001c-4a34-b841-c017b6a4a993",
            "uid": "blt26eef6d406118a1f",
            "content_type_uid": "sys_assets",
            "title": "beautiful-peacock-feathers.jpg",
            "locale": "en-us",
            "version": 1,
            "created_at": "2024-08-26T11:37:28.884Z",
            "updated_at": "2024-08-26T11:37:28.884Z"
        },
        {
            "errors": [
                {
                    "path": "uid",
                    "errorKey": "This item has already been added to the release"
                }
            ],
            "_id": "66cc68f89e393ee4e7dd1fc6",
            "action": "publish",
            "job_id": "cs-41e64add-001c-4a34-b841-c017b6a4a993",
            "uid": "blta38419e21c526e4d",
            "content_type_uid": "ct_1",
            "title": "dascs v2",
            "locale": "en-us",
            "version": 2,
            "created_at": "2024-08-26T11:37:28.884Z",
            "updated_at": "2024-08-26T11:37:28.951Z",
            "errored": true
        }
    ]
}
Hide Parameters

URL Parameters

job_idrequiredstring

Enter the UID of the job of which you want to retrieve the details.

Example:

eb4c0236-103a-4a04-82a4-0a452b94bfc8

Headers

api_keyrequiredstring

Enter the API key of the stack.

Example:

your_stack_api_key
authorizationrequiredstring

Enter your management token.

Example:

your_management_token
api_versionrequiredstring

Enter the API version.

Example:

3.2
Hide Parameters

URL Parameters

job_idrequiredstring

Enter the UID of the job of which you want to retrieve the details.

Example:

eb4c0236-103a-4a04-82a4-0a452b94bfc8

Query Parameters

include_countoptionalstring

If set to true, the response includes the total count of items within the job. Default value for this parameter is false.

Example:

false
skipoptionalstring

Enter the number of items to be skipped from the response body. Default value for this parameter is 0.

Example:

0
limitoptionalstring

Enter the maximum number of items to be returned. Default and maximum value for this parameter is 100.

Example:

100
include_referenceoptionalstring

Set this parameter to 'true' to include the details of all the referenced items in response. Default value for this parameter is false.

Example:

true
statusoptionalstring

Enter the status 'success' or 'failed' for which you want to retrieve items.

Example:

success
typeoptionalstring

Enter the filter 'entry' or 'asset' for which you want to retrieve items.

Example:

asset
ct[]optionalstring

Enter the unique ID of the content type from which you want to filter responses. Filter multiple content types by using ct[]=your_content_type_uid1&ct[]=your_content_type_uid2.

Example:

your_content_type_uid

Headers

api_keyrequiredstring

Enter the API key of the stack.

Example:

your_stack_api_key
authorizationrequiredstring

Enter your management token.

Example:

your_management_token
api_versionrequiredstring

Enter the API version.

Example:

3.2
Hide Parameters

Query Parameters

include_countoptionalstring

Set this parameter to true to include the total count of items within the job.

Example:

true
skipoptionalstring

Enter the number of items to be skipped from the response body.

Example:

2
limitoptionalstring

Enter the maximum number of items to be returned.

Example:

10
ascoptionalstring

Sort the response in ascending order. Options include created_at, updated_at, status, created_by, and action.

Example:

created_at
descoptionalstring

Sort the response in descending order. Options include created_at, updated_at, status, created_by, and action.

Example:

updated_at
statusoptionalstring

Filter results by integers (1-6) separated by a comma to represent statuses: 1 - Waiting, 2 - In Queue, 3 - In Progress, 4 - Completed, 5 - Partial Complete, 6 - Failed.

Example:

4,2
usersoptionalstring

Filter results by user IDs, provided as a single ID or comma-separated IDs.

Example:

blt**************53
fromoptionalstring

Specify the start date for the required data. Use the following date format: YYYY-MM-DD.

Example:

2024-05-13
tooptionalstring

Enter the current date or any date after the from date. The date format should be: YYYY-MM-DD.

Example:

2024-06-13

Headers

api_keyrequiredstring

Enter the API key of the stack.

Example:

your_stack_api_key
authorizationrequiredstring

Enter your management token.

Example:

your_management_token
authtokenoptionalstring

Enter your authtoken.

Example:

your_authtoken
bulk_versionrequiredstring

Pass bulk_version parameter as 2.0.

Example:

2.0