Skip to main content
GET
/
agent
List Agents
curl --request GET \
  --url https://api.beamstudio.ai/agent \
  --header 'Authorization: Bearer <token>' \
  --header 'current-workspace-id: <current-workspace-id>'
{
  "agents": [],
  "count": 42
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

current-workspace-id
string
required

Query Parameters

pageNum
number
Required range: x >= 1
pageSize
number
Required range: 1 <= x <= 1000000
type
enum<string>

Filter agents by type (beam-os, user-agent, pre-configured-agent)

Available options:
beam-os,
user-agent,
pre-configured-agent
Example:

"beam-os"

searchQuery
string

Search agents by name or description

Example:

"customer support"

agentCategoryId
string

Filter agents by category ID

Example:

"cat_123456"

Response

200 - application/json

List of agents retrieved successfully

agents
object[]
required

Array of agents available in the workspace

Example:
[]
count
number
required

Total number of agents matching the query

Example:

42