---
title: "Get Contract"
method: GET
path: "/api/admin/inventory/contracts/{contract_id}"
tags: ["admin-inventory"]
---

# Get Contract

`GET /api/admin/inventory/contracts/{contract_id}`

One contract with its per-node-type terms and attached nodes.

## Path parameters

- `contract_id` string, required

## Response `200`

Successful Response

- GenericResponseInventoryContractDetail
  - `data` InventoryContractDetail
    - `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
    - `description` string, nullable
    - `notes` string, nullable
    - `noticePeriodDays` integer, nullable
    - `extra` object, nullable
    - `nodeTypes` InventoryContractNodeTypeSummary[]
      - `nodeTypeId` string, required
      - `nodeTypeSlug` string, nullable
      - `nodeTypeModel` string, nullable
      - `committedNodeCount` integer, nullable
      - `pricePerGpuHr` number, nullable
      - `pricePerNodeHr` number, nullable
      - `notes` string, nullable
      - `extra` object, nullable
      - `attachedNodeCount` integer
    - `nodes` InventoryContractNodeSummary[]
      - `nodeId` string, required
      - `nodeName` string, required
      - `nodeTypeSlug` string, nullable
      - `siteSlug` string, nullable
    - `continuedByIds` string[]
  - `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/:contract_id/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)
