---
title: "Create a 48-hour static preview"
method: POST
path: "/v1/previews"
---

# Create a 48-hour static preview

`POST /v1/previews`

## Request

- Base URL: `https://api.aifra.ru`
- URL: `https://api.aifra.ru/v1/previews`
- Auth: none declared. Required headers: `X-AI-Deploy-Accept-Terms`, `X-AI-Deploy-Anonymous-ID`, `X-AI-Deploy-Source`, `X-AI-Deploy-Client-Name`, `X-AI-Deploy-Client-Version`

## Headers

- `X-AI-Deploy-Accept-Terms` 'true', required
- `X-AI-Deploy-Anonymous-ID` string, required
- `X-AI-Deploy-Source` 'codex' | 'chatgpt' | 'claude-code' | 'cursor' | 'github' | 'mcp-registry' | 'yandex-organic' | 'preview' | 'google-organic' | 'telegram' | 'habr' | 'vc' | 'direct' | 'unknown', required
- `X-AI-Deploy-Client-Name` string, required
- `X-AI-Deploy-Client-Version` string, required

## Response `201`

Preview created; management token is returned once

## Other responses

- `400`: Terms not accepted or client metadata invalid
- `413`: Compressed or extracted limit exceeded
- `422`: Archive or static-content validation failed
- `429`: Slot, byte or rate limit reached
- `503`: Public beta disabled or operational kill switch active

---

[API](https://skmtc.dev/aifra/apis/aifra-preview-api.md) · [All operations](https://skmtc.dev/aifra/apis/aifra-preview-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aifra/apis/aifra-preview-api/revisions/276597d5361a?raw)
