Restore a version
Sessions: admins.
Needs the experts:write scope. A key without it gets 403 insufficient_scope. Routes not in this reference cannot be called with a key at all (403 not_available_to_api_keys).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
The expert id.
n
The version number.
Response
OK
id
A UUID.
orgId
A UUID.
name
personaPrompt
isActive
visibility
Allowed values:
createdAt
updatedAt
description
firstMessage
avatarUrl
backgroundUrl
voiceConfig
Engine, model, voice and experience settings.
toolPolicy
Per-tool policy overrides.
slug
publishedAt
widgetConfig
Website widget appearance.
interopConfig
MCP servers and hand-off specialists; secrets masked.
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error