v8

OpenAPI 3.1.02026-08-03150119167.4 KB
User API

Create Agent File

Create a new file reference for an agent

post/me/agents/{agent_id}/files

Path parameters

agent_idstring uuid required

Request body

filenamestring required

Original filename

mime_typestring required

MIME type of the file

storage_urlstring uri required

External URL where the file is hosted

enabledboolean

Whether the file is active

positioninteger

Order position for deterministic injection

authobject nullable

Authentication configuration for accessing the file

Response

Successfully created agent file