v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014102371.0 MB
AI

Get a single AI prompt history entry.

Retrieves a specific historical init_prompt entry by its ID.

get/ais/{id}/prompt_histories/{history_id}

Path parameters

idstring required

The ID of the AI. Returned from the GET /ais response.

history_idstring required

The ID of the prompt history entry. Returned from the GET /ais/{id}/prompt_histories response.

Response

Details of the requested prompt history entry.

idstring uuid

The unique identifier of the prompt history entry.

customer_idstring uuid

The unique identifier of the associated customer. Returned from the GET /customers response.

ai_idstring uuid

The ID of the AI this history entry belongs to. Returned from the GET /ais response.

promptstring

The init_prompt value at this point in time.

tm_createstring date-time

The time this history entry was recorded.

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "customer_id": "7c4d2f3a-1b8e-4f5c-9a6d-3e2f1a0b4c5d",
  "ai_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "prompt": "You are a helpful customer support assistant.",
  "tm_create": "2026-05-22T10:00:00.000000Z"
}