Sincronizar todos los datasources que tengan un estado específico.
curl -X POST https://app.horneross.com/api/datastores/ds_abc123/sync-by-status \ -H "Authorization: Bearer sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "status": "error" }'
{ "message": "Se programaron 5 datasources para sincronización", "count": 5, "datasources": [ { "id": "datasource_1", "name": "Documento A", "type": "file" }, { "id": "datasource_2", "name": "Página web", "type": "web_page" } ] }
POST /api/datastores/{datastoreId}/sync-by-status
Bearer sk_live_xxx
application/json
pending
running
synced
error
usage_limit_reached
Show Propiedades
Was this page helpful?