cURL
curl --request POST \ --url https://api.example.com/v1/voiceai/knowledge-base/file \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form 'file=<string>'
{ "id": "<string>", "name": "<string>", "folder_path": [ { "id": "<string>", "name": "<string>" } ] }
Create a knowledge base document generated from the uploaded file.
API key for programmatic access
Successful Response
Response model for all document creation endpoints (URL, text, file). Returns the created document's ID, name, and folder path.
The ID of the created document
The name of the created document
The folder path segments leading to this entity, from root to parent folder.
Show child attributes