---
updatedAt: 2026-03-01T18:51:13.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloudtest/llms.txt
---

# Get a tenant management task

Returns a specific task.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's CloudTest API",
    "url": "https://techdocs.akamai.com/cloudtest/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Tenant management",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/tenant/management/v1/{taskId}": {
      "get": {
        "description": "Returns a specific task.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's CloudTest API",
          "url": "https://techdocs.akamai.com/cloudtest/reference/get-tenant-mgmt-task"
        },
        "operationId": "get-tenant-mgmt-task",
        "parameters": [
          {
            "description": "All calls to this API require that you pass in the token you get from the [Generate a token](ref:put-token) operation as an `X-Auth-Token` request header. See [Get started](ref:get-started) for help to initially call the API.",
            "in": "header",
            "name": "X-Auth-Token",
            "required": true,
            "schema": {
              "example": "41871277-d0a-1153-4fc6-a6c2-c48ffb3c8307",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "headers/x-auth-token.yaml"
            }
          },
          {
            "description": "Uniquely identifies each task.",
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "example": 512,
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/task-id.yaml"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "task": {
                    "completedItems": 3,
                    "details": {
                      "MonitorSpecsToDelete": 0,
                      "ResultsToDelete": 0,
                      "TargetsToDelete": 0
                    },
                    "endTime": "2019-05-13T15:47:23.182-07:00",
                    "percent-complete": 100,
                    "startTime": "2019-05-13T15:47:12.182-07:00",
                    "status": "COMPLETED",
                    "taskid": 1738473444,
                    "totalItems": 3,
                    "uri": "/concerto/services/rest/tenant/management/v1/817413762"
                  }
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Information about a task including its id.  If the task has completed then details from the task may also be returned.",
                  "properties": {
                    "completedItems": {
                      "description": "The number of items that have completed.",
                      "format": "int64",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "details": {
                      "additionalProperties": false,
                      "description": "Number of each deleted subdata (Result, MonitorSpec, Target).",
                      "properties": {
                        "MonitorSpecsToDelete": {
                          "description": "Number of Monitor specs pending to be deleted.",
                          "format": "int64",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "ResultsToDelete": {
                          "description": "Number of results pending to be deleted.",
                          "format": "int64",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "TargetsToDelete": {
                          "description": "Number of results pending to be deleted.",
                          "format": "int64",
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "ResultsToDelete",
                        "MonitorSpecsToDelete",
                        "TargetsToDelete"
                      ],
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/detail.yaml"
                      }
                    },
                    "endTime": {
                      "description": "The time when the task completed.",
                      "type": "string"
                    },
                    "error": {
                      "description": "Any error information.",
                      "type": "string"
                    },
                    "percent-complete": {
                      "description": "The percent of the total items which are complete.",
                      "format": "int64",
                      "maximum": 100,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "startTime": {
                      "description": "The time when the task started.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The status of the task - either `SCHEDULED`, `STARTED`, `COMPLETED`, `STOPPED`, or `ERROR`.  `SCHEDULED` indicates a job that has not yet started. `STARTED` shows a job that's currently running.  `COMPLETED` is for a job that has completed its work. `STOPPED` indicates a job that was stopped while running or while scheduled. `ERROR` is for a job that ended in an error which will be returned on GET operations.",
                      "enum": [
                        "SCHEDULED",
                        "STARTED",
                        "COMPLETED",
                        "STOPPED",
                        "ERROR"
                      ],
                      "type": "string"
                    },
                    "taskid": {
                      "description": "Uniquely identifies each task.",
                      "format": "int64",
                      "minimum": 1,
                      "type": "integer"
                    },
                    "totalItems": {
                      "description": "The total number of items that the task processes.",
                      "format": "int64",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "uri": {
                      "description": "Use this URL to get the job status.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "taskid",
                    "uri",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/task-info-2.yaml"
                  }
                }
              }
            },
            "description": "Successful operation. Returns detailed information from and about the task."
          },
          "400": {
            "content": {},
            "description": "[Bad request](ref:400). The URL or JSON request object is invalid.",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "401": {
            "content": {},
            "description": "[Unauthorized](ref:401). The security token is missing or invalid. See [Get started](ref:get-started) for help initially running the API.",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "404": {
            "content": {},
            "description": "[Not found](ref:404). The requested object doesn't exist.",
            "x-akamai": {
              "file-path": "errors/404.yaml"
            }
          }
        },
        "summary": "Get a tenant management task",
        "tags": [
          "Tasks"
        ]
      },
      "x-akamai": {
        "file-path": "paths/tenant-task.yaml",
        "path-info": "/tenant/management/v1/{taskId}"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/concerto/services/rest"
    }
  ],
  "x-akamai": {
    "auth-type": "OAUTH",
    "file-path": "11-tenant-management.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [List tenant management tasks](https://techdocs.akamai.com/cloudtest/reference/get-tenant-mgmt-tasks.md)
* [Stop a tenant management task](https://techdocs.akamai.com/cloudtest/reference/delete-tenant-mgmt-task.md)