---
title: "Get topics for an owner and optional resource"
method: GET
path: "/topics/{owner}"
tags: ["topics and comments - resource"]
---

# Get topics for an owner and optional resource

`GET /topics/{owner}`

Retrieve open and discoverable topics associated with a specific owner. If an optional resource is provided in the query parameter, this will retrieve topics for the resource that is owned by the owner. To reference a dataset insight, both `datasetId` and `insightUuid` should be provided. To reference a metadata resource, `iri` should be provided."

## Path parameters

- `owner` string, required

## Query parameters

- `datasetId` string
- `insightUuid` string
- `iri` string
- `size` integer
- `from` integer
- `sort` string[]

## Response `200`

default response

- PaginatedGenericResultsPublicTopicDto
  - `consistent` boolean
  - `count` integer
  - `hydrations` PubSearchHydrations
    - `agents` object
    - `catalogConcepts` object
    - `collections` object
    - `properties` object
    - `relationships` object
    - `resourceHierarchy` object
  - `next` string
  - `records` PublicTopicDto[]
    - `defaultTopic` boolean — True if this is the default topic for the specified resource. There should only be 1 topic with this field set per resource. Must be provided while creating a topic only.
    - `resource` PublicResource
      - `owner` string, required — ID of an organization that owns the resource
      - `type` 'ANALYSIS' | 'CATALOG' | 'COLUMN' | 'DATABASE' | 'DATASET' | 'DATASET_INSIGHT' | 'GLOSSARY' | 'GROUP' | 'METADATA_RESOURCE' | 'TABLE', required
    - `title` string
    - `topicId` string — Short friendly form of a topic id that uniquely identifies the topic within a resource.
    - `topicSlug` string — Short friendly form of a topic title.
    - `topicUuid` string, uuid — Unique id of the topic generated while create new one. Returned for reference but must be provided through URL only.
    - `visibility` 'DISCOVERABLE' | 'OPEN' | 'PRIVATE' — Topic visibility. The field is required.

---

[API](https://skmtc.net/data/apis/data-world-public-api.md) · [All operations](https://skmtc.net/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/data/data-world-public-api/versions/0a0cb1f94dad/schema)
