---
title: "Inventory"
method: GET
path: "/workspaces/{wid}/retention/batches/{bid}/inventory"
tags: ["retention"]
---

# Inventory

`GET /workspaces/{wid}/retention/batches/{bid}/inventory`

## Request

- Base URL: `https://app.linerecon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.linerecon.com/workspaces/{wid}/retention/batches/{bid}/inventory`
- Auth: none declared

## Path parameters

- `wid` string, uuid, required
- `bid` string, uuid, required

## Response `200`

Successful Response

- BatchInventory
  - `batch_id` string, uuid, required
  - `as_of` string, date-time, required
  - `database_content` ContentCount[], required
    - `kind` string, required
    - `rows` integer, required
    - `json_encoded_bytes` integer, required
  - `registered_blob_references` integer, required
  - `unversioned_uploads` integer, required
  - `active_runs` integer, required
  - `external_batch_references` integer, required
  - `workspace_saved_schema_versions` integer, required
  - `saved_schema_copies` integer, required
  - `unknown_saved_schema_origins` integer, required
  - `access_revoked` boolean, required
  - `full_inventory_complete` boolean
  - `unverified_scopes` string[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `413`: Content Too Large
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/linerecon/apis/linerecon-api.md) · [All operations](https://skmtc.dev/linerecon/apis/linerecon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/linerecon/apis/linerecon-api/revisions/0650f53a4249?raw)
