Goldmine
Inventory

Count cached workspace holdings and inventory coverage

POST
/steam.v1.Steam/CountWorkspaceInventory

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."
}