| Method | GET /_active_tasks | |
| Request | None | |
| Response | List of running tasks, including the task type, name, status and process ID | |
| Admin Privileges Required | no | |
| Return Codes | ||
| 200 | Request completed successfully. | |
You can obtain a list of active tasks by using the
/_active_tasks URL. The result is a JSON array
of the currently running tasks, with each task being described
with a single object. For example:
[
{
"pid" : "<0.11599.0>",
"status" : "Copied 0 of 18369 changes (0%)",
"task" : "recipes",
"type" : "Database Compaction"
}
]The returned structure includes the following fields for each task:
Table 9.2. List of Active Tasks
| Field | Description |
tasks [array] | Active Task |
pid | Process ID |
status | Task status message |
task | Task name |
type | Operation Type |
For operation type, valid values include:
Database Compaction
Replication
View Group Compaction
View Group Indexer