agentById

suspend override fun agentById(id: String): AIAgent<Input, Output>?(source)

Retrieves an AI agent managed by this service based on the provided unique identifier.

Return

The AI agent corresponding to the given identifier, or null if no agent with the specified ID exists.

Parameters

id

The unique identifier of the AI agent to be retrieved.