---
title: "Read a category"
method: GET
path: "/category/{id}"
tags: ["Category"]
---

# Read a category

`GET /category/{id}`

Read a provider category by ID. Use the **include** query parameter to retrieve related resources.

## Path parameters

- `id` string, uuid, required — Unique identifier for the entity represented as a UUID

## Query parameters

- `include` string[]

## Response `2XX`

Object representing a category resource

- object — Object representing a category resource
  - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
  - `name` string, required — Name of the category
  - `slug` string, required — Unique slug for the category
  - `icon` string — Icon for the category
  - `description` string — Description of the category
  - `parent_id` string, uuid — Unique identifier for the entity represented as a UUID
  - `category_type_id` string, uuid, required — Unique identifier for the entity represented as a UUID
  - `category_type` object — Category type of the category
    - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
    - `name` string, required — Name of the category type
    - `slug` string, required — Unique slug for the category type
    - `description` string — Description of the category type
  - `parent` Def24 — Object representing a category resource
    - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
    - `name` string, required — Name of the category
    - `slug` string, required — Unique slug for the category
    - `icon` string — Icon for the category
    - `description` string — Description of the category
    - `parent_id` string, uuid — Unique identifier for the entity represented as a UUID
    - `category_type_id` string, uuid, required — Unique identifier for the entity represented as a UUID
    - `category_type` object — Category type of the category
      - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
      - `name` string, required — Name of the category type
      - `slug` string, required — Unique slug for the category type
      - `description` string — Description of the category type
    - `parent` Def24 — recursive
    - `sub_categories` Def24[] — Sub categories of the category
    - `created_at` string, date-time, required — Creation timestamp
    - `updated_at` string, date-time, required — Last update timestamp
  - `sub_categories` Def24[] — Sub categories of the category
    - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
    - `name` string, required — Name of the category
    - `slug` string, required — Unique slug for the category
    - `icon` string — Icon for the category
    - `description` string — Description of the category
    - `parent_id` string, uuid — Unique identifier for the entity represented as a UUID
    - `category_type_id` string, uuid, required — Unique identifier for the entity represented as a UUID
    - `category_type` object — Category type of the category
      - `id` string, uuid, required — Unique identifier for the entity represented as a UUID
      - `name` string, required — Name of the category type
      - `slug` string, required — Unique slug for the category type
      - `description` string — Description of the category type
    - `parent` Def24 — recursive
    - `sub_categories` Def24[] — Sub categories of the category
    - `created_at` string, date-time, required — Creation timestamp
    - `updated_at` string, date-time, required — Last update timestamp
  - `created_at` string, date-time, required — Creation timestamp
  - `updated_at` string, date-time, required — Last update timestamp

## Other responses

- `4XX` — Format for representing errors during API interactions
- `5XX` — Format for representing errors during API interactions

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) · [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nullplatform/nullplatform-api/revisions/1c4ea154b159/schema)
