Goldmine
Inventory

List inventory item IDs in a workspace.

POST
/contracts.v1.Contracts/ListInventoryItems

Returns a paged list of inventory item IDs owned by the workspace. Supports filtering by contract_id and lifecycle status. Use GetInventoryItem or GetInventoryItems to hydrate the full records.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/contracts.v1.Contracts/ListInventoryItems" \  -H "Content-Type: application/json" \  -d '{    "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",    "limit": 100,    "cursor": "",    "status": "INVENTORY_ITEM_STATUS_IN_INVENTORY"  }'
{
  "inventoryItemIds": [
    "aW52ZW50b3J5LWl0ZW0tMDAx",
    "aW52ZW50b3J5LWl0ZW0tMDAy"
  ],
  "nextCursor": ""
}
Empty