Skip to main content
POST
Discover agents on an agent platform

Authorizations

Authorization
string
header
required

An Egma API key.

Query Parameters

projectId
string

Project to act in. A project-scoped API key already identifies its project.

Minimum string length: 1

Body

application/json
agentPlatform
enum<string>
required

Provider to query. Agent discovery currently supports Retell.

Available options:
retell
credentials
object

Retell account credential for this discovery request. Omit it when using agentId to reuse a saved key.

agentId
string

Existing Egma agent whose stored Retell key should be used. Omit credentials when supplying this field.

Minimum string length: 1
Example:

"agt_01M0E4J0BBE1FVDVTZ1BSS5C97"

Response

The agents and supported simulation connection candidates.

agents
object[]
required