Links one or more documents to an agent for knowledge base integration. Documents must be in ready status. Duplicate links are silently skipped (idempotent). Maximum 20 document IDs per request, 100 total linked documents per agent. Queues background sync jobs for newly linked documents.
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Agent ID.
Array of document IDs to link.
1 - 20 elements