Update agent file
Update agent file
Rename a file your agents can send or rewrite its sending instructions. The handle never changes.
PATCH
Update agent file
Send
label, agent_instruction, or both:
- The
@handlenever changes, so instructions and rules that mention it keep working after a rename. - The file belongs to the account: the new name and instructions apply to every agent that sends it. Tell the person before you change a file that other agents also use.
- Values are trimmed and can be up to 4000 characters.
Authorizations
API key for authentication. Keys are prefixed with nxr_live_.
Path Parameters
File ID, from List files. A malformed ID returns 400 Validation error.
Body
application/json
Send at least one of label and agent_instruction. Values are trimmed before they are checked and saved.
Last modified on September 29, 2026