api.heroui.pro/v1/agents/{agentId}/restoreSend the request to see the live response from the Agents API.
A workspace API key with the permission required by the operation. It may target any active Agent in its workspace.
In: header
1 <= lengthapplication/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.heroui.pro/v1/agents/string/restore"{
"configuration": {
"accentColor": {
"dark": "string",
"light": "string"
},
"attachmentTypes": [
"application/json"
],
"attachments": true,
"backgroundColor": {
"dark": "string",
"light": "string"
},
"caret": "block",
"colorScheme": "dark",
"componentSurfaceVariant": "outline",
"copyAction": true,
"customAccent": true,
"customColors": true,
"customFonts": [],
"defaultModel": "moonshotai/Kimi-K3",
"designSystem": null,
"designTheme": "base",
"dictation": true,
"disclaimer": "string",
"feedback": true,
"fontFamily": "inter",
"fontSize": 12,
"foregroundColor": {
"dark": "string",
"light": "string"
},
"greeting": "string",
"launcherBackground": {
"dark": "string",
"light": "string"
},
"launcherIcon": null,
"launcherIconSize": null,
"launcherPosition": "bottom-left",
"launcherStyle": "",
"locale": "string",
"markdownAnimation": "blurIn",
"mobileHeight": "75dvh",
"mobilePresentation": "fullscreen",
"modelPicker": true,
"overlayColor": {
"dark": "string",
"light": "string"
},
"permissionMode": "ask",
"permissionPicker": true,
"placeholder": "string",
"previewState": "activity",
"promptShortcuts": true,
"radius": "pill",
"retry": true,
"showBetaBadge": false,
"showDisclaimer": true,
"starterAmount": "none",
"subtitle": "Live answers with charts, metrics, and tables.",
"surfaceColor": {
"dark": "string",
"light": "string"
},
"surfaceSecondaryColor": {
"dark": "string",
"light": "string"
},
"surfaceVariant": "outline",
"tools": {
"generateFiles": true,
"searchImages": true,
"searchKnowledge": true,
"searchNews": true,
"searchWeb": true
},
"tooltipColor": {
"dark": "string",
"light": "string"
},
"translations": {},
"viewMode": "chat-bar"
},
"name": "string",
"product_scope": "strict",
"suggested_prompts": [],
"system_prompt": "",
"archived_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"dashboard_url": "http://example.com",
"id": "string",
"object": "agent",
"status": "string",
"updated_at": "2019-08-24T14:15:22Z",
"workspace_id": "string"
}{
"message": "limit must be an integer between 1 and 100.",
"name": "bad_request"
}{
"message": "The supplied API key is invalid or revoked.",
"name": "unauthorized"
}{
"message": "string",
"name": "bad_request"
}{
"message": "The requested resource was not found.",
"name": "not_found"
}{
"message": "The knowledge document does not have indexed content yet.",
"name": "conflict"
}{
"message": "Too many requests. Please try again later.",
"name": "rate_limited"
}{
"message": "Internal server error.",
"name": "internal_server_error"
}{
"message": "The API is temporarily unavailable.",
"name": "service_unavailable"
}