AI
List AI prompt history entries.
Returns a paginated list of historical init_prompt values for the specified AI, newest first.
get/ais/{id}/prompt_histories
Path parameters
idstring required
The ID of the AI. Returned from the GET /ais response.
Query parameters
page_sizeinteger
Example:25
Number of results to return per page.
page_tokenstring
Cursor token for pagination. Use the next_page_token value from the previous response.
Response
A list of AI prompt history entries.
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"
}
]