Count cached workspace holdings and inventory coverage
Read existing cached holdings of active accounts in the selected workspace. This never fetches Steam synchronously or creates managed purchase stock. Exact account and literal item-name filters apply before pagination and counting. Coverage distinguishes checked, pending, private and offline accounts.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/steam.v1.Steam/CountWorkspaceInventory" \ -H "Content-Type: application/json" \ -d '{}'{
"cachedAssetCount": "string",
"cachedQuantity": "string",
"checkedAccounts": 0,
"offlineAccounts": 0,
"pendingAccounts": 0,
"privateAccounts": 0,
"totalAccounts": 0
}{
"code": "invalid_argument",
"message": "The request was malformed, such as a missing required field or an unparseable cursor."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "internal",
"message": "An internal server error occurred."
}CountInventoryItems
Returns the number of inventory items in each status for the workspace, optionally filtered by contract_id. Drives the inventory list page status-tab counts without loading every item.
GetInventory
Return a paginated page of the most recently observed inventory snapshot for a Steam account, including each item's tradability and a timestamp showing how fresh the snapshot is. Use the returned cursor to fetch subsequent pages.