Skip to Content

POST /agent/get

Get Agent

Get agent information using the canonical shared agent operation.

Request Body (GetAgentApiRequest)

FieldTypeRequiredDescription
idstringNoUUID of the agent to retrieve
agent_idstringNoLegacy alias for the agent identifier
draft_idstringNoUUID of the draft to retrieve
snapshot_keystringNoCache snapshot key for consistent reads across related requests
namesapp__infra__agent__types__SectionFilterNoFilter options for names
descriptionsapp__infra__agent__types__SectionFilterNoFilter options for descriptions
modelsapp__infra__agent__types__SectionFilterNoFilter options for models
promptsapp__infra__agent__types__SectionFilterNoFilter options for prompts
instructionsapp__infra__agent__types__SectionFilterNoFilter options for instructions
flagsapp__infra__agent__types__SectionFilterNoFilter options for flags
departmentsapp__infra__agent__types__SectionFilterNoFilter options for departments
toolsapp__infra__agent__types__SectionFilterNoFilter options for tools
temperature_levelsapp__infra__agent__types__SectionFilterNoFilter options for temperature levels
reasoning_levelsapp__infra__agent__types__SectionFilterNoFilter options for reasoning levels
voicesapp__infra__agent__types__SectionFilterNoFilter options for voices
qualitiesapp__infra__agent__types__SectionFilterNoFilter options for qualities
rubricsapp__infra__agent__types__SectionFilterNoFilter options for rubrics

Response (GetAgentApiResponse)

FieldTypeRequiredDescription
actor_namestringNoDisplay name of the current actor
agent_existsbooleanNoWhether the agent exists
can_editbooleanNoWhether the current user can edit
disabled_reasonstringNoReason the agent is disabled
group_idstringNoUUID of the owning group
draft_namestringNoImmutable draft label from the active draft entry, when a draft_id was supplied. None for non-draft fetches.
agent_idstringNoUUID of the selected agent
show_ai_generatebooleanNoWhether any step should show AI generate
basic_show_ai_generatebooleanNoShow AI generate for basic step
general_show_ai_generatebooleanNoShow AI generate for general step
pending_idsstring[]NoPending resource identifiers when available
namesAgentNameResource[]NoName resources
descriptionsAgentDescriptionResource[]NoDescription resources
modelsAgentModelResource[]NoModel resources
promptsAgentPromptResource[]NoPrompt resources
instructionsAgentInstructionResource[]NoInstruction resources
flagsAgentFlagResource[]NoFlag resources (one per flags_resource row, value=true/false)
departmentsAgentDepartmentResource[]NoDepartment resources
toolsAgentToolResource[]NoTool resources
temperature_levelsAgentTemperatureLevelResource[]NoTemperature level resources
reasoning_levelsAgentReasoningLevelResource[]NoReasoning level resources
voicesAgentVoiceResource[]NoVoice resources
qualitiesAgentQualityResource[]NoQuality resources
rubricsAgentRubricResource[]NoRubric resources
Last updated on