Files
Update a file
Rename a file or change its description.
PATCH
Update File
The contents never change, and neither does the label. Agents point at the label, so
swapping what it resolves to would quietly change what they send. This endpoint edits the
display
name and the description only. To replace a file’s contents, upload a new file and
update the prompts that name the old one.Authorizations
Body
application/json
Rename and re-describe. The file's CONTENTS and its LABEL never change: an agent's prompt points at the label, so replacing what it resolves to would silently change what that agent sends. Upload a new file instead.
Response
Successful Response
Update File