Knowledge Base
Delete Document
API Reference
Endpoints
- Actions
- Agents
- Call Now
- Calls
- Campaigns
- Chat
- Chat Widget
- Knowledge Base
- Dispositions
- Lead Lists
- Leads
- Mentions
- Phone Numbers
- Reports
- Roles
- Scripts
- Voices
- Webhooks
Knowledge Base
Delete Document
DELETE
/
v1
/
data-stores
/
{data_store_id}
/
documents
curl --request DELETE \
--url https://api.eqho.ai/v1/data-stores/{data_store_id}/documents \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"filename": "<string>"
}'
{
"_id": "<string>",
"account_id": "<string>",
"name": "<string>",
"description": "<string>",
"documents": [
{
"filename": "<string>",
"file_size": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
}
],
"urls": [
{
"url": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
}
],
"enabled": true,
"history": {
"revision": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by": "unknown",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_modified_by": "unknown"
}
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
Container for a single data store record.
Was this page helpful?
curl --request DELETE \
--url https://api.eqho.ai/v1/data-stores/{data_store_id}/documents \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"filename": "<string>"
}'
{
"_id": "<string>",
"account_id": "<string>",
"name": "<string>",
"description": "<string>",
"documents": [
{
"filename": "<string>",
"file_size": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
}
],
"urls": [
{
"url": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
}
],
"enabled": true,
"history": {
"revision": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by": "unknown",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_modified_by": "unknown"
}
}