---
title: "Settled usage, cost and receipt for one request"
method: GET
path: "/requests/{id}"
---

# Settled usage, cost and receipt for one request

`GET /requests/{id}`

## Request

- Base URL: `https://api.openmayhem.ai/v1`
- URL: `https://api.openmayhem.ai/v1/requests/{id}`
- Auth: HTTP bearer

Requires the CHAT scope. The id arrives as openmayhem.request_id in every response body.

## Path parameters

- `id` string, required

## Response `200`

Request record with settled usage, cost and receipt identity.

## Other responses

- `401`: Missing or invalid API key.
- `404`: Unknown request or owned by another account.

---

[API](https://skmtc.dev/openmayhem/apis/openmayhem-api.md) · [All operations](https://skmtc.dev/openmayhem/apis/openmayhem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openmayhem/apis/openmayhem-api/revisions/0ea33ad12f21?raw)
