---
title: "Get task info"
method: GET
path: "/tasks/{TaskId}"
tags: ["Tasks"]
---

# Get task info

`GET /tasks/{TaskId}`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/tasks/{TaskId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/tasks/:TaskId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get status of the task

## Path parameters

- `TaskId` string, required

## Query parameters

- `nodename` string, required
- `resourceid` string, required

## Response `202`

Information related to task/process

- Taskinfo
  - `status` 'INITIATED' | 'COMPLETED': Status of the task to show whether it is running or not
  - `details` string: Information related to the task completed like url to check the output
  - `httpstatus` integer: Http response code

## Other responses

- `302`: Task/ Process completed
- `400`: Bad request
- `401`: The requested operation requires authentication.
- `403`: Forbidden
- `404`: Object that the endpoint is working on is not found.

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
