---
title: "Preview a generation in both appearances"
description: "Renders the diagram as it is now in each appearance, with that theme's grounds, without saving; costs no credit."
---

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

Path: svgdiagram API › Generations

`GET /rest/v1/generations/{id}/appearances`

Renders the diagram as it is now in each appearance, with that theme's grounds, without saving; costs no credit.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `getRestV1GenerationsByIdAppearances.path.id` (string, required)

## Code samples

### cURL

```curl
curl --request GET \
  --url 'https://svgdiagram.ai/rest/v1/generations/<id>/appearances' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://svgdiagram.ai/rest/v1/generations/<id>/appearances';
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://svgdiagram.ai/rest/v1/generations/<id>/appearances"

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

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

print(response.text)
```

## Responses

### 200

Appearance previews

#### Example

```json
{}
```

### 404

Generation not found

#### Example

```json
{}
```


Source: https://docs.svgdiagram.ai/api/Generations/getRestV1GenerationsByIdAppearances/index.md
