Skip to main content
GET
/
orgs
/
{orgId}
/
agents
Get Agents by Organization
curl --request GET \
  --url https://eu-cloudflare.vg-stuff.com/orgs/{orgId}/agents \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": "<array>",
  "total": 123,
  "totalPages": 123,
  "currentPage": 123
}
Returns all agents within the organization. You must have access to the organization to view its agents.
Use this endpoint to manage agents across multiple workspaces within an organization.

Authorizations

Authorization
string
header
required

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

Path Parameters

orgId
string
required

Query Parameters

page
number
default:1
pageSize
number
default:20

Response

Successful response

success
boolean
required
message
string
required
data
array
required
total
number
required
totalPages
number
required
currentPage
number
required