Skip to main content
GET
Get a beneficiary inventory consumption

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

inventory_run_id
string<uuid>
required

Identifier of the consumption.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a11"

Response

OK. The consumption.

consumedAt
string<date-time>
required

When collections started consuming the inventory, RFC 3339 in UTC.

Example:

"2026-11-10T12:00:00Z"

id
string<uuid>
required

Identifier of the consumption.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a11"

pcrInventoryRunId
string<uuid>
required

Identifier of the inventory at the PCR.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a10"

pcrRanAt
string<date-time>
required

When the PCR ran the inventory, RFC 3339 in UTC.

Example:

"2026-11-10T11:00:00Z"

state
enum<string>
required

Where the consumption is. PROCESSING: comparing the inventory with the agreements. COMPLETED: finished, with its divergences opened. FAILED: the read or the comparison failed; it is tried again.

Available options:
PROCESSING,
COMPLETED,
FAILED
Example:

"COMPLETED"

completedAt
string<date-time> | null

When the consumption completed, RFC 3339 in UTC; null while it has not.

Example:

"2026-11-10T12:01:00Z"

divergences
integer<int64>

Divergences the consumption opened.

Required range: x >= 0
Example:

3

imported
integer<int64>

Beneficiaries of the base adopted on their own because they matched an enablement in progress. Every other registration made outside collections becomes a MISSING_LOCALLY divergence.

Required range: x >= 0
Example:

12