---
title: "Get given domain"
method: GET
path: "/gdc/domains/{domainId}"
tags: ["lcm-domains"]
---

# Get given domain

`GET /gdc/domains/{domainId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/domains/{domainId}`
- Auth: none declared

## Path parameters

- `domainId` string, required

## Query parameters

- `stats` 'user'
- `includeadmins` boolean

## Response `200`

The domain is successfully returned.

- LcmDomain
  - `domain` object, required
    - `name` string, required: Name of the domain
    - `ipWhitelist` string[], nullable: IP whitelist of the domain - in case that not set, IP whitelist is not used at all. In case of an empty array, all IPs are blocked.
    - `environment` 'PRODUCTION' | 'DEVELOPMENT' | 'TESTING', required: Platform enviroment
    - `links` LcmDomainLinks
      - `self` string, uri, required: Link to this domain.
      - `users` string, uri, required: Link to domain users.
      - `dataProducts` string, uri, required: Link to domain dataproduct.
      - `segments` string, uri, required: Link to domain segments.
      - `settings` string, uri, required: Link to domain UI settings.
      - `config` string, uri, required: Link to domain configuration.
      - `auditEvents` string, uri, required: Link to domain audit events.
      - `projects` string, uri, required: Link to domain projects.
      - `etlMonitoringRules` string, uri, required: Link to domain ETL monitoring rules.
    - `branding` LcmDomainBranding
      - `grayPages` boolean, required: Link to this domain.
      - `hostname` string, required: Should show grey pages
    - `createdAt` string, required: Date and time string in the format `YYYY-MM-DD hh:mm:ss`
    - `updatedAt` string, required: Date and time string in the format `YYYY-MM-DD hh:mm:ss`
    - `adminUids` string[]: List of domain admins ids
    - `stats` UsersCount
      - `usersCount` integer, required: Count of users.

## Other responses

- `403`: The API call failed because you are not a domain administrator in the domain.
- `404`: The API call failed because the object you requested does not exist.
- `default`: Common error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
