Tasks

Some requests do not complete their operation at once: they start a task, a runtime operation that runs on the backup server, and return it in the response. Tasks are used, for example, for the following operations:

  • Restore, search and download of files and folders in the Backup Browser section.
  • Rescan of inventory objects.
  • Calculation of the size of job objects.
  • Creation of deployment kits and Veeam Recovery Media.
  • Preparation of protection group packages for download.

You can get all tasks or a specific task to track its state, progress and result. You can also stop a running task.

Get All Tasks

The HTTP GET request to the /api/v1/tasks endpoint gets an array of tasks performed on the backup server.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of tasks to skip.

limit
integer <int32>
Default: 200

Maximum number of tasks to return.

orderColumn
string (ETaskFiltersOrderColumn)

Sorts tasks by one of the task parameters.

Enum: "Name" "Type" "CreationTime" "EndTime" "State" "Result"
orderAsc
boolean

If true, sorts tasks in ascending order by the orderColumn parameter.

nameFilter
string

Filters tasks by the nameFilter pattern. The pattern can match any task parameter. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

createdAfterFilter
string <date-time>

Returns tasks that are created after the specified date and time.

createdBeforeFilter
string <date-time>

Returns tasks that are created before the specified date and time.

endedAfterFilter
string <date-time>

Returns tasks that are finished after the specified date and time.

endedBeforeFilter
string <date-time>

Returns tasks that are finished before the specified date and time.

typeFilter
string (ETaskType)

Filters tasks by task type.

Enum: "Common" "FlrRestore" "FlrDownload" "FlrSearch" "HierarchyRescan" "DeploymentKit" "RecoveryMedia" "ProtectionGroupPackages" "JobSourcesSizeCalculation"
stateFilter
string (ETaskState)

Filters tasks by task state.

Enum: "Starting" "Working" "Stopping" "Stopped"
resultFilter
string (ETaskResult)

Filters tasks by task result.

Enum: "None" "Success" "Warning" "Failed" "Cancelled"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/tasks
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Task

The HTTP GET request to the /api/v1/tasks/{id} endpoint gets a task that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Task ID. To get the ID, run the Get All Tasks request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/tasks/{id}
Request samples
Response samples
application/json
{
  • "type": "Common",
  • "id": "c3d4e5f6-7a8b-49c0-8d1e-2f3a4b5c6d7e",
  • "name": "Veeam Explorers Recovery Service Task",
  • "state": "Working",
  • "progressPercent": 0,
  • "creationTime": "2026-10-22T09:41:12.5530187Z",
  • "result": "None"
}

Stop Task

The HTTP POST request to the /api/v1/tasks/{id}/stop endpoint stops a restore task that has the specified id.

Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Task ID. To get the ID, run the Get All Tasks request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/tasks/{id}/stop
Request samples
Response samples
application/json
{ }