Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Actualizar la configuración de un datastore existente.
curl -X PATCH https://app.horneross.com/api/datastores/ds_abc123 \ -H "Authorization: Bearer sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "name": "Base de conocimientos actualizada", "isPublic": true }'
const response = await fetch( 'https://app.horneross.com/api/datastores/ds_abc123', { method: 'PATCH', headers: { 'Authorization': 'Bearer sk_live_xxx', 'Content-Type': 'application/json', }, body: JSON.stringify({ name: 'Base de conocimientos actualizada', isPublic: true, }), } ); const datastore = await response.json();
import requests response = requests.patch( 'https://app.horneross.com/api/datastores/ds_abc123', headers={ 'Authorization': 'Bearer sk_live_xxx', 'Content-Type': 'application/json', }, json={ 'name': 'Base de conocimientos actualizada', 'isPublic': True } ) datastore = response.json()
{ "id": "ds_abc123", "name": "Base de conocimientos actualizada", "visibility": "public", "updatedAt": "2024-01-21T16:00:00Z" }
PATCH /api/datastores/{datastoreId}
Bearer sk_live_xxx
application/json
Was this page helpful?