---
title: "List skill categories"
description: "Distinct categories across the skills visible to the caller."
---

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

Path: AI Gateway API › Skills

`GET /skills/categories`

Distinct categories across the skills visible to the caller.

## Authentication

- `HTTPBearer`, http, header `Authorization`

## Query parameters

- `app_id` (`list_skill_categories.query.app_id`; any of, optional) — App scope: rows for this app plus global rows. None = no filter.
  - any of: `string`, `null`

## Header parameters

- `X-On-Behalf-Of` (`list_skill_categories.header.X-On-Behalf-Of`; any of, optional)
  - any of: `string`, `null`
- `X-External-User-Id` (`list_skill_categories.header.X-External-User-Id`; any of, optional)
  - any of: `string`, `null`
- `X-App-Id` (`list_skill_categories.header.X-App-Id`; any of, optional)
  - any of: `string`, `null`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://truememory-api.mvstg.com/skills/categories \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://truememory-api.mvstg.com/skills/categories';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-api.mvstg.com/skills/categories"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "categories": [
    "string"
  ]
}
```

- `categories` (`list_skill_categories.response.200.categories`; array<string>, required) — Distinct non-null categories, sorted alphabetically.

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`list_skill_categories.response.422.detail`; array<object>, optional)
  - `loc` (`list_skill_categories.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`list_skill_categories.response.422.detail.msg`; string, required)
  - `type` (`list_skill_categories.response.422.detail.type`; string, required)
  - `input` (`list_skill_categories.response.422.detail.input`; unknown, optional)
  - `ctx` (`list_skill_categories.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/api/skills/categories/index.md
