> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sacra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_category_items - MCP

> List the companies and documents in a category

Returns the companies and documents in a category as one mixed list.

> [!NOTE]
>
> Calls [`GET /api/v1/categories/{category_slug}/items/`](https://docs.sacra.com/api-reference/categories/list-items-in-a-category) with your credential and returns its JSON response as text.

## Parameters

**category\_slug** `string` *required*

Category slug, such as `ai-models`.

**limit** `integer` (default: 20)

Maximum items to return. Max 100.

**offset** `integer` (default: 0)

Number of items to skip.

## Response

**category** `object`

The category: `id`, `name`, and `slug`.

**items** `object[]`

Companies and documents. Each item has `type` set to `company` or `document`.

**pagination** `object`

`limit`, `offset`, `total`, and `next_offset`.

```json tools/call theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_category_items",
    "arguments": {
      "category_slug": "ai-models",
      "limit": 20
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.