Skip to main content
GET
/
groups
JavaScript SDK
const groups = await client.groups.list({ all: true });
{
  "items": [
    {
      "name": "Production Engineers",
      "id": 123,
      "isDeleted": false,
      "capabilities": [
        {
          "agentsAcl": {
            "actions": [
              "READ"
            ],
            "scope": {
              "all": {}
            }
          },
          "projectUrlNames": {
            "urlNames": [
              "publicdata"
            ]
          }
        }
      ],
      "metadata": {},
      "attributes": {
        "token": {
          "appIds": [
            "<string>"
          ]
        }
      },
      "sourceId": "b7c9a5a4-99c2-4785-bed3-5e6ad9a78603",
      "deletedTime": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Query Parameters

all
boolean
default:false

Whether to get all groups, only available with the groups:list acl.

Response

200 - application/json

A list of groups.

items
(managedExternally · object | managedInCDF · object)[]
required

Group membership managed by the external identity provider

Last modified on April 23, 2026