---
title: "list_domains"
method: GET
path: "/v1/domains"
tags: ["domains"]
---

# list_domains

`GET /v1/domains`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/domains`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/domains/get.ts> (a function with typed inputs; its response is checked against the schema)

List every domain visible to the caller. Cost class: cacheable.

Returns the platform-owned domains (``generic`` and the curated verticals,
all published and selectable) and the calling tenant's own rows.

## Query parameters

- `owner` 'platform' | 'tenant', nullable: Filter by ownership: `platform` (standard) or `tenant` (yours).
- `status` 'draft' | 'published', nullable: Filter by lifecycle status.
- `cursor` string, nullable: Opaque cursor from a previous page's `next_cursor`. Omit for the first page.
- `limit` integer: Rows per page.

## Response `200`

Successful Response

- PageDomainSummary
  - `items` DomainSummary[], required: This page's rows, in the list's order.
    - `class_count` integer, required
    - `display_name` string, required
    - `domain_id` string, uuid, required
    - `owner` 'platform' | 'tenant', required
    - `parent_slug` string, nullable: Inheritance lineage for platform domains that extend a base vocabulary.
    - `selectable` boolean, required: True once published; a workspace may only pin a published version.
    - `slug` string, required
    - `status` 'draft' | 'published', required
    - `version` integer, required
  - `next_cursor` string, nullable: Opaque; null means the last page.
  - `total_count` integer, required: Exact, and filtered by the caller's access predicate.

## Other responses

- `504`: Gateway Timeout
- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/d002a3589a67?raw)
