---
title: "List AI prompt history entries."
method: GET
path: "/ais/{id}/prompt_histories"
tags: ["AI"]
---

# List AI prompt history entries.

`GET /ais/{id}/prompt_histories`

Returns a paginated list of historical init_prompt values for the specified AI, newest first.

## Path parameters

- `id` string, required

## Query parameters

- `page_size` integer
- `page_token` string

## Response `200`

A list of AI prompt history entries.

- AIManagerAIPromptHistory[]
  - `id` string, uuid — The unique identifier of the prompt history entry.
  - `customer_id` string, uuid — The unique identifier of the associated customer. Returned from the `GET /customers` response.
  - `ai_id` string, uuid — The ID of the AI this history entry belongs to. Returned from the `GET /ais` response.
  - `prompt` string — The init_prompt value at this point in time.
  - `tm_create` string, date-time — The time this history entry was recorded.

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `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/versions/79e779080bcc/schema)
