Attach or scope an agent knowledge source
Attach a Brain source to the agent, or change its scope if it is already attached. Idempotent: sending the same scope twice reports already_present.
PUT
cURL
How do I narrow what the agent can read?
How do I narrow what the agent can read?
config: null attaches the whole source. To narrow it, send exclusions (everything except these), or mode: include_only with inclusions (only these). Item IDs come from GET /brain/sources/{connector_id}/files.The source must be readable by the caller and live in the agent’s workspace (personal sources on personal agents, team sources on team agents).Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.
Path Parameters
Body
application/json