> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compute-desk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Complete reference for the Compute Clear API endpoints

## Base URL

```
https://supply-api.compute-desk.com
```

## Authentication

All endpoints require a Bearer token. See [Quickstart](/quickstart) for details.

## Content types

Most endpoints accept and return JSON. The exception is `POST /get_offers`, which accepts a **YAML** request body with `Content-Type: application/yaml`.

## Rate limiting

| Endpoint            | Limit                            |
| ------------------- | -------------------------------- |
| `POST /get_offers`  | 5 requests per minute per client |
| All other endpoints | No rate limit                    |

Rate-limited responses return `429 Too Many Requests`.

## Offer expiration

Offers returned by `/get_offers` expire after **30 minutes**. After expiration, the `offer_id` can no longer be used for procurement.

## Endpoint groups

<CardGroup cols={2}>
  <Card title="Discovery" icon="compass" href="/api-reference/endpoint/available-gpus">
    Check available GPUs, vendors, regions, contracts, and storage options
  </Card>

  <Card title="Offers" icon="tag" href="/api-reference/endpoint/get-offers">
    Query offers, view details, check procurement status
  </Card>

  <Card title="Procurement" icon="cart-shopping" href="/api-reference/endpoint/procure-offer">
    Provision GPU instances from an offer
  </Card>

  <Card title="Resources" icon="server" href="/api-reference/endpoint/list-resources">
    List, inspect, and delete provisioned resources
  </Card>
</CardGroup>
