---
title: "Get available domains"
method: GET
path: "/api/v2/available-domains"
tags: ["Search", "Community", "Enterprise"]
---

# Get available domains

`GET /api/v2/available-domains`

Gets available domains along with their collection status

## Query parameters

- `sort_by` string — Filter results by column string value. Valid filter predicates are `eq`, `~eq`, `neq`.
- `objectid` string — Filter results by column string value. Valid filter predicates are `eq`, `~eq`, `neq`.
- `name` string — Filter results by column string value. Valid filter predicates are `eq`, `~eq`, `neq`.
- `collected` string — Filter results by column string value. Valid filter predicates are `eq`, `~eq`, `neq`.

## Response `200`

OK

- object
  - `data` ModelDomainSelector[]
    - `type` string
    - `name` string
    - `id` string
    - `collected` boolean
    - `environment_kind_id` integer — OpenGraph environment kind ID for custom environments
    - `environment_kind_name` string — OpenGraph environment kind name for custom environments
    - `environment_kind_display_name` string — Human-readable display name for the node's environment kind
    - `impactValue` integer — Enterprise Only
    - `hygiene_attack_paths` integer — Enterprise Only
    - `exposures` object[] — Enterprise Only
      - `exposure_percent` integer
      - `asset_group_tag` ModelAssetGroupTag
        - `id` integer
        - `type` integer
        - `kind_id` integer
        - `name` string
        - `description` string
        - `created_at` string, date-time
        - `created_by` string
        - `updated_at` string, date-time
        - `updated_by` string
        - `position` NullInt32
          - `int32` integer
          - `valid` boolean — Valid is true if `int32` is not `null`.
        - `require_certify` NullBoolean
          - `bool` boolean
          - `valid` boolean — Valid is true if `boolean` is not `null`
        - `analysis_enabled` NullBoolean
          - `bool` boolean
          - `valid` boolean — Valid is true if `boolean` is not `null`
        - `glyph` NullString
          - `string` string
          - `valid` boolean — Valid is true if `string` is not `null`

## Other responses

- `400` — **Bad Request** This could be due to one of the following reasons: - JSON payload is missing or malformed - Path or query parameters are missing or invalid/malformed - The data sent is not valid (ex- sending a `string` in an `integer` field)
- `401` — **Unauthorized** This endpoint failed an authentication requirement. Either the client tried to access a protected endpoint without being authenticated, or an auth validation failed (ex- invalid credentials or expired token).
- `403` — **Forbidden** This is most commonly caused by an authenticated client trying to access a resource that it does not have permission for.
- `429` — **Too Many Requests** The client has sent too many requests within a certain time window and tripped the rate limiting middleware.
- `500` — **Internal Server Error** This is usually the result of either an unexpected database or application error. The client may try modifying or resending the request, but the error is likely not related to the client doing something wrong.

---

[API](https://skmtc.net/specterops/apis/bloodhound-api.md) · [All operations](https://skmtc.net/specterops/apis/bloodhound-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/specterops/bloodhound-api/versions/9e5dcb1a1b37/schema)
