Archives or unarchives an agent.
Archives or unarchives the specified custom agent and returns its updated configuration.
Set IsArchived to true to archive the agent, or false to unarchive it.
<Check title="Required Permissions" icon="key">The user must have manage access to the agent.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agentId
The agent id.
Request
Whether to archive or unarchive the agent.
isArchived
Whether the agent should be archived.
Response
OK
id
The id of the entity.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
type
The public agent type.
connectors
The linked connectors.
name
The name shown to users.
description
A short explanation of what the agent does.
currentSystemPromptVersionId
The current system prompt version.
modelProvider
The configured model provider when no preset is selected.
modelName
The configured model name when no preset is selected.
presetKey
The configured workspace model preset key.
reasoningLevel
The configured reasoning level.
systemPrompt
The current system prompt.
webSearchEnabled
Whether web search is enabled.
aworkAccessEnabled
Whether awork access is enabled.
googleGenAiAccessEnabled
Whether Google image generation is enabled.
openAiImageGenerationAccessEnabled
Whether OpenAI image generation is enabled.
skillIds
The skills linked to the agent.
hasImage
Whether the agent has a profile image.
isArchived
Whether the agent is archived.
workspaceAccessLevel
The workspace-wide access level.
accessLevel
The requesting user's access level.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error

