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

agentIdstringRequiredformat: "uuid"
The agent id.

Request

Whether to archive or unarchive the agent.
isArchivedbooleanOptional
Whether the agent should be archived.

Response

OK
idstringOptionalformat: "uuid"
The id of the entity.
createdOnstringOptionalformat: "date-time"
The date this entity was created.
createdBystringOptionalformat: "uuid"
The id of the user who created this entity.
updatedOnstringOptionalformat: "date-time"
The date this entity was last modified.
updatedBystringOptionalformat: "uuid"
The id of the user who last modified this entity.
typestring or nullOptional
The public agent type.
connectorslist of objects or nullOptional
The linked connectors.
namestring or nullOptional
The name shown to users.
descriptionstring or nullOptional
A short explanation of what the agent does.
currentSystemPromptVersionIdstring or nullOptionalformat: "uuid"
The current system prompt version.
modelProviderstring or nullOptional
The configured model provider when no preset is selected.
modelNamestring or nullOptional
The configured model name when no preset is selected.
presetKeystring or nullOptional
The configured workspace model preset key.
reasoningLevelstring or nullOptional
The configured reasoning level.
systemPromptstring or nullOptional
The current system prompt.
webSearchEnabledbooleanOptional
Whether web search is enabled.
aworkAccessEnabledbooleanOptional
Whether awork access is enabled.
googleGenAiAccessEnabledbooleanOptional
Whether Google image generation is enabled.
openAiImageGenerationAccessEnabledbooleanOptional
Whether OpenAI image generation is enabled.
skillIdslist of strings or nullOptional
The skills linked to the agent.
hasImagebooleanOptional
Whether the agent has a profile image.
isArchivedbooleanOptional
Whether the agent is archived.
workspaceAccessLevelenum or nullOptional

The workspace-wide access level.

accessLevelenumOptional
The requesting user's access level.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error