Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: AIfra preview Health API
version: 0.5.0-stage5
description: SaaS for prebuilt static ZIP previews with server-enforced 48-hour expiry. Availability is announced on the platform website. Production uses isolated per-preview origins; the server never builds or executes user code.
servers:
- url: '{apiOrigin}'
variables:
apiOrigin:
default: https://api.aifra.ru
tags:
- name: Health
paths:
/v1/health:
get:
responses:
'200':
description: Process is alive
tags:
- Health
summary: Get health
x-summary-source: derived
operationId: getV1Health
x-operation-id-source: derived
components:
securitySchemes:
managementToken:
type: http
scheme: bearer
bearerFormat: pmt_*
x-legal:
terms_path: /legal/terms/
privacy_path: /legal/privacy/
retention_path: /legal/retention/
abuse_path: /abuse/
path_origin: SITE_ORIGIN (platform website, not API or user-content origin)
terms_version: 2026-09-23-v3
acceptance: Explicit accept_terms on create/update; not personal-data consent
activation: TERMS_VERSION must match the reviewed document before public beta
x-technical-retention:
version: 2026-09-23-v3
remoteApprovalSeconds: 7200
remoteReceiptSeconds: 3600
rateLimitHours: 25
lifecycleDays: 30
adminAuditDays: 90
backupMaxHours: 48
supportAfterResolutionDays: 30
abuseAfterResolutionDays: 90
x-agent-workflow:
documentation_path: /docs/agent/
path_origin: SITE_ORIGIN, not the API or preview origin
input: Prebuilt browser-only static ZIP with index.html at archive root
acceptance: Obtain explicit terms acceptance before create/update
output: Return viewer url and expires_at; keep manage_token in private local state
retries: Do not blindly retry POST after an uncertain network result; creation has no idempotency key
discovery: Instruction files aid use; no unaided model selection rate is claimed
unavailable:
- server-side builds
- user backend execution
x-preview-constraints:
ttlHours: 48
activePreviewsPerIp: 3
uploadBytes: 52428800
extractedBytes: 52428800
activeBytesPerIp: 157286400
staticOnly: true
updateExtendsExpiry: false
x-remote-mcp:
endpoint: https://api.aifra.ru/mcp
publication: browser_confirmation_required
approval_ttl_seconds: 7200
receipt_retention_seconds: 3600
receipt_retention_starts: completion_or_approval_expiry
named_links: Optional browser-selected name on create; never reissued; random isolated asset origin is unchanged
management: Private browser key; never an MCP parameter or result