curl --request GET \
--url https://api.eqho.ai/v1/data-stores \
--header 'X-API-KEY: <api-key>'
{
"data_stores": [
{
"_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"
}
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}
You can retrieve a list of all Knowledge Bases for your account.
curl --request GET \
--url https://api.eqho.ai/v1/data-stores \
--header 'X-API-KEY: <api-key>'
{
"data_stores": [
{
"_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"
}
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}
Successful Response
A list of DataStoreModel
instances.
Was this page helpful?