API Reference
Permanently remove a training source from an agent. Returns 204 No Content on success. Requires Enterprise plan.
/api/v1/agents/{id}/training/{trainingId}
Enterprise| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Agent ID (Path) |
| trainingId | string | Required | Training source ID (Path) |
Returns 204 No Content with an empty body on success. Response headers include x-request-id and Chatspark-Mode.
curl -X DELETE "https://chatspark.io/api/v1/agents/ag_123/training/5" \
-H "Authorization: Bearer cs_live_..."