{
  "info": {
    "_postman_id": "0c0edb11-6d50-4d52-b4f5-2b3ce3780b68",
    "name": "Atlassian wiki/rest/api/longtask/",
    "description": "Needs description.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:06:29.000Z",
    "updatedAt": "2026-06-05T15:06:29.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-0c0edb11-6d50-4d52-b4f5-2b3ce3780b68"
  },
  "item": [
    {
      "name": "wiki",
      "item": [
        {
          "name": "rest",
          "item": [
            {
              "name": "api",
              "item": [
                {
                  "name": "longtask",
                  "item": [
                    {
                      "name": "{id}",
                      "item": [
                        {
                          "name": "Atlassian Get Long Running Task",
                          "id": "b5d7417c-ef6c-4877-9b77-702b08cdf7c9",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/longtask/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "longtask",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "id": "3c7ea552-2290-4c69-aefb-42d3c774bf2b",
                                  "key": "id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the task."
                                }
                              ]
                            },
                            "description": "Returns information about an active long-running task (e.g. space export),<br>such as how long it has been running and the percentage of the task that<br>has completed.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>Permission to access the Confluence site ('Can use' global permission)."
                          },
                          "response": [
                            {
                              "id": "3e1eeb8d-1059-45f7-b817-ee32eaacfa4a",
                              "name": "Returned if the requested task is returned.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/longtask/:id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "longtask",
                                    ":id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"_links\": {\n    \"value\": \"reference #/components/schemas/GenericLinks not found in the OpenAPI spec\"\n  },\n  \"elapsedTime\": \"<long>\",\n  \"finished\": \"<boolean>\",\n  \"id\": \"<string>\",\n  \"messages\": [\n    {\n      \"value\": \"reference #/components/schemas/Message not found in the OpenAPI spec\"\n    },\n    {\n      \"value\": \"reference #/components/schemas/Message not found in the OpenAPI spec\"\n    }\n  ],\n  \"name\": {\n    \"key\": \"<string>\"\n  },\n  \"percentageComplete\": \"<integer>\",\n  \"successful\": \"<boolean>\",\n  \"ari\": \"<string>\",\n  \"status\": \"<string>\",\n  \"errors\": [\n    {\n      \"value\": \"reference #/components/schemas/Message not found in the OpenAPI spec\"\n    },\n    {\n      \"value\": \"reference #/components/schemas/Message not found in the OpenAPI spec\"\n    }\n  ],\n  \"additionalDetails\": {\n    \"destinationId\": \"<string>\",\n    \"destinationUrl\": \"<string>\",\n    \"totalPageNeedToCopy\": \"<integer>\",\n    \"additionalProperties\": \"<string>\"\n  }\n}",
                              "createdAt": "2026-06-05T15:06:29.000Z",
                              "updatedAt": "2026-06-05T15:06:29.000Z",
                              "uid": "35240-3e1eeb8d-1059-45f7-b817-ee32eaacfa4a"
                            },
                            {
                              "id": "8c34a1eb-8982-42e3-9f87-124528fe7d4a",
                              "name": "Returned if the calling user is not logged in to Confluence.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/longtask/:id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "longtask",
                                    ":id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:29.000Z",
                              "updatedAt": "2026-06-05T15:06:29.000Z",
                              "uid": "35240-8c34a1eb-8982-42e3-9f87-124528fe7d4a"
                            },
                            {
                              "id": "d815587f-9edd-4da9-899b-94574f1873cd",
                              "name": "Returned if;\n\n- There is no task with the given ID.\n- The calling user does not have permission to view the task.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/longtask/:id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "longtask",
                                    ":id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "id"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:29.000Z",
                              "updatedAt": "2026-06-05T15:06:29.000Z",
                              "uid": "35240-d815587f-9edd-4da9-899b-94574f1873cd"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:29.000Z",
                          "updatedAt": "2026-06-05T15:06:29.000Z",
                          "uid": "35240-b5d7417c-ef6c-4877-9b77-702b08cdf7c9"
                        }
                      ],
                      "id": "f9dd103c-d09f-4b26-bc37-b2bc295c4e0e",
                      "createdAt": "2026-06-05T15:06:29.000Z",
                      "updatedAt": "2026-06-05T15:06:29.000Z",
                      "uid": "35240-f9dd103c-d09f-4b26-bc37-b2bc295c4e0e"
                    }
                  ],
                  "id": "a5ad9b55-1811-4b6f-9a38-5e5c1ffd7b9d",
                  "createdAt": "2026-06-05T15:06:29.000Z",
                  "updatedAt": "2026-06-05T15:06:29.000Z",
                  "uid": "35240-a5ad9b55-1811-4b6f-9a38-5e5c1ffd7b9d"
                }
              ],
              "id": "f6a7c899-fded-45a4-b259-00110822a1eb",
              "createdAt": "2026-06-05T15:06:29.000Z",
              "updatedAt": "2026-06-05T15:06:29.000Z",
              "uid": "35240-f6a7c899-fded-45a4-b259-00110822a1eb"
            }
          ],
          "id": "e47d776f-ab7f-4de2-bd17-58275d5e9e3f",
          "createdAt": "2026-06-05T15:06:29.000Z",
          "updatedAt": "2026-06-05T15:06:29.000Z",
          "uid": "35240-e47d776f-ab7f-4de2-bd17-58275d5e9e3f"
        }
      ],
      "id": "d9b7a3e5-14a1-4816-a867-180e0a45f87a",
      "createdAt": "2026-06-05T15:06:29.000Z",
      "updatedAt": "2026-06-05T15:06:29.000Z",
      "uid": "35240-d9b7a3e5-14a1-4816-a867-180e0a45f87a"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "//your-domain.atlassian.net"
    }
  ]
}