Your own agents and agents shared with you in this org; 50 a page. Agents made from a template are left out unless template names one: then the list is that template's agents. orphaned=true, for an org admin, lists instead the org's agents whose creator left the org or had their account erased (never the owner's, never one made from a template), whether or not you can see them, as OrphanedAgent: its name, harness and how it is shared, nothing of its setup. That includes an agent that was never shared, and one whose creator's account was erased. Make one private with PATCH {"visibility": "private"}, or delete it with DELETE (409 AGENT_IN_USE while an automation runs it).
Authenticate with a signed-in session token (an API key cannot call this route).
Path parameters
The org's slug or id. A caller with no role in the org gets 404.
Query parameters
true lists the orphaned agents. It takes only cursor beside it (anything else is 400 VALIDATION_ERROR), and a caller who is not an org admin gets 403 FORBIDDEN.
trueA template's id or name; lists the agents made from it. An unknown one, or an agent made from a template, is 404 NOT_FOUND; a blank one is 400 VALIDATION_ERROR.
The next_cursor of the previous page, URL-encoded (it can hold a +, which a URL reads as a space); anything else is 400 VALIDATION_ERROR.
Responses
200One page of saved agents.
31 item fields
Private by default; org makes the agent usable by current org members; public lists it in Community once Phoenix approves it.
privateorgpublicWhat Community serves of the agent, present once Phoenix has approved a revision; your own org reads it.
8 fields
listedwithdrawnremovedEngineeringBusinessMarketingGeneralThe revision Community lists and its adders run.
How the listed agent starts, by kind.
Phoenix's note on a removal.
The listed square logo: a public image URL that never changes.
The listed wide cover image: a public image URL that never changes.
A revision submitted to Community that Phoenix has not decided, or turned down.
8 fields
EngineeringBusinessMarketingGeneralin_reviewrejectedWhy Phoenix turned it down.
The logo submitted with this revision.
The cover submitted with this revision.
Present on an agent made from a template; everything but its name and description is the template's.
Present on an agent added from a Community listing; it runs the listed revision and never shows the maker's setup.
trueIts creator.
Launch-boundary managed harnesses.
claudecodexopencodeThe revision read, the number its ETag carries and an edit's If-Match names.
Present on a deleted agent, which starts no run.
trueWhat the agent was made from, when it was made from another agent or a catalog harness. Only its creator reads it.
The catalog revision the agent was last saved against.
{selection: "latest_verified"} keeps the harness CLI current; {selection: "pinned", id} holds one release.
2 fields
latest_verifiedpinnedstandardfast2 item fields
The agent's connections from GET /me/connections, each with the name a run's connections
takes. A deleted connection has no name. On an agent made from a template, one entry per
connection the template names: id is the agent's own account of that app, absent until connected.
Anyone but the agent's creator reads each by its app's name (and an MCP server's own display_name),
never the creator's id.
5 item fields
The kind of connection, as GET /me/connections names it.
read: read mail (and Outlook contacts). send: read and send. Absent: all of the app's access,
which for Gmail also changes labels and for Outlook is the same as send.
readsendOn an agent made from a template, each connection its template names that a run of it lacks; absent
once there are none. Every run of this agent is 422 CONNECTION_NOT_READY until each is connected.
A read of an older revision (?revision=) reports what that revision's connections lack. It checks that
an account exists, not its access level: an account connected below what the template now names (a
raised level, or a dropped one, which asks for all of the app) is not listed. Until it is connected
again, a run is accepted and then ends failed with CONNECTION_UNAVAILABLE, not the 422 above.
2 item fields
The connection's name; absent when the template owner's connection was deleted.
Who connects it: agent, this agent's user, at /o/{org}/agents/{agent}/connections (an agent added
from a Community listing, its person at /me/connections); template, the template's owner, whose
own connection has lapsed or was deleted. A lapsed one clears when the owner signs in to the same
account again at /me/connections; for a deleted one or another account, the owner connects it and
then PATCHes the template's connections (keeping the access of any that has one), since the
template names a connection by its id.
agenttemplateIn a PATCH answer for a template that agents are made from, the connection names the edit added (a
connection that replaces a deleted one counts as added). An agent made from it that has no account of one
needs its user to connect it; GET /o/{org}/agents?template=<id> names each agent's
missing_connections. Absent when the edit added none.
Present when browser or computer use is on.
2 fields
Present when the agent allows only some tools: {mode: "selected", ids}, with ids left out when it allows none.
Present when the agent reaches only some domains: {mode: "allowlist", domains}, with domains left out when it reaches none.
The catalog plugins the agent installs, by catalog_id.
1 item fields
Present when there is another page.
400Malformed request.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
401No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
403FORBIDDEN: orphaned=true from someone who is not an org admin.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
404No such resource for the caller, including one in an org the caller is not in or a Project that is private to someone else.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.
429The account is over its request budget, 1,800 a minute shared by the person's API keys and console on every API host (RATE_LIMITED).
The account is over its request budget, 1,800 a minute shared by the person's API keys and console on every API host (RATE_LIMITED). The error names the limit. Wait Retry-After seconds.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.
The machine code on routes that name it this way.