cURL
curl --request POST \ --url https://api.example.com/v1/voiceai/knowledge-base/text \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "text": "<string>" } '
{ "id": "<string>", "name": "<string>" }
Create a knowledge base document from raw text input.
API key for programmatic access
Model for creating a knowledge base document from text
Text content for the document
1
Optional document name (auto-generated if not provided)
500
Successful Response
Response after creating a knowledge base document