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

FieldTypeDescription
idintegerRead-only. Unique ID. Use it to restore.
organization_idintegerRead-only. Organization of the assistant.
ai_assistant_idintegerRead-only. Assistant this snapshot belongs to.
created_by_user_idintegerRead-only. User who made the change.
configurationobjectRead-only. Full AI assistant object as saved by that change.
created_by_userobject | nullRead-only. id, email, first_name, last_name, avatar_url of the user.
created_atstring (date-time)Read-only. When the change was made.
updated_atstring (date-time)Read-only. Last update timestamp.
deleted_atstring (date-time) | nullRead-only. Always null in results.

Query parameters

NameTypeRequiredDescription
ai_assistant_idintegerNoSnapshots of one assistant.
created_by_user_idintegerNoSnapshots made by one user.
created_at[$lte]string (date-time)NoSnapshots made on or before this time (also $lt, $gte, $gt).
$limitintegerNoPage size. Default 10, max 50.
$skipintegerNoNumber of records to skip.
$sort[created_at]integerNo-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.