---
title: "Returns the specified topic from the defined workspace."
method: GET
path: "/workspaces/{workspace_id}/topics/{topic_id}"
tags: ["topics"]
---

# Returns the specified topic from the defined workspace.

`GET /workspaces/{workspace_id}/topics/{topic_id}`

You need `workspaces.topic.get` permission to access this resource

## Path parameters

- `workspace_id` string, required
- `topic_id` string, required

## Response `200`

OK

- object
  - `data` object, required
    - `id` string, required
    - `type` 'topic', required — Allowed value: `topic`
    - `links` object, required
      - `self` string, required
    - `attributes` object, required
      - `name` string, required — Name of the topic
      - `schema` object, required — JSON schema describing the objects to be exchanged
    - `relationships` object, required
      - `workspace` object, required
        - `data` object, required
          - `id` string, required
          - `type` 'workspace', required
        - `links` object, required
          - `self` string, required
      - `user` object, required
        - `data` object, required
          - `id` string, required
          - `type` 'user', required
        - `links` object, required
          - `self` string, required
  - `meta` object, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
