---
title: "Get a single AI prompt history entry."
method: GET
path: "/ais/{id}/prompt_histories/{history_id}"
tags: ["AI"]
---

# Get a single AI prompt history entry.

`GET /ais/{id}/prompt_histories/{history_id}`

## Request

- Base URL: `https://api.voipbin.net/v1.0`
- URL: `https://api.voipbin.net/v1.0/ais/{id}/prompt_histories/{history_id}`
- Auth: none declared

Retrieves a specific historical init_prompt entry by its ID.

## Path parameters

- `id` string, required
- `history_id` string, required

## Response `200`

Details of the requested prompt history entry.

- 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).
- `404`: Resource not found (NOT_FOUND).
- `500`: Internal error (INTERNAL).

---

[API](https://skmtc.dev/voipbin/apis/voipbin-api.md) - [All operations](https://skmtc.dev/voipbin/apis/voipbin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/voipbin/apis/voipbin-api/revisions/11338be3ceae?raw)
