# Last Price Approvals API

**Canonical:** https://apis.io/apis/last-price-ai/last-price-ai-approvals-api/  
**Provider:** Last Price — https://apis.io/providers/last-price-ai/  
**Base URL:** https://api.last-price.ai  
**Documentation:** https://last-price.ai/api-docs

Last Price Approvals API is one of 49 APIs that [Last Price](https://apis.io/providers/last-price-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Approvals. The published artifact set on APIs.io includes an OpenAPI specification.

Generic approval queue backing `withAgentRoute({ approval })`. When a route's `required_when` predicate fires, the request is short-circuited with `202 needs_approval` and persisted here for a human (or higher-scoped agent) to approve or reject. The flow, end to end: 1. The call is held, not run. It answers `202` with the error envelope (see the `NeedsApproval` response): `error.code` is `needs_approval`, `error.retryable` is `false`, `error.approval_id` names the queued row and `error.docs_url` is the dashboard page for it, `/app/approvals/{approval_id}` on the app host (links of the older form `/approvals/{approval_id}` redirect there). Treat a 202 with this body as "waiting for a person", not as success. 2. A person decides. In the dashboard, the Approvals screen (`/app/approvals`) lists pending and decided requests with the action, the requester, the method, path and body, and Approve and Reject buttons; a signed-out visitor is sent through sign-in and back. Over the API, `POST /api/approvals/{id}/approve` or `/reject` takes a person's credential (the dashboard session or a JWT not bound to an agent), never an API key or an agent's token. 3. The caller checks and retries. Poll `GET /api/approvals/{id}` until `status` is no longer `pending`. Approving does not replay the held call: once the row is `approved`, send the same request again (`request_method`, `request_path`, `request_body` on the row, from the same credential) and it runs. One approval runs one call: the resend stamps `consumed_at` on the row, and sending it a third time is held again with a new approval. A `rejected` row is final (its `reason` says why, when the reviewer gave one); a retried call after that queues a new approval. A request waits seven days by default (`expires_at`). Past that time a row that was never decided reads as `status: expired` everywhere (the API and the dashboard), approving or rejecting it answers 404, and an approved row that was not used by then no longer lets the call run.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/approvals` | List approval queue entries for this tenant |
| GET | `/api/approvals/{id}` | Get a single approval by id |
| POST | `/api/approvals/{id}/approve` | Approve a pending approval |
| POST | `/api/approvals/{id}/apply` | Approve and apply a pricing analyst proposal |
| POST | `/api/approvals/{id}/reject` | Reject a pending approval |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/last-price-ai/openapi/last-price-ai-approvals-api-openapi.yml

## Other Last Price APIs (12)

- [Last Price Agents API](https://apis.io/apis/last-price-ai/last-price-ai-agents-api/)
- [Last Price API Keys API](https://apis.io/apis/last-price-ai/last-price-ai-api-keys-api/)
- [Last Price Audit API](https://apis.io/apis/last-price-ai/last-price-ai-audit-api/)
- [Last Price Auth API](https://apis.io/apis/last-price-ai/last-price-ai-auth-api/)
- [Last Price Authentication API](https://apis.io/apis/last-price-ai/last-price-ai-authentication-api/)
- [Last Price Billing API](https://apis.io/apis/last-price-ai/last-price-ai-billing-api/)
- [Last Price Blocks API](https://apis.io/apis/last-price-ai/last-price-ai-blocks-api/)
- [Last Price Commerce API](https://apis.io/apis/last-price-ai/last-price-ai-commerce-api/)
- [Last Price Compute API](https://apis.io/apis/last-price-ai/last-price-ai-compute-api/)
- [Last Price Contacts API](https://apis.io/apis/last-price-ai/last-price-ai-contacts-api/)
- [Last Price Costs API](https://apis.io/apis/last-price-ai/last-price-ai-costs-api/)
- [Last Price Credits API](https://apis.io/apis/last-price-ai/last-price-ai-credits-api/)

## Tags

Approvals

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/last-price-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/last-price-ai/last-price-ai-approvals-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/last-price-ai/.
