---
title: "List group categories in a published path's visibility"
method: GET
path: "/v2/published-paths/{id}/relationships/category-visibility/"
tags: ["Published Paths"]
---

# List group categories in a published path's visibility

`GET /v2/published-paths/{id}/relationships/category-visibility/`

## Request

- Base URL: `https://api.skilljar.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.skilljar.com/v2/published-paths/{id}/relationships/category-visibility/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/skilljar/apis/skilljar-api-v2/docs/v2/published-paths/:id/relationships/category-visibility/get.ts> (a function with typed inputs; its response is checked against the schema)

List the group categories that apply to the published path.

**Required OAuth scope:** `paths:read`

## Path parameters

- `id` string, required

## Query parameters

- `page[size]` integer: Maximum number of records to return. Values above 100 are served as 100; values below 1 are served as 1.
- `page[cursor]` string, nullable: Opaque cursor from the previous page's links.next.

## Response `200`

OK

- CategoryVisibilityListResponse: Paginated list of the group categories in a path's visibility.
  - `data` GroupCategoryIdentifier[], required: The resources on this page, in cursor order.
    - `id` string, required
    - `type` 'group-categories', required
  - `meta` object, nullable: Pagination metadata, e.g. {"page_size": 25}.
  - `links` PaginationLinks: JSON:API §Links object for a paginated collection. Typed rather than a free-form ``dict`` so ``next`` reaches the generated OpenAPI/SDK/MCP contract. Since GE-256227 removed the top-level ``next_cursor``, ``links.next`` is the only pagination affordance a machine consumer has — an untyped ``dict`` would leave it undiscoverable.
    - `self` string, nullable: Path of the current request, relative and without its query string (so every page of a filtered collection reports the same value).
    - `next` string, nullable: Relative path of the next page, ready to request as-is. Carries ``page[cursor]`` plus every non-cursor query param from the current request (``page[size]``, ``filter[*]``, ``include``). Null on the last page.
    - `prev` string, nullable: Relative path of the previous page. Not implemented — currently always null.
  - `included` object[], nullable: Related resources requested via ?include=. Absent when no include was requested.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `406`: Not Acceptable: Accept rules out application/vnd.api+json.
- `422`: Unprocessable Entity

## Changes

- **2026-10-21** `ef632566f7f1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/skilljar/apis/skilljar-api-v2/changes/v2/published-paths/:id/relationships/category-visibility/get.md)

---

[API](https://skmtc.dev/skilljar/apis/skilljar-api-v2.md) - [All operations](https://skmtc.dev/skilljar/apis/skilljar-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/skilljar/apis/skilljar-api-v2/revisions/fbda30ce1742?raw)
