Skip to content

Undo a learned vocabulary entry

Remove a word learned from one of the caller's own corrections. The word is not learned again automatically; it can still be added by hand. Any other entry answers VOCABULARY_NOT_LEARNED.

When a person corrects a dictated text, each corrected word is added to their own private vocabulary at once and listed in the learned field of Submit a correction for auto-learn. This endpoint is the undo for one of those words. A copy that automatic sharing has already added to a shared list stays in that list.

POSThttps://api.aitronos.com/v1/vocabulary/entries/{entry_id}/undo-learn

Path Parameters

entry_id string required

The learned entry's ID, as returned in learned[].entry_id.


Returns

entry_id string

The entry that was removed.

undone boolean

Always true.

cURL
curl -X POST "https://api.aitronos.com/v1/vocabulary/entries/pdict_3c7e9a1f5b2d4086/undo-learn" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

200 OK
{
  "entry_id": "pdict_3c7e9a1f5b2d4086",
  "undone": true
}