Skip to main content
GET
/
categories
List categories
curl --request GET \
  --url https://apigcp.trynia.ai/v2/categories \
  --header 'Authorization: Bearer <token>'
{
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true
  },
  "total": 123,
  "items": [
    {}
  ],
  "categories": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.trynia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Query Parameters

limit
integer
default:50

Number of categories to return

Required range: 1 <= x <= 200
offset
integer
default:0

Number of categories to skip

Required range: x >= 0

Response

Successful Response

Backwards-compatible category list response.

pagination
PaginationInfo · object
required

Pagination metadata

total
integer
required

Legacy total count

items
Items · object[]

List of categories

categories
Categories · object[]

Legacy categories list