Agent BrainsAgent Brains
APIAttachments

Link or unlink an attachment

Links or unlinks an attachment to/from an entity using either the attachment ID or URL.

POST
/knowledge-base/attachments/link
x-api-key<token>

Preferred authentication header.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.agent-brains.com/knowledge-base/attachments/link" \  -H "Content-Type: application/json" \  -d '{    "entityId": "string"  }'
Empty
Empty