APIAttachments
Create attachment
Creates a Knowledge Base attachment from JSON/base64 content or multipart form data.
x-api-key<token>
Preferred authentication header.
In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.agent-brains.com/knowledge-base/attachments" \ -H "Content-Type: application/json" \ -d '{ "file": "string" }'{
"_id": "string",
"name": "string",
"url": "string",
"description": "string",
"annotations": {},
"type": "string",
"entities": [
"string"
],
"createdAt": "string",
"updatedAt": "string"
}Empty
Empty