Session search

AI Tools

You can retrieve specific metrics of all sessions that have been created using your API keys for error handling by calling the endpoint below:

HTTP
Copy

Headers

HeaderDescription
AuthorisationAPI Key to call the Yoti Age API. Should be sent as a Bearer {{API_TOKEN}} .
Yoti-Sdk-IdYour unique SDK ID (uuid).

Query parameters

ParameterDescriptionTypeExample Value(s)
createdAfterMetrics will be returned for all session created after this date. Metrics will fetch data for up to six months.dateTime2025-12-11T15:01:31.860015Z
createdBeforeMetrics will be returned for all session created before this date. Metrics will fetch data for up to six months.dateTime2025-12-11T15:01:31.860015Z
checkIdMetrics will be returned for this session ID onlystring74dc4f99-fu22-457f-2489-624aec617220
status

Metrics will be returned for all session that ends with this status

  • PENDING - User has not started any checks.
  • IN_PROGRESS - Checks have begun on the session, awaiting result to be returned.
  • FAIL - The session has been completed, however the user has failed to meet the age threshold. FAIL will be returned only for 'OVER' and 'UNDER' attempts.
  • COMPLETE - The session has been completed, the user has passed the required threshold or an age has been returned. Always 'COMPLETE' if AGE type is configured.
  • ERROR - We could not provide an age result or calculate the threshold. This may be because the face was not recognised during age estimation or if the ID document was processed via Doc Scan, but we do not believe that it is a genuine document.
  • CANCELLED - The user no longer wishes to prove their age, and aborts the session.
  • EXPIRED - The session has expired and is no longer useable
stringCANCELLED
method

Metrics will be returned for sessions using this method

  • AGE_ESTIMATION
  • DIGITAL_ID
  • DOC_SCAN
  • CREDIT_CARD
  • MOBILE
  • MIT_ID
  • SWEDISH_BANK_ID
  • FTN
  • LA_WALLET
  • SOCIAL_SECURITY_NUMBER
  • DOUBLE_ANONYMITY
  • SINGPASS
stringAGE_ESTIMATION

Example response

JSON
Copy
FieldTypeDescription
idstringSession ID
account_idstringAccount ID
methodstring

Method that has been used for the Age Verification session

  • AGE_ESTIMATION
  • DIGITAL_ID
  • DOC_SCAN
  • CREDIT_CARD
  • MOBILE
  • MIT_ID
  • SWEDISH_BANK_ID
  • FTN
  • LA_WALLET
  • SOCIAL_SECURITY_NUMBER
  • DOUBLE_ANONYMITY
  • SINGPASS
statusstring

Session status

  • PENDING - User has not started any checks.
  • IN_PROGRESS - Checks have begun on the session, awaiting result to be returned.
  • FAIL - The session has been completed, however the user has failed to meet the age threshold. FAIL will be returned only for 'OVER' and 'UNDER' attempts.
  • COMPLETE - The session has been completed, the user has passed the required threshold or an age has been returned. Always 'COMPLETE' if AGE type is configured.
  • ERROR - We could not provide an age result or calculate the threshold. This may be because the face was not recognised during age estimation or if the ID document was processed via Doc Scan, but we do not believe that it is a genuine document.
  • CANCELLED - The user no longer wishes to prove their age, and aborts the session.
  • EXPIRED - The session has expired and is no longer useable
typestring

Type of check performed

  • SESSION
  • DIRECT_CHECK
error_codestringPlease refer to the list of error code page for details
created_atdateTimeSession creation time
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard