v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Intent Trainer

Get an Intent Trainer Record

Gets an Intent Trainer record from a Project.

get/v2.0/trainer/{recordId}

Path parameters

recordIdstring required

The unique identifier for the Intent Trainer Record.

Headers

Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Response

Returns TrainerRecord Object

textstring

The text of the user

countnumber

How often the text was used as an input

flowReferenceIdstring uuid
handledboolean
handleAction'addedToIntent' | 'skip' | 'ignored'
nluobject

The last NLU object that was created (from InputObject) based on the message

metaobject
snapshotReferencestring

Reference to a snapshot in case this record was created because a user talked to a snapshot

_idstring
createdAtinteger

Unix-timestamp

lastChangedinteger

Unix-timestamp

createdBystring
lastChangedBystring

Example response

{
  "text": "I want a Pizza",
  "count": 2,
  "createdAt": 1694518620,
  "lastChanged": 1694518620
}