Datastores
Listar datastores
Obtener todos los datastores de tu organización.
GET
/
api
/
datastores
curl -X GET https://app.horneross.com/api/datastores \
-H "Authorization: Bearer sk_live_xxx"
const response = await fetch(
'https://app.horneross.com/api/datastores',
{
headers: {
'Authorization': 'Bearer sk_live_xxx',
},
}
);
const datastores = await response.json();
import requests
response = requests.get(
'https://app.horneross.com/api/datastores',
headers={'Authorization': 'Bearer sk_live_xxx'}
)
datastores = response.json()
[
{
"id": "ds_abc123",
"name": "FAQ General",
"description": "Preguntas frecuentes del sitio",
"type": "qdrant",
"visibility": "private",
"_count": {
"datasources": 15
},
"createdAt": "2024-01-15T10:00:00Z"
}
]
Endpoint
GET /api/datastores
Headers
string
required
Bearer token con tu API key. Formato:
Bearer sk_live_xxxcurl -X GET https://app.horneross.com/api/datastores \
-H "Authorization: Bearer sk_live_xxx"
const response = await fetch(
'https://app.horneross.com/api/datastores',
{
headers: {
'Authorization': 'Bearer sk_live_xxx',
},
}
);
const datastores = await response.json();
import requests
response = requests.get(
'https://app.horneross.com/api/datastores',
headers={'Authorization': 'Bearer sk_live_xxx'}
)
datastores = response.json()
Response
array
required
[
{
"id": "ds_abc123",
"name": "FAQ General",
"description": "Preguntas frecuentes del sitio",
"type": "qdrant",
"visibility": "private",
"_count": {
"datasources": 15
},
"createdAt": "2024-01-15T10:00:00Z"
}
]
Was this page helpful?
⌘I
curl -X GET https://app.horneross.com/api/datastores \
-H "Authorization: Bearer sk_live_xxx"
const response = await fetch(
'https://app.horneross.com/api/datastores',
{
headers: {
'Authorization': 'Bearer sk_live_xxx',
},
}
);
const datastores = await response.json();
import requests
response = requests.get(
'https://app.horneross.com/api/datastores',
headers={'Authorization': 'Bearer sk_live_xxx'}
)
datastores = response.json()
[
{
"id": "ds_abc123",
"name": "FAQ General",
"description": "Preguntas frecuentes del sitio",
"type": "qdrant",
"visibility": "private",
"_count": {
"datasources": 15
},
"createdAt": "2024-01-15T10:00:00Z"
}
]
