Files

Upload files to an agent. Requires files scope.

Upload a file to an agent

post

Uploads a file to the agent's knowledge base. Requires files scope. The agent must be running.

Authorizations
AuthorizationstringRequired

API key sent as Bearer token. Two types:

  • Master key (g_master_...): full access to all agents and endpoints.
  • Agent key (g_agent_...): scoped to a single agent with specific permissions.
Path parameters
idstring · uuidRequired
Body
filenamestring · max: 255Required
contentstringRequired
mimeTypestring · max: 100Required
Responses
200

File uploaded

No content

post
/agents/{id}/files

No content

Last updated