---
title: "Reads an access group"
method: GET
path: "/v1/access-groups/{idOrName}"
tags: ["access-groups"]
---

# Reads an access group

`GET /v1/access-groups/{idOrName}`

Allows to read an access group

## Path parameters

- `idOrName` string, required

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

- object
  - `teamPermissions` string[]
  - `entitlements` string[]
  - `isDsyncManaged` false | true, required
  - `name` string, required — The name of this access group.
  - `createdAt` string, required — Timestamp in milliseconds when the access group was created.
  - `teamId` string, required — ID of the team that this access group belongs to.
  - `updatedAt` string, required — Timestamp in milliseconds when the access group was last updated.
  - `accessGroupId` string, required — ID of the access group.
  - `membersCount` number, required — Number of members in the access group.
  - `projectsCount` number, required — Number of projects in the access group.
  - `teamRoles` string[] — Roles that the team has in the access group.

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `410`

## Changes

> 39 revisions in range; 26 could not be searched.

- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`
- **2026-07-14** `314022afff45` — 1 warning
  - added the new `AiGatewayBudgetManager` enum value to the `teamPermissions/items/` response property for the response status `200`
- **2026-07-08** `3ff660568354` — 3 warning
  - added the new `AiGatewayApiKeyOwnedBySelf` enum value to the `teamPermissions/items/` response property for the response status `200`
  - added the new `AiGatewayCredits` enum value to the `teamPermissions/items/` response property for the response status `200`
  - added the new `AiGatewaySettings` enum value to the `teamPermissions/items/` response property for the response status `200`

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/access-groups/:idOrName/get.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
