GET
/api/public/v1/qa-checksList QA line checks
The periodic measurements an operator records on a production line. `status` and `outOfToleranceReasons` are computed against the shift session’s product spec, so a check reads as out of spec because the spec said so — read the spec alongside it or the numbers mean little.
Required scope
The access token must carry this scope. A token missing it gets 403 Forbidden. Grant them to an API client under Settings → Company → API, and to a teammate under Employee → Permissions.
quality:checks:read
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
locationId | string | Required | Which plant. |
limit | number | Optional | Maximum number of items to return (1-100).Default: 20 |
offset | number | Optional | Number of items to skip before starting to collect the result set.Default: 0 |
sortBy | string | Optional | Field to sort by. Allowed values vary by endpoint.Default: createdAt |
sortOrder | string asc desc | Optional | Sort direction.Default: desc |
search | string | Optional | Free-text search across the resource’s primary fields. |
createdAfter | string | Optional | ISO 8601 timestamp — only return items created after this time. |
createdBefore | string | Optional | ISO 8601 timestamp — only return items created before this time. |
updatedAfter | string | Optional | ISO 8601 timestamp — only return items updated after this time. |
shiftSessionId | string | Optional | One shift’s checks. |
status | string IN_SPEC OUT_OF_TOLERANCE | Optional | Filter to the ones that failed. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/qa-checks" \
-H "Authorization: Bearer your_access_token"200Example response
json
{
"message": "QA checks retrieved successfully!",
"content": {
"checks": [
{
"id": "qck_5522",
"locationId": "loc_abc123",
"shiftSessionId": "qss_3300",
"recordedAt": "2026-08-29T14:15:00.000Z",
"unitWeight": 32.9,
"unitVolume": 2.01,
"operatorEmployeeId": "emp_44f1",
"operatorInitials": "DR",
"notes": null,
"status": "OUT_OF_TOLERANCE",
"outOfToleranceReasons": [
"weight_high"
],
"createdAt": "2026-08-29T14:15:00.000Z"
}
],
"pagination": {
"total": 42,
"limit": 20,
"offset": 0,
"hasMore": true
}
}
}In the console
The same thing done by hand, for anyone comparing the API against the screen they already use.
Quality → Line Checks
/quality/line-checks