List configuration history
Every time a team member creates or updates an assistant in the app, a snapshot of the full configuration is saved. List those snapshots to inspect previous versions or to find what was active at a given time. Changes made with an API key are not recorded.
Endpoint
GET/ai-assistants-change-history
The history entry object
| Field | Type | Description |
|---|---|---|
id | integer | Read-only. Unique ID. Use it to restore. |
organization_id | integer | Read-only. Organization of the assistant. |
ai_assistant_id | integer | Read-only. Assistant this snapshot belongs to. |
created_by_user_id | integer | Read-only. User who made the change. |
configuration | object | Read-only. Full AI assistant object as saved by that change. |
created_by_user | object | null | Read-only. id, email, first_name, last_name, avatar_url of the user. |
created_at | string (date-time) | Read-only. When the change was made. |
updated_at | string (date-time) | Read-only. Last update timestamp. |
deleted_at | string (date-time) | null | Read-only. Always null in results. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
ai_assistant_id | integer | No | Snapshots of one assistant. |
created_by_user_id | integer | No | Snapshots made by one user. |
created_at[$lte] | string (date-time) | No | Snapshots made on or before this time (also $lt, $gte, $gt). |
$limit | integer | No | Page size. Default 10, max 50. |
$skip | integer | No | Number of records to skip. |
$sort[created_at] | integer | No | -1 for newest first. |
Results are limited to your API key's organization.
Request
Configuration that was active when a message was sent (latest snapshot before that time):
Response
json
Report an issue with this documentation
Please log in to report issues with our documentation.