---
title: "Quote"
method: POST
path: "/v1/agent/quotes"
tags: ["Agent API"]
---

# Quote

`POST /v1/agent/quotes`

## Request

- Base URL: `https://api.lyricpatch.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lyricpatch.com/v1/agent/quotes`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- AgentQuoteRequest
  - `operation` 'generate' | 'export', required
  - `project_id` string, uuid, required
  - `edit_ids` string[]
  - `format` 'mp3' | 'wav'
  - `max_credits` integer, required

## Response `201`

Successful Response

- AgentQuoteResponse
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `operation` string, required
  - `credits` integer, required
  - `expires_at` string, date-time, required
  - `parameters` object, required

## Other responses

- `422`: Validation Error

---

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