Skip to content

List agents

GET
/api/v1/agent-platform/agents
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.

List of agents

Media type*/*
Array<object>

One agent the platform hosts, with its own actions and goals, as GET /agent-platform/agents lists it.

object
actions
required

The agent’s own actions, sorted by name

Array<object>

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
canRerun
required

True when the action may run again in an agent process where it has already run

boolean
deletable
required

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

boolean
description
required

What the action does, as its definition states it

string
inputTypes
required

Names of the types the action needs as input

Array<string>
unique items
name
required

Identifier the agent platform knows the action by; for a world action, the name /actions/spec/{name} takes

string
outputTypes
required

Names of the types the action produces

Array<string>
unique items
readOnly
required

True when the action declares that it has no external side effects

boolean
description
required

What the agent does, as its definition states it

string
goals
required

The agent’s own goals, sorted by name

Array<object>

One goal the agent platform can plan towards, as GET /agent-platform/goals lists it and as each agent nests it.

object
description
required

What achieving the goal means, as its definition states it

string
examples
required

Example requests the goal serves, such as I need a recipe for bread; empty when it declares none

Array<string>
unique items
name
required

Identifier the agent platform knows the goal by

string
outputType

Name of the type achieving the goal produces; null when it declares none

string
tags
required

Tags naming the kind of capability, such as billing; empty when it declares none

Array<string>
unique items
name
required

Identifier the agent platform knows the agent by

string
provider

Who provides the agent, as its definition declares

string