Returns the custom agent's configuration.
Returns the specified custom agent's configuration, including the requesting user's access level.
Use this response to inspect the agent's model, prompt, and linked capabilities before working with it.
<Check title="Required Permissions" icon="key">The user must have read 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.
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
401
Unauthorized Error
404
Not Found Error

