GET /inventory/count-record
Get Counting Record
GET
/inventory/count-record
Search inventory count records.
Queries inventory_count_record documents with filters for session, user,
assignment, product, and position keys, plus status inclusion flags. Returns
the raw cursor results including system_qt, counted_qt, and delta
for each record.
Emits: (direct query — no event class)
Required scope: inventory:count:read
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Query Parameters
count_session_key
Filter by counting session key.
Example
"cnt-session-001"user_key
Filter by the user who created the count record.
Example
"user/operator-01"assignment_key
Filter by assignment key.
Example
"assign-001"product_key
Filter to count records for this product.
Example
"67890"position_key
Filter to count records for this position.
Example
"12345"include_started
Include records in started status.
Type
boolean
Example
trueDefault
trueinclude_completed
Include records in completed status.
Type
boolean
Example
trueDefault
trueinclude_discarded
Include records in discarded status.
Type
boolean
Example
trueDefault
truelimit
Maximum number of results.
Example
500Default
500offset
Pagination offset.
Example
0Default
0Responses
Successful Response
application/json
JSON
[
]