---
title: "List org groups"
method: GET
path: "/api/v2/org_groups"
tags: ["Org Groups"]
---

# List org groups

`GET /api/v2/org_groups`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/org_groups`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

List all organization groups that the requesting organization has access to.

## Query parameters

- `page[number]` integer
- `page[size]` integer
- `sort` 'name' | '-name' | 'uuid' | '-uuid': Field to sort org groups by.

## Response `200`

OK

- OrgGroupListResponse: Response containing a list of org groups.
  - `data` OrgGroupData[], required: An array of org groups.
    - `attributes` OrgGroupAttributes, required: Attributes of an org group.
      - `created_at` string, date-time, required: Timestamp when the org group was created.
      - `modified_at` string, date-time, required: Timestamp when the org group was last modified.
      - `name` string, required: The name of the org group.
      - `owner_org_site` string, required: The site of the organization that owns this org group.
      - `owner_org_uuid` string, uuid, required: The UUID of the organization that owns this org group.
    - `id` string, uuid, required: The ID of the org group.
    - `type` 'org_groups', required: Org groups resource type.
  - `links` OrgGroupPaginationLinks: Pagination links for navigating between pages of an org group list response.
    - `first` string: Link to the first page.
    - `last` string: Link to the last page.
    - `next` string, nullable: Link to the next page.
    - `prev` string, nullable: Link to the previous page.
    - `self` string: Link to the current page.
  - `meta` OrgGroupPaginationMeta: Pagination metadata for org group list responses.
    - `page` OrgGroupPaginationMetaPage: Page-based pagination details for org group list responses.
      - `first_number` integer: First page number.
      - `last_number` integer, nullable: Last page number.
      - `next_number` integer, nullable: Next page number.
      - `number` integer: Page number.
      - `prev_number` integer, nullable: Previous page number.
      - `size` integer: Page size.
      - `total` integer: Total number of results.
      - `type` string: Pagination type.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
