---
title: "List Contracts"
method: GET
path: "/api/admin/inventory/contracts"
tags: ["admin-inventory"]
---

# List Contracts

`GET /api/admin/inventory/contracts`

List vendor contracts.

## Query parameters

- `vendorId` string, nullable
- `status` string, nullable — DRAFT, ACTIVE, ENDED or CANCELLED.
- `type` string, nullable — ONE_OFF, RECURRING or RENEWABLE.
- `activeOn` string, date, nullable — ISO date; keep only contracts whose window covers it.
- `search` string, nullable — Case-insensitive match against name, reference, or id.
- `offset` integer — Number of items to skip.
- `limit` integer — Max items to return (1-100).

## Response `200`

Successful Response

- GenericPaginationResponseListInventoryContractSummary
  - `total_count` integer — Total number of items available in the dataset
  - `offset` integer — Number of items to skip before starting to collect the result set
  - `limit` integer — Maximum number of items to return
  - `data` InventoryContractSummary[], required
    - `id` string, required
    - `name` string, required
    - `reference` string, nullable
    - `vendorId` string, required
    - `vendorName` string, nullable
    - `type` string, required
    - `status` string, required
    - `startDate` string, date-time, required
    - `endDate` string, date-time, nullable
    - `billingPeriod` string, required
    - `paymentTiming` string, required
    - `autoRenew` boolean, required
    - `currency` string, required
    - `continuesFromId` string, nullable
    - `nodeCount` integer
    - `committedNodeCount` integer, nullable
  - `status` string, nullable — Response status

## Other responses

- `401` — Authorization failed
- `403` — Insufficient permissions
- `422` — Invalid request data

## Changes

- **2026-09-04** `cf5a8be325a9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/primeintellect/apis/pi-api/changes/api/admin/inventory/contracts/get.md)

---

[API](https://skmtc.dev/primeintellect/apis/pi-api.md) · [All operations](https://skmtc.dev/primeintellect/apis/pi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primeintellect/pi-api/revisions/cf5a8be325a9/schema)
