List current workspace Steam holdings grouped by account or item
Read existing cached holdings of active accounts in the selected workspace, summed per account or per item. This never fetches Steam synchronously or creates managed purchase stock. The holdings filter applies before grouping, and grouping, ordering and pagination run over the complete workspace result.
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://api.goldmine.to/steam.v1.Steam/ListWorkspaceInventoryGroups" \ -H "Content-Type: application/json" \ -d '{}'{
"groups": [
{
"accountName": "string",
"assetCount": "string",
"inventoryCheckedAt": "2019-08-24T14:15:22Z",
"inventoryPrivateSince": "2019-08-24T14:15:22Z",
"marketHashName": "string",
"quantity": "string",
"sessionStatus": "SESSION_STATUS_UNSPECIFIED"
}
],
"nextCursor": "string"
}{
"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."
}ListWorkspaceInventory
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.
CountPurchases
Returns the number of purchases in each status for the workspace, optionally filtered by contract_id. Drives the purchases list page status-tab counts without loading every purchase.