Skip to main content
PUT
Set agent file availability
Removing a file from a task is not the same as deleting it:
  • 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.

Authorizations

X-API-Key
string
header
required

API key for authentication. Keys are prefixed with nxr_live_.

Path Parameters

id
string<uuid>
required

File ID, from List files. A malformed ID returns 400 Validation error.

Body

application/json
workflow_ids
string<uuid>[]
required

Task IDs (workflow in the API) to change. From 1 to 100 IDs. Duplicates are removed.

Required array length: 1 - 100 elements
enabled
boolean
required

true lets these tasks send the file. false stops them.

Response

Availability saved.

success
enum<boolean>
required
Available options:
true
file_id
string<uuid>
required
workflow_ids
string<uuid>[]
required

The tasks that changed, without duplicates.

enabled
boolean
required
Last modified on September 29, 2026