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

# OpenAPI

> Use the production API's machine-readable contract.

## Live specification

The [production OpenAPI 3.1 specification](https://pay.u-kiyo.ai/openapi.json) describes the current public inventory and authenticated account endpoints. Fetch it without a token:

```bash theme={null}
curl --fail --silent --show-error https://pay.u-kiyo.ai/openapi.json
```

The API base URL is `https://pay.u-kiyo.ai`. Use the live specification rather than a copied snapshot when generating clients. See [API](/connect/api) for authentication, checkout, and error handling.

## Safety boundaries

Inventory is public. Account operations require a scoped bearer token; headless signup does not require Telegram. `POST /api/v1/rentals` documents two mutually exclusive bodies: exact `offerId`/`budgetMinor`, or `gpuModel`/`gpuCount`/`budgetMinor`/`maxHourlyPriceMinor` intent. The former never substitutes; the latter permits at most three cached CREATE candidates within the accepted hourly ceiling. Ambiguous CREATE outcomes stop fallback. Preserve the same intent and Idempotency-Key when retrying, and poll the returned rental until ACTIVE.

Launch interfaces are CLI 0.2.2, MCP 0.2.0 and Skill 1.0.1. Funding happens once before autonomous credit rentals. Legacy card checkout still requires payment. Credential responses contain secrets, and termination is irreversible. Only run task-authorized mutations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.