List agents
const url = 'http://localhost:11044/api/v1/agent-platform/agents';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/agent-platform/agents \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Returns every agent the platform hosts, each with its own actions and goals nested inline.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”List of agents
One agent the platform hosts, with its own actions and goals, as GET /agent-platform/agents lists it.
object
The agent’s own actions, sorted by name
One action the agent platform can plan with, as GET /actions lists it and as each agent from GET /agent-platform/agents nests it.
object
True when the action may run again in an agent process where it has already run
True only when the action’s YAML lives directly in this world’s config/actions directory, so DELETE /actions/spec/{name} can remove it; false for realm-shipped and platform-defined actions
What the action does, as its definition states it
Names of the types the action needs as input
Identifier the agent platform knows the action by; for a world action, the name /actions/spec/{name} takes
Names of the types the action produces
True when the action declares that it has no external side effects
What the agent does, as its definition states it
The agent’s own goals, sorted by name
One goal the agent platform can plan towards, as GET /agent-platform/goals lists it and as each agent nests it.
object
What achieving the goal means, as its definition states it
Example requests the goal serves, such as I need a recipe for bread; empty when it declares none
Identifier the agent platform knows the goal by
Name of the type achieving the goal produces; null when it declares none
Tags naming the kind of capability, such as billing; empty when it declares none
Identifier the agent platform knows the agent by
Who provides the agent, as its definition declares

