Welcome
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Session search
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
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
GET https://age.yoti.com/api/v1/report/searchHeaders
| Header | Description |
|---|---|
| Authorisation | API Key to call the Yoti Age API. Should be sent as a Bearer {{API_TOKEN}} . |
| Yoti-Sdk-Id | Your unique SDK ID (uuid). |
Query parameters
| Parameter | Description | Type | Example Value(s) |
|---|---|---|---|
| createdAfter | Metrics will be returned for all session created after this date. Metrics will fetch data for up to six months. | dateTime | 2025-12-11T15:01:31.860015Z |
| createdBefore | Metrics will be returned for all session created before this date. Metrics will fetch data for up to six months. | dateTime | 2025-12-11T15:01:31.860015Z |
| checkId | Metrics will be returned for this session ID only | string | 74dc4f99-fu22-457f-2489-624aec617220 |
| status | Metrics will be returned for all session that ends with this status
| string | CANCELLED |
| method | Metrics will be returned for sessions using this method
| string | AGE_ESTIMATION |
Example response
JSON
x
{ "_metadata": { "total_count": 2 }, "results": [ { "id": "74dc4f99-fu22-457f-2489-624aec617220", "account_id": "", "method": "AGE_ESTIMATION", "status": "EXPIRED", "type": "SESSION", "error_code": "E000004", "created_at": "2026-01-12T16:41:45.102339Z" }, { "id": "5bfe71b8-n31s-4514-808a-537e4b20f012", "account_id": "", "method": "AGE_ESTIMATION", "status": "PENDING", "type": "SESSION", "error_code": "", "created_at": "2025-12-11T15:01:31.860015Z" }, { "id": "33cd8ca0-003d-4c18-97a1-0d965911d2e6", "account_id": "", "method": "CREDIT_CARD", "status": "ERROR", "type": "SESSION", "error_code": "E000014", "created_at": "2025-12-02T11:18:55.925559Z" }, ]}| Field | Type | Description |
|---|---|---|
| id | string | Session ID |
| account_id | string | Account ID |
| method | string | Method that has been used for the Age Verification session
|
| status | string | Session status
|
| type | string | Type of check performed
|
| error_code | string | Please refer to the list of error code page for details |
| created_at | dateTime | Session creation time |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message