Skip to main content
POST
Link Files to Agent

Code Examples

Headers

integer
required
Workspace ID. Required as of 2026-09-01. Until then, if omitted, the user’s selected workspace is used (deprecated). After the cutoff, a missing header returns 422.

Path Parameters

string
required
The ID of the agent

Body Parameters

integer[]
required
The file IDs to link to the agent

Response