# Task\_executions

## (By task) Lists all task executions.

> \*\*API Key Scope\*\*: task\_executions / index

```json
{"openapi":"3.0.1","info":{"title":"Nodeum API","version":"2.1.0"},"servers":[{"url":"{url}/api/v2","variables":{"url":{"default":"http://localhost","description":"URL of server"}}}],"security":[{"BasicAuth":[]},{"BearerAuth":[]},{"JWT":[]}],"components":{"securitySchemes":{"BasicAuth":{"type":"http","scheme":"basic","description":"Pass the username and password of a user in the authorization header.\nThis currently gives full access."},"BearerAuth":{"type":"apiKey","description":"Create an API Key associated to user.\nAccess can be restricted with the scope.\nEach API call described below has a scoped mentionned in its description.\n\nFor example :\n\n**API Key Scope**: files / index\n\nThis means that the API key should have a scope with controller as *files*\nand the action as *index*.","name":"Authorization","in":"header"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"task_executions_index":{"description":"List of task executions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_execution_collection"}}}}},"schemas":{"task_execution_collection":{"type":"object","properties":{"count":{"type":"integer","readOnly":true},"task_executions":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/task_execution"}}}},"task_execution":{"type":"object","properties":{"id":{"type":"string"},"task_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"workflow_type":{"type":"string","enum":["active_archive","offline_archive","data_exchange","data_migration","maintenance","data_enrichment"]},"workflow_action":{"type":"string","enum":["copy","move","erase","scan","rehydratation","format","check_consistency","duplication","cache_cleaning","ejection","get_index","full_backup","incremental_backup","restore","speedtest"]},"source_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"destination_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"status":{"type":"string","enum":["not_activated","done","in_progress","error","paused","stopped_by_system","in_queue","finished_with_warnings","calculating","stopped_by_user"]},"progress":{"type":"integer"},"log_time":{"type":"string"},"job_started":{"type":"string"},"job_finished":{"type":"string"},"to_process_size":{"type":"integer","format":"int64"},"processed_size":{"type":"integer","format":"int64"},"to_process_files":{"type":"integer","format":"int64"},"processed_files":{"type":"integer","format":"int64"},"finalized_files":{"type":"integer","format":"int64"},"estimation_time":{"type":"integer"},"bandwidth":{"type":"integer","format":"int64"}}}},"parameters":{"limit":{"name":"limit","in":"query","description":"The number of items to display for pagination.","schema":{"type":"integer"}},"offset":{"name":"offset","in":"query","description":"The number of items to skip for pagination.","schema":{"type":"integer"}},"sort_by":{"name":"sort_by","in":"query","description":"Sort results by attribute.\n\nCan sort on multiple attributes, separated by `|`.\nOrder direction can be suffixing the attribute by either `:asc` (default) or `:desc`.","style":"pipeDelimited","schema":{"type":"array","items":{"type":"string"}}},"filter_id":{"name":"id","in":"query","description":"Filter on id","schema":{"type":"string"}},"filter_name":{"name":"name","in":"query","description":"Filter on name","schema":{"type":"string"}},"filter_workflow_type":{"name":"workflow_type","in":"query","description":"Filter on task workflow type","schema":{"type":"string"}},"filter_workflow_action":{"name":"workflow_action","in":"query","description":"Filter on task workflow action","schema":{"type":"string"}},"filter_source_type":{"name":"source_type","in":"query","description":"Filter on task source type","schema":{"type":"string"}},"filter_destination_type":{"name":"destination_type","in":"query","description":"Filter on task destination type","schema":{"type":"string"}},"filter_status":{"name":"status","in":"query","description":"Filter on status","schema":{"type":"string"}},"filter_log_time":{"name":"log_time","in":"query","description":"Filter on log time","schema":{"type":"string"}},"filter_job_started":{"name":"job_started","in":"query","description":"Filter on job started","schema":{"type":"string"}},"filter_job_finished":{"name":"job_finished","in":"query","description":"Filter on job finished","schema":{"type":"string"}},"filter_to_process_size":{"name":"to_process_size","in":"query","description":"Filter on to process size","schema":{"type":"string"}},"filter_processed_size":{"name":"processed_size","in":"query","description":"Filter on processed size","schema":{"type":"string"}},"filter_to_process_files":{"name":"to_process_files","in":"query","description":"Filter on to process files","schema":{"type":"string"}},"filter_processed_files":{"name":"processed_files","in":"query","description":"Filter on processed files","schema":{"type":"string"}},"filter_finalized_files":{"name":"finalized_files","in":"query","description":"Filter on finalized files","schema":{"type":"string"}},"filter_estimation_time":{"name":"estimation_time","in":"query","description":"Filter on estimation time","schema":{"type":"string"}},"filter_bandwidth":{"name":"bandwidth","in":"query","description":"Filter on bandwidth","schema":{"type":"string"}}}},"paths":{"/tasks/{task_id}/task_executions":{"get":{"summary":"(By task) Lists all task executions.","operationId":"index_task_executions_by_task","description":"**API Key Scope**: task_executions / index","tags":["task_executions"],"responses":{"200":{"$ref":"#/components/responses/task_executions_index"}},"parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/sort_by"},{"$ref":"#/components/parameters/filter_id"},{"$ref":"#/components/parameters/filter_name"},{"$ref":"#/components/parameters/filter_workflow_type"},{"$ref":"#/components/parameters/filter_workflow_action"},{"$ref":"#/components/parameters/filter_source_type"},{"$ref":"#/components/parameters/filter_destination_type"},{"$ref":"#/components/parameters/filter_status"},{"$ref":"#/components/parameters/filter_log_time"},{"$ref":"#/components/parameters/filter_job_started"},{"$ref":"#/components/parameters/filter_job_finished"},{"$ref":"#/components/parameters/filter_to_process_size"},{"$ref":"#/components/parameters/filter_processed_size"},{"$ref":"#/components/parameters/filter_to_process_files"},{"$ref":"#/components/parameters/filter_processed_files"},{"$ref":"#/components/parameters/filter_finalized_files"},{"$ref":"#/components/parameters/filter_estimation_time"},{"$ref":"#/components/parameters/filter_bandwidth"}]}}}}
```

## Lists all task executions.

> \*\*API Key Scope\*\*: task\_executions / index

```json
{"openapi":"3.0.1","info":{"title":"Nodeum API","version":"2.1.0"},"servers":[{"url":"{url}/api/v2","variables":{"url":{"default":"http://localhost","description":"URL of server"}}}],"security":[{"BasicAuth":[]},{"BearerAuth":[]},{"JWT":[]}],"components":{"securitySchemes":{"BasicAuth":{"type":"http","scheme":"basic","description":"Pass the username and password of a user in the authorization header.\nThis currently gives full access."},"BearerAuth":{"type":"apiKey","description":"Create an API Key associated to user.\nAccess can be restricted with the scope.\nEach API call described below has a scoped mentionned in its description.\n\nFor example :\n\n**API Key Scope**: files / index\n\nThis means that the API key should have a scope with controller as *files*\nand the action as *index*.","name":"Authorization","in":"header"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"task_executions_index":{"description":"List of task executions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_execution_collection"}}}}},"schemas":{"task_execution_collection":{"type":"object","properties":{"count":{"type":"integer","readOnly":true},"task_executions":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/task_execution"}}}},"task_execution":{"type":"object","properties":{"id":{"type":"string"},"task_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"workflow_type":{"type":"string","enum":["active_archive","offline_archive","data_exchange","data_migration","maintenance","data_enrichment"]},"workflow_action":{"type":"string","enum":["copy","move","erase","scan","rehydratation","format","check_consistency","duplication","cache_cleaning","ejection","get_index","full_backup","incremental_backup","restore","speedtest"]},"source_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"destination_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"status":{"type":"string","enum":["not_activated","done","in_progress","error","paused","stopped_by_system","in_queue","finished_with_warnings","calculating","stopped_by_user"]},"progress":{"type":"integer"},"log_time":{"type":"string"},"job_started":{"type":"string"},"job_finished":{"type":"string"},"to_process_size":{"type":"integer","format":"int64"},"processed_size":{"type":"integer","format":"int64"},"to_process_files":{"type":"integer","format":"int64"},"processed_files":{"type":"integer","format":"int64"},"finalized_files":{"type":"integer","format":"int64"},"estimation_time":{"type":"integer"},"bandwidth":{"type":"integer","format":"int64"}}}},"parameters":{"limit":{"name":"limit","in":"query","description":"The number of items to display for pagination.","schema":{"type":"integer"}},"offset":{"name":"offset","in":"query","description":"The number of items to skip for pagination.","schema":{"type":"integer"}},"sort_by":{"name":"sort_by","in":"query","description":"Sort results by attribute.\n\nCan sort on multiple attributes, separated by `|`.\nOrder direction can be suffixing the attribute by either `:asc` (default) or `:desc`.","style":"pipeDelimited","schema":{"type":"array","items":{"type":"string"}}},"complete_list":{"name":"complete_list","in":"query","description":"If `false`, only includes the last correct execution of a task.","schema":{"type":"boolean","default":true}},"filter_id":{"name":"id","in":"query","description":"Filter on id","schema":{"type":"string"}},"filter_task_id":{"name":"task_id","in":"query","description":"Filter on task id","schema":{"type":"string"}},"filter_name":{"name":"name","in":"query","description":"Filter on name","schema":{"type":"string"}},"filter_workflow_type":{"name":"workflow_type","in":"query","description":"Filter on task workflow type","schema":{"type":"string"}},"filter_workflow_action":{"name":"workflow_action","in":"query","description":"Filter on task workflow action","schema":{"type":"string"}},"filter_source_type":{"name":"source_type","in":"query","description":"Filter on task source type","schema":{"type":"string"}},"filter_destination_type":{"name":"destination_type","in":"query","description":"Filter on task destination type","schema":{"type":"string"}},"filter_status":{"name":"status","in":"query","description":"Filter on status","schema":{"type":"string"}},"filter_log_time":{"name":"log_time","in":"query","description":"Filter on log time","schema":{"type":"string"}},"filter_job_started":{"name":"job_started","in":"query","description":"Filter on job started","schema":{"type":"string"}},"filter_job_finished":{"name":"job_finished","in":"query","description":"Filter on job finished","schema":{"type":"string"}},"filter_creation_date":{"name":"creation_date","in":"query","description":"Filter on creation date","schema":{"type":"string"}},"filter_modification_date":{"name":"modification_date","in":"query","description":"Filter on modification date","schema":{"type":"string"}},"filter_to_process_size":{"name":"to_process_size","in":"query","description":"Filter on to process size","schema":{"type":"string"}},"filter_processed_size":{"name":"processed_size","in":"query","description":"Filter on processed size","schema":{"type":"string"}},"filter_to_process_files":{"name":"to_process_files","in":"query","description":"Filter on to process files","schema":{"type":"string"}},"filter_processed_files":{"name":"processed_files","in":"query","description":"Filter on processed files","schema":{"type":"string"}},"filter_finalized_files":{"name":"finalized_files","in":"query","description":"Filter on finalized files","schema":{"type":"string"}},"filter_estimation_time":{"name":"estimation_time","in":"query","description":"Filter on estimation time","schema":{"type":"string"}},"filter_bandwidth":{"name":"bandwidth","in":"query","description":"Filter on bandwidth","schema":{"type":"string"}}}},"paths":{"/task_executions":{"get":{"summary":"Lists all task executions.","tags":["task_executions"],"operationId":"index_task_executions","description":"**API Key Scope**: task_executions / index","responses":{"200":{"$ref":"#/components/responses/task_executions_index"}},"parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/sort_by"},{"$ref":"#/components/parameters/complete_list"},{"$ref":"#/components/parameters/filter_id"},{"$ref":"#/components/parameters/filter_task_id"},{"$ref":"#/components/parameters/filter_name"},{"$ref":"#/components/parameters/filter_workflow_type"},{"$ref":"#/components/parameters/filter_workflow_action"},{"$ref":"#/components/parameters/filter_source_type"},{"$ref":"#/components/parameters/filter_destination_type"},{"$ref":"#/components/parameters/filter_status"},{"$ref":"#/components/parameters/filter_log_time"},{"$ref":"#/components/parameters/filter_job_started"},{"$ref":"#/components/parameters/filter_job_finished"},{"$ref":"#/components/parameters/filter_creation_date"},{"$ref":"#/components/parameters/filter_modification_date"},{"$ref":"#/components/parameters/filter_to_process_size"},{"$ref":"#/components/parameters/filter_processed_size"},{"$ref":"#/components/parameters/filter_to_process_files"},{"$ref":"#/components/parameters/filter_processed_files"},{"$ref":"#/components/parameters/filter_finalized_files"},{"$ref":"#/components/parameters/filter_estimation_time"},{"$ref":"#/components/parameters/filter_bandwidth"}]}}}}
```

## Displays a specific task execution.

> \*\*API Key Scope\*\*: task\_executions / show

```json
{"openapi":"3.0.1","info":{"title":"Nodeum API","version":"2.1.0"},"servers":[{"url":"{url}/api/v2","variables":{"url":{"default":"http://localhost","description":"URL of server"}}}],"security":[{"BasicAuth":[]},{"BearerAuth":[]},{"JWT":[]}],"components":{"securitySchemes":{"BasicAuth":{"type":"http","scheme":"basic","description":"Pass the username and password of a user in the authorization header.\nThis currently gives full access."},"BearerAuth":{"type":"apiKey","description":"Create an API Key associated to user.\nAccess can be restricted with the scope.\nEach API call described below has a scoped mentionned in its description.\n\nFor example :\n\n**API Key Scope**: files / index\n\nThis means that the API key should have a scope with controller as *files*\nand the action as *index*.","name":"Authorization","in":"header"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"task_executions_show":{"description":"A specific task execution.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_execution"}}}},"not_found":{"description":"The requested resource was not found. The detailed error will be of type `not_found`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"schemas":{"task_execution":{"type":"object","properties":{"id":{"type":"string"},"task_id":{"type":"integer","format":"int64"},"name":{"type":"string"},"workflow_type":{"type":"string","enum":["active_archive","offline_archive","data_exchange","data_migration","maintenance","data_enrichment"]},"workflow_action":{"type":"string","enum":["copy","move","erase","scan","rehydratation","format","check_consistency","duplication","cache_cleaning","ejection","get_index","full_backup","incremental_backup","restore","speedtest"]},"source_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"destination_type":{"type":"string","enum":["container","primary_nas","secondary_nas","primary_cloud","secondary_cloud","secondary_tape"]},"status":{"type":"string","enum":["not_activated","done","in_progress","error","paused","stopped_by_system","in_queue","finished_with_warnings","calculating","stopped_by_user"]},"progress":{"type":"integer"},"log_time":{"type":"string"},"job_started":{"type":"string"},"job_finished":{"type":"string"},"to_process_size":{"type":"integer","format":"int64"},"processed_size":{"type":"integer","format":"int64"},"to_process_files":{"type":"integer","format":"int64"},"processed_files":{"type":"integer","format":"int64"},"finalized_files":{"type":"integer","format":"int64"},"estimation_time":{"type":"integer"},"bandwidth":{"type":"integer","format":"int64"}}},"error":{"type":"object","properties":{"details":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/attribute_error"}},"description":"Parsable objects describing the errors. The key is the invalid attribute name."},"messages":{"type":"array","description":"English description of the errors.","items":{"type":"string"}}}},"attribute_error":{"required":["error"],"type":"object","properties":{"error":{"type":"string"}},"discriminator":{"propertyName":"error"}}}},"paths":{"/task_executions/{task_execution_id}":{"get":{"summary":"Displays a specific task execution.","operationId":"show_task_execution","description":"**API Key Scope**: task_executions / show","tags":["task_executions"],"responses":{"200":{"$ref":"#/components/responses/task_executions_show"},"404":{"$ref":"#/components/responses/not_found"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nodeum.io/data-archiving/api-developers/api-reference-nodeum-data-archiving/task_executions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
