cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/knowledgebase/{id}/text \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "text": "<string>", "name": "<string>" } '
{ "success": true }
Add plain text content to an existing knowledge base.