Skip to main content
GET
/
orgs
/
{orgId}
/
agents
Get Agents by Organization
curl --request GET \
  --url https://eu-gcp-api.vg-stuff.com/v3/orgs/{orgId}/agents \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {}
  ],
  "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

The unique identifier of the organization

Query Parameters

page
integer
default:1

Page number for pagination (default: 1)

pageSize
integer
default:20

Number of agents per page (default: 20)

Response

Agents retrieved successfully

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object[]
required

Array of agent objects

total
integer
required

Total number of agents in the organization

totalPages
integer
required

Total number of pages available

currentPage
integer
required

Current page number