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

# Render/export a saved record



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/dev/records/{recordId}/render
openapi: 3.0.0
info:
  title: Autype Developer API
  description: >-
    Autype Developer API for programmatic document generation.


    ## Authentication

    Use an API key in `X-API-Key`. Autype's trusted MCP service may instead use
    a short-lived, Developer-API-audience OAuth token obtained through
    server-side token exchange. Raw MCP resource tokens, login JWTs, and
    third-party tokens are not accepted.


    ## Rate Limiting

    API requests are rate-limited to 100 requests per minute per API key.


    ## Automation Credits

    Developer API rendering and bulk operations consume automation credits from
    your organization. AI documents, assistant tasks, translations, and AI
    images use separate plan allowances.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.autype.com
    description: Production
security: []
tags:
  - name: Temporary Images
    description: Upload and manage temporary images for document rendering
  - name: Render
    description: Render documents to PDF, DOCX, ODT, or page images
  - name: Bulk Render
    description: Bulk document generation with variable substitution
  - name: Documents
    description: Document variable inspection
  - name: Projects
    description: List organization projects
paths:
  /api/v1/dev/records/{recordId}/render:
    post:
      tags:
        - developer-api
      summary: Render/export a saved record
      operationId: DeveloperFilloutsController_render[0]_v1
      parameters:
        - name: recordId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenderDocumentFilloutDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RenderDocumentFilloutResponseDto'
      security:
        - mcp-oauth: []
        - api-key: []
components:
  schemas:
    RenderDocumentFilloutDto:
      type: object
      properties:
        format:
          type: string
          enum:
            - PDF
            - DOCX
            - ODT
          default: PDF
          description: Output format for this record export.
        variables:
          type: object
          description: >-
            One-off variable overrides for this render. They are merged on top
            of the saved record values and stored on the export snapshot, not on
            the record.
    RenderDocumentFilloutResponseDto:
      type: object
      properties:
        record:
          $ref: '#/components/schemas/DocumentFilloutDto'
        fillout:
          description: Deprecated compatibility alias for record.
          allOf:
            - $ref: '#/components/schemas/DocumentFilloutDto'
        exportJobId:
          type: string
        statusUrl:
          type: string
      required:
        - record
        - exportJobId
        - statusUrl
    DocumentFilloutDto:
      type: object
      properties:
        id:
          type: string
        orgId:
          type: string
        documentId:
          type: string
        documentVersionId:
          type: object
        label:
          type: string
        status:
          type: string
          enum:
            - DRAFT
            - READY
            - ARCHIVED
        variableValues:
          type: object
        sourceUploads:
          type: array
          items:
            type: object
        metadata:
          type: object
        createdByUserId:
          type: object
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        exports:
          type: array
          items:
            $ref: '#/components/schemas/DocumentFilloutExportDto'
      required:
        - id
        - orgId
        - documentId
        - label
        - status
        - variableValues
        - sourceUploads
        - metadata
        - createdAt
        - updatedAt
    DocumentFilloutExportDto:
      type: object
      properties:
        id:
          type: string
        format:
          type: string
          enum:
            - PDF
            - DOCX
            - ODT
        outputAssetId:
          type: object
        documentVersionId:
          type: object
        variableValuesSnapshot:
          type: object
        metadata:
          type: object
        createdAt:
          format: date-time
          type: string
      required:
        - id
        - format
        - variableValuesSnapshot
        - metadata
        - createdAt
  securitySchemes:
    mcp-oauth:
      scheme: bearer
      bearerFormat: Autype Developer API OAuth token
      type: http
      description: >-
        Short-lived, Developer-API-audience token obtained by the trusted MCP
        service through token exchange (mcp_at_...). Raw MCP resource tokens are
        rejected.
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key (starts with ak_...)

````