Light Logo
Model categories

List model categories

Retrieve a paginated list of model categories.

GET
/model_categories
AuthorizationBearer <token>

In: header

Query Parameters

cursor?Cursor

The starting point to fetch the next set of items.

page_size?Page Size

The number of results per page.

Default25
Range5 <= value <= 50

Response Body

curl -X GET "https://api.wrift.ai/v1/model_categories?cursor=string&page_size=25"
{
  "items": [
    {
      "name": "string",
      "slug": "string",
      "description": "string"
    }
  ],
  "next_cursor": "string",
  "previous_cursor": "string",
  "next_url": "http://example.com",
  "previous_url": "http://example.com"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}