---
title: "List the font families a style profile may use"
---

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

# List the font families a style profile may use

Path: CloudRaker Workspace API › Style profiles

`GET /style-profiles/fonts`

The renderer’s own curated allowlist, relayed live from `typst-render` — never a copy. A family absent from this list fails a render, so a font picker reads this route and a profile naming anything else is refused at the write. Authorization: any member.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/style-profiles/fonts \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/style-profiles/fonts';
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://api.cloudraker.com/style-profiles/fonts"

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

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

print(response.text)
```

## Responses

### 200

The families and the engine defaults.

#### Example

```json
{
  "data": {
    "fonts": [
      {
        "family": "string",
        "kind": "string"
      }
    ],
    "defaults": {
      "property1": "string",
      "property2": "string"
    }
  }
}
```

- `data` (`listStyleProfileFonts.response.200.data`; object, required)
  - `fonts` (`listStyleProfileFonts.response.200.data.fonts`; array<object>, required)
    - `family` (`listStyleProfileFonts.response.200.data.fonts.family`; string, required)
    - `kind` (`listStyleProfileFonts.response.200.data.fonts.kind`; string, required)
  - `defaults` (`listStyleProfileFonts.response.200.data.defaults`; map<string>, required)


Source: https://docs.cloudraker.com/workspace/api/style-profiles/list-style-profile-fonts/index.md
