> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getnexor.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set agent file availability

> Let specific tasks send a file, or remove the file from them without deleting it.

Removing a file from a task is not the same as deleting it:

| Action | Result |
| - | - |
| This endpoint with `enabled: false` | The tasks you list stop sending the file. The file stays in the account and in every other task, and you can turn it back on with `enabled: true`. |
| [Delete](/docs/en/api/agent-files/delete-agent-file) | The file is gone for every agent. There is no undo. |

```json theme={null}
{
  "workflow_ids": [
    "22222222-2222-4222-8222-222222222222",
    "33333333-3333-4333-8333-333333333333"
  ],
  "enabled": false
}
```

* `workflow_ids` takes task IDs, from 1 to 100. Duplicates are ignored.
* To remove a file from a whole agent, send every task ID of that agent. This is what **Don't use for this agent** does in the app.
* Other files and other tasks are not changed.
* If the file or any task is not in this account, the API returns 404 and changes nothing. The message lists the task IDs it could not find.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.getnexor.ai/llms.txt).
