# Task\_options

## Lists all task options.

> \*\*API Key Scope\*\*: task\_options / 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_options_index":{"description":"List of task options.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option_collection"}}}}},"schemas":{"task_option_collection":{"type":"object","properties":{"count":{"type":"integer","readOnly":true},"task_options":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/task_option"}}}},"task_option":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"format":"int64"},"type":{"type":"string","enum":["file_checksum","reset_file_date","reset_folder_date","rename_to","execution_task_id","selected_drive","parallel_processing","task_id","full_report","processing_order","rehydration_usage_threshold","rehydration_deleted_files_threshold","learning_type","learning_threshold","tape_to_scratch","eject_tape_after","barcodes","overwrite","soft_erase","limit_nb_files_per_job","limit_nb_parallel_job","limit_nb_parallel_db_file","limit_max_size_per_job","ignore_common_path","remove_selected_folders","vault_to_s3_glacier","restoration_expiry_days","retrieval_option","speedtest_size","speedtest_iterations","set_tape_readonly","set_task_notification","tape_duplication_action","selected_drive_2","backup_report","task_template","norenaming","after_copy_verification","preserve_acl","restore_acl","create_reminder_txt","conflict_resolution"]},"value":{"type":"string"}}}},"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_type":{"name":"type","in":"query","description":"Filter on type","schema":{"type":"string"}},"filter_value":{"name":"value","in":"query","description":"Filter on value","schema":{"type":"string"}}}},"paths":{"/tasks/{task_id}/task_options":{"get":{"summary":"Lists all task options.","tags":["task_options"],"operationId":"index_task_options","description":"**API Key Scope**: task_options / index","responses":{"200":{"$ref":"#/components/responses/task_options_index"}},"parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/sort_by"},{"$ref":"#/components/parameters/filter_id"},{"$ref":"#/components/parameters/filter_type"},{"$ref":"#/components/parameters/filter_value"}]}}}}
```

## Creates a new task option.

> \*\*API Key Scope\*\*: task\_options / create

```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_options_show":{"description":"A specific task option.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option"}}}},"unprocessable_entity":{"description":"The received resource was not correctly formatted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"schemas":{"task_option":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"format":"int64"},"type":{"type":"string","enum":["file_checksum","reset_file_date","reset_folder_date","rename_to","execution_task_id","selected_drive","parallel_processing","task_id","full_report","processing_order","rehydration_usage_threshold","rehydration_deleted_files_threshold","learning_type","learning_threshold","tape_to_scratch","eject_tape_after","barcodes","overwrite","soft_erase","limit_nb_files_per_job","limit_nb_parallel_job","limit_nb_parallel_db_file","limit_max_size_per_job","ignore_common_path","remove_selected_folders","vault_to_s3_glacier","restoration_expiry_days","retrieval_option","speedtest_size","speedtest_iterations","set_tape_readonly","set_task_notification","tape_duplication_action","selected_drive_2","backup_report","task_template","norenaming","after_copy_verification","preserve_acl","restore_acl","create_reminder_txt","conflict_resolution"]},"value":{"type":"string"}}},"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"}}},"requestBodies":{"task_option_body":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option"}}},"required":true}}},"paths":{"/tasks/{task_id}/task_options":{"post":{"summary":"Creates a new task option.","operationId":"create_task_option","description":"**API Key Scope**: task_options / create","tags":["task_options"],"responses":{"201":{"$ref":"#/components/responses/task_options_show"},"422":{"$ref":"#/components/responses/unprocessable_entity"}},"requestBody":{"$ref":"#/components/requestBodies/task_option_body"}}}}}
```

## Displays a specific task option.

> \*\*API Key Scope\*\*: task\_options / 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_options_show":{"description":"A specific task option.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option"}}}}},"schemas":{"task_option":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"format":"int64"},"type":{"type":"string","enum":["file_checksum","reset_file_date","reset_folder_date","rename_to","execution_task_id","selected_drive","parallel_processing","task_id","full_report","processing_order","rehydration_usage_threshold","rehydration_deleted_files_threshold","learning_type","learning_threshold","tape_to_scratch","eject_tape_after","barcodes","overwrite","soft_erase","limit_nb_files_per_job","limit_nb_parallel_job","limit_nb_parallel_db_file","limit_max_size_per_job","ignore_common_path","remove_selected_folders","vault_to_s3_glacier","restoration_expiry_days","retrieval_option","speedtest_size","speedtest_iterations","set_tape_readonly","set_task_notification","tape_duplication_action","selected_drive_2","backup_report","task_template","norenaming","after_copy_verification","preserve_acl","restore_acl","create_reminder_txt","conflict_resolution"]},"value":{"type":"string"}}}}},"paths":{"/tasks/{task_id}/task_options/{task_option_id}":{"get":{"summary":"Displays a specific task option.","operationId":"show_task_option","description":"**API Key Scope**: task_options / show","tags":["task_options"],"responses":{"200":{"$ref":"#/components/responses/task_options_show"}}}}}}
```

## Updates a specific task option.

> \*\*API Key Scope\*\*: task\_options / update

```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_options_show":{"description":"A specific task option.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option"}}}},"unprocessable_entity":{"description":"The received resource was not correctly formatted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"schemas":{"task_option":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"format":"int64"},"type":{"type":"string","enum":["file_checksum","reset_file_date","reset_folder_date","rename_to","execution_task_id","selected_drive","parallel_processing","task_id","full_report","processing_order","rehydration_usage_threshold","rehydration_deleted_files_threshold","learning_type","learning_threshold","tape_to_scratch","eject_tape_after","barcodes","overwrite","soft_erase","limit_nb_files_per_job","limit_nb_parallel_job","limit_nb_parallel_db_file","limit_max_size_per_job","ignore_common_path","remove_selected_folders","vault_to_s3_glacier","restoration_expiry_days","retrieval_option","speedtest_size","speedtest_iterations","set_tape_readonly","set_task_notification","tape_duplication_action","selected_drive_2","backup_report","task_template","norenaming","after_copy_verification","preserve_acl","restore_acl","create_reminder_txt","conflict_resolution"]},"value":{"type":"string"}}},"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"}}},"requestBodies":{"task_option_body":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/task_option"}}},"required":true}}},"paths":{"/tasks/{task_id}/task_options/{task_option_id}":{"put":{"summary":"Updates a specific task option.","operationId":"update_task_option","description":"**API Key Scope**: task_options / update","tags":["task_options"],"responses":{"200":{"$ref":"#/components/responses/task_options_show"},"422":{"$ref":"#/components/responses/unprocessable_entity"}},"requestBody":{"$ref":"#/components/requestBodies/task_option_body"}}}}}
```

## Destroys a specific task option.

> \*\*API Key Scope\*\*: task\_options / destroy

```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"}}},"paths":{"/tasks/{task_id}/task_options/{task_option_id}":{"delete":{"summary":"Destroys a specific task option.","operationId":"destroy_task_option","description":"**API Key Scope**: task_options / destroy","tags":["task_options"],"responses":{"204":{"description":"Task option destroyed."}}}}}}
```


---

# 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_options.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.
