---
title: "getQualityControl"
method: GET
path: "/people/transactions/qualityAnalysis/{tguid}"
tags: ["quality"]
---

# getQualityControl

`GET /people/transactions/qualityAnalysis/{tguid}`

This method returns the quality analysis result for a given transaction.

## Path parameters

- `tguid` string, required

## Query parameters

- `biographicBase` boolean

## Response `200`

OK

- GetQualityControlResponse
  - `data` QualityControl
    - `tguid` string, uuid — Transaction GUID.
    - `pguid` string, uuid — Person GUID.
    - `created` integer — Creation timestamp (Unix, in milliseconds).
    - `updated` integer — Update timestamp (Unix, in milliseconds).
    - `qualityStatus` 'PENDING' | 'APPROVED' | 'REJECTED' | 'OK' | 'ERROR' | 'PENDING_DUPLICITIES' — Quality status.
    - `enrollStatus` 'ENQUEUED' | 'PROCESSING' | 'ENROLLED' | 'EXCEPTION' | 'FAILED' | 'REFUSED' | 'PENDING' | 'RESENT_ENROLL' — Enroll status.
    - `person` Person
      - `pguid` string — Global unique ID of the Person. This attribute is assigned by the AFIS once the person is successfully enrolled
      - `lastEnrollTguid` string — Global unique ID of the latest transaction on this Person.
      - `timestamp` integer — Timestamp of the latest transaction on this Person.
      - `keys` Key[]
        - `id` string — Name of entity identifier.
        - `value` string — Value of entity identifier.
      - `biographics` Biographic[]
        - `key` string — Biographic key.
        - `type` 'TEXT' | 'FACE' — Biographic type. It can be TEXT or FACE.
        - `value` string — Biographic value. Faces are encoded in Base64.
      - `biometric` Biometric[]
        - `index` integer
        - `content` string
        - `width` integer
        - `height` integer
        - `resolution` integer
      - `auxiliaries` Biometric[]
        - `index` integer
        - `content` string
        - `width` integer
        - `height` integer
        - `resolution` integer
      - `metadata` string[] — Arbitrary data associated with the person.
      - `labels` string[] — Arbitrary labels associated with a person, which can be used as filters for database queries.
      - `history` History
        - `events` HistoryEvent[]
          - `tguid` string
          - `timestamp` string, date-time
          - `type` 'ENROLL' | 'UPDATE' | 'DISABLE_TRANSACTION' | 'DELETE_BIOMETRIC' | 'INCORRECT_ENROLL_TREATMENT'
      - `biographicBaseStatus` 'UNAVAILABLE' | 'TIMEOUT' | 'UNAUTHORIZED' | 'INVALID_DATA' | 'NOT_FOUND' | 'OK' — Status of the biographic base. - `UNAVAILABLE`: When all Biobase Servers are off. - `TIMEOUT`: When at least one Biobase Server is ON but the call timed out. - `UNAUTHORIZED`: - If the **lookAllServers** conf is **ON**, it indicates that all running servers returned that the API authentication is unauthorized. - If the **lookAllServers** conf is **OFF**, it indicates that the server that received the biographic request returned that the API authentication is unauthorized. - `INVALID_DATA`: The Biobase Server returned that the data request from the API is invalid. It is not supposed to happen if Biobase Server is implemented according to the Biographic Base API. - `NOT_FOUND`: - If the **lookAllServers** conf is **ON**, it indicates that the person keys were not found on all Biobase Servers configured. - If the **lookAllServers** conf is **OFF**, it indicates that person keys were not found on the server that received the biographic request. - `OK`: The Biobase Server returned biographics/face for the given person keys.
    - `transactionType` 'ENROLL' | 'UPDATE' — Transaction type.
    - `issues` object — Number of issues found per type.
      - `lowQuality` integer — Number of quality issues.
      - `duplication` integer — Number of duplication issues.
      - `sequenceControl` integer — Number of sequence control issues.
    - `apiID` string, uuid — API ID
    - `gbdsVersion` string — GBDS Version

---

[API](https://skmtc.net/griaule/apis/gbds-api.md) · [All operations](https://skmtc.net/griaule/apis/gbds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/griaule/gbds-api/versions/fa80f482ec5e/schema)
