Agents
Get an agent
GET
/agents/{agent_name}Retrieves an agent definition by its unique name.
Path ParametersQuery Parameters
agent_namestringrequired
The name of the agent to retrieve.api-versionstringrequired
The API version to use for this operation.Responses
objectenumrequired
The object type, which is always 'agent'.agent
idstringrequired
The unique identifier of the agent.namestringrequired
The name of the agent.stateenumrequired
The operational state of an agent.enableddisabled
state_sourceenum
Indicates the source of an agent's operational state. Empty when the state is not derived from a specific source.agent_instance_identityagent_blueprint
versionsobjectrequired
The latest version of the agent.latestAgentVersionObjectrequired
agent_endpointAgentEndpointConfig
version_selectorVersionSelector
protocol_configurationProtocolConfiguration
Per-protocol configuration for the agent endpoint.authorization_schemes(Entra | BotService | BotServiceRbac | BotServiceTenant)[]
The authorization schemes supported by the agent endpointpublish_approval_statusenum
The Microsoft Agent Certification review status of the Microsoft 365 store title published for an agent.not_publishedpendingapprovedrejectedno_approval_needed
digital_worker_typeenum
The type of digital worker.m365
instance_identityAgentIdentity
principal_idstringrequired
The principal ID of the agent instanceclient_idstringrequired
The client ID of the agent instance. Also referred to as the instance IDstatusenum
The status of an agent identity, applicable to both the agent instance identity and the agent blueprint.activedisabled
blueprintAgentIdentity
principal_idstringrequired
The principal ID of the agent instanceclient_idstringrequired
The client ID of the agent instance. Also referred to as the instance IDstatusenum
The status of an agent identity, applicable to both the agent instance identity and the agent blueprint.activedisabled
blueprint_referenceManagedAgentIdentityBlueprint
One of the following:
ManagedAgentIdentityBlueprintManagedAgentIdentityBlueprintReference
agent_cardAgentCard
versionstringrequired
The version of the agent card.descriptionstring
The description of the agent card.skillsAgentCardSkill[]required
The set of skills that an agent can perform.