cURL
curl --request POST \ --url https://api.agentixx.io/api/agents/{id}/retrain \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: <api-key>' \ --cookie better-auth.session_token= \ --data '{}'
{ "ok": true }
Re-index the agent knowledge base. Admin only.
Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Retrain an agent by re-indexing its knowledge base
Retrain initiated