Agents
List agents
Automation agents must be enabled for your organization, and the user must be able to use AI chat. Embedded users can’t use this endpoint.
List the automation agents that a user can run, newest first. The list includes the agents that the user owns and the agents that are shared with them.
To run an agent, pass its id as agentId to the Create AI job endpoint.
GET
List agents
Choosing the user
A user-scoped API key lists the agents for its own user. An Organization API key lists the agents for the user who created the key. To list the agents for a different user, use an Organization API key and setuserId.
Listing every agent
An Organization Admin can setaccess=view to list every agent in the organization. An Organization Admin can run only the agents that they own or that are shared with them.
Pagination
The response contains up topageSize agents. If more agents match, pageInfo.nextCursor contains a value. Pass that value as cursor to get the next page.Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN

