---
title: "List categories"
method: GET
path: "/categories"
tags: ["Categories"]
---

# List categories

`GET /categories`

List categories for the authenticated user/organization.

## Query parameters

- `limit` integer — Number of categories to return
- `offset` integer — Number of categories to skip

## Response `200`

Successful Response

- CategoryListCompatResponse — Backwards-compatible category list response.
  - `items` object[] — List of categories
  - `pagination` PaginationInfo, required — Pagination metadata.
    - `total` integer, required — Total number of items
    - `limit` integer, required — Items per page
    - `offset` integer, required — Current offset
    - `has_more` boolean, required — Whether more items exist
  - `categories` object[] — Legacy categories list
  - `total` integer, required — Legacy total count

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/trynia/apis/nia-ai-api.md) · [All operations](https://skmtc.net/trynia/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trynia/nia-ai-api/versions/d216ffc3efb6/schema)
