---
title: "Gets a list of AI prompt proposals."
method: GET
path: "/aipromptproposals"
tags: ["AI"]
---

# Gets a list of AI prompt proposals.

`GET /aipromptproposals`

Retrieves a paginated list of AI prompt proposal records for the authenticated customer.

## Query parameters

- `page_size` integer
- `page_token` string
- `ai_id` string, uuid
- `status` string

## Response `200`

A list of AI prompt proposals.

- object
  - `next_page_token` string — Cursor token for the next page of results. Pass this value as the page_token parameter in the next request.
  - `result` AIManagerAIPromptProposal[]
    - `id` string, uuid — The unique identifier of the prompt proposal.
    - `customer_id` string, uuid — The customer who owns this proposal.
    - `ai_id` string, uuid — The AI participant whose prompt is being improved. Returned from the `GET /ais` response.
    - `audit_ids` string[] — Ordered list of AI audit IDs the proposal was derived from. Returned from the `GET /aiaudits` response.
    - `basis_prompt_history_id` string, uuid — The prompt history snapshot the proposal was generated against.
    - `original_prompt` string — The basis prompt text captured at proposal time.
    - `proposed_prompt` string — The Gemini-generated improved prompt. Empty until status is completed.
    - `rationale` string — Gemini's explanation for the proposed prompt change. Empty until status is completed.
    - `status` 'progressing' | 'completed' | 'failed' | 'accepted' | 'rejected' | 'expired' — Status of the AI prompt proposal.
    - `error` string — Canonicalized failure reason if status is failed or expired.
    - `applied_prompt_history_id` string, uuid — The prompt history ID created when this proposal was accepted. Empty until accepted.
    - `tm_create` string, date-time — Timestamp when the proposal was created.
    - `tm_update` string, date-time, nullable — Timestamp when the proposal was last updated.
    - `tm_delete` string, date-time, nullable — Timestamp when the proposal was deleted.

## Other responses

- `401` — Authentication required (UNAUTHENTICATED).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/revisions/79e779080bcc/schema)
