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

# Get frame

> Look at a document: a still image of one moment of a version, rendered as it will play. Use it to check an edit. It's a render, so it costs credits the first time; the same frame again is free. Each frame is also saved as an asset in the workspace's renders/ folder.

MCP tool: [`get_frame`](/mcp/tools/documents#get_frame).



## OpenAPI

````yaml /api/openapi.json post /v1/documents/{document_id}/frames
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/documents/{document_id}/frames:
    post:
      tags:
        - Documents
      summary: Get frame
      description: >-
        Look at a document: a still image of one moment of a version, rendered
        as it will play. Use it to check an edit. It's a render, so it costs
        credits the first time; the same frame again is free. Each frame is also
        saved as an asset in the workspace's renders/ folder.


        MCP tool: [`get_frame`](/mcp/tools/documents#get_frame).
      operationId: get_frame
      parameters:
        - in: path
          name: document_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                alias:
                  description: >-
                    An alias, such as `latest`; `latest` when neither this nor
                    `version` is given.
                  type: string
                format:
                  anyOf:
                    - $ref: '#/components/schemas/ImageFormat'
                    - type: 'null'
                  description: '`jpg` (the default), `png` or `webp`.'
                height:
                  description: The image's height in pixels.
                  format: uint32
                  minimum: 0
                  type:
                    - integer
                    - 'null'
                time:
                  description: >-
                    The moment to show, in seconds from the start. It shows the
                    frame the moment falls in, and

                    a moment past the end shows the last frame.
                  format: double
                  type: number
                version:
                  description: A version, by number.
                  format: uint64
                  minimum: 0
                  type: integer
                width:
                  description: >-
                    The image's width in pixels; the video's when neither width
                    nor height is given. With

                    only one of them, the other follows the video's aspect
                    ratio; with both, the image is the

                    largest that fits in them.
                  format: uint32
                  minimum: 0
                  type:
                    - integer
                    - 'null'
              required:
                - time
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                asset: renders/frame-7c1e4b2a9d
                expires_at: '2026-12-04T10:15:00Z'
                format: jpg
                height: 1080
                time: 4.5
                url: >-
                  https://media.rendermate.com/ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30/renders/frame-7c1e4b2a9d.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261203T101500Z&X-Amz-Expires=86400&X-Amz-Signature=5d1f…
                version: 12
                width: 1920
              schema:
                properties:
                  asset:
                    description: >-
                      The asset it's saved as, in the workspace's `renders/`
                      folder.
                    type: string
                  expires_at:
                    description: RFC 3339.
                    type: string
                  format:
                    $ref: '#/components/schemas/ImageFormat'
                  height:
                    description: The image's height, in pixels.
                    format: uint32
                    minimum: 0
                    type: integer
                  time:
                    description: When the frame it shows starts, in seconds.
                    format: double
                    type: number
                  url:
                    description: >-
                      The image, signed: it downloads without an API key until
                      `expires_at`.
                    type: string
                  version:
                    description: The version it shows.
                    format: uint64
                    minimum: 0
                    type: integer
                  width:
                    description: The image's width, in pixels.
                    format: uint32
                    minimum: 0
                    type: integer
                required:
                  - version
                  - time
                  - width
                  - height
                  - format
                  - url
                  - expires_at
                  - asset
                type: object
          description: OK
        '400':
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      doc_url: https://rendermate.com/docs/errors#invalid_request
                      message: times are a number of seconds, 0 or more
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `invalid_request`: times are a number of seconds, 0 or more'
        '401':
          content:
            application/json:
              examples:
                unauthorized:
                  summary: unauthorized
                  value:
                    error:
                      code: unauthorized
                      doc_url: https://rendermate.com/docs/errors#unauthorized
                      message: 'provide a valid API key: Authorization: Bearer sk_…'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `unauthorized`: provide a valid API key: Authorization: Bearer
            sk_…
        '402':
          content:
            application/json:
              examples:
                credits.empty:
                  summary: credits.empty
                  value:
                    error:
                      code: credits.empty
                      doc_url: https://rendermate.com/docs/errors#credits.empty
                      message: >-
                        your organization's credit balance is empty: add credits
                        in the dashboard, under billing, or turn on auto-refill
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `credits.empty`: your organization's credit balance is empty: add
            credits in the dashboard, under billing, or turn on auto-refill
        '403':
          content:
            application/json:
              examples:
                key_without_workspace:
                  summary: key_without_workspace
                  value:
                    error:
                      code: key_without_workspace
                      doc_url: https://rendermate.com/docs/errors#key_without_workspace
                      message: >-
                        this API key has no workspace: create a key in the
                        dashboard, under api keys in the workspace it should act
                        in
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `key_without_workspace`: this API key has no workspace: create a
            key in the dashboard, under api keys in the workspace it should act
            in
        '404':
          content:
            application/json:
              examples:
                alias.not_found:
                  summary: alias.not_found
                  value:
                    error:
                      code: alias.not_found
                      doc_url: https://rendermate.com/docs/errors#alias.not_found
                      message: the document has no alias approved
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                document.not_found:
                  summary: document.not_found
                  value:
                    error:
                      code: document.not_found
                      doc_url: https://rendermate.com/docs/errors#document.not_found
                      message: no such document
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                version.not_found:
                  summary: version.not_found
                  value:
                    error:
                      code: version.not_found
                      doc_url: https://rendermate.com/docs/errors#version.not_found
                      message: 'no version 14: the newest is 12'
                      newest_version: 12
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: |-
            - `document.not_found`: no such document
            - `version.not_found`: no version 14: the newest is 12
            - `alias.not_found`: the document has no alias approved
        '408':
          content:
            application/json:
              examples:
                frame.rendering:
                  summary: frame.rendering
                  value:
                    error:
                      code: frame.rendering
                      doc_url: https://rendermate.com/docs/errors#frame.rendering
                      message: 'the frame is still rendering: ask again in a few seconds'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `frame.rendering`: the frame is still rendering: ask again in a
            few seconds
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
        '503':
          content:
            application/json:
              examples:
                credits.unavailable:
                  summary: credits.unavailable
                  value:
                    error:
                      code: credits.unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: >-
                        your credit balance can't be checked right now: try
                        again shortly
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                media.unavailable:
                  summary: media.unavailable
                  value:
                    error:
                      code: media.unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: this deployment has no media bucket yet
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                preview.unavailable:
                  summary: preview.unavailable
                  value:
                    error:
                      code: preview.unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: previews aren't available on this api yet
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                temporal_unavailable:
                  summary: temporal_unavailable
                  value:
                    error:
                      code: temporal_unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: >-
                        renders and exports are unavailable right now; try again
                        shortly
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `preview.unavailable`: previews aren't available on this api yet

            - `media.unavailable`: this deployment has no media bucket yet

            - `temporal_unavailable`: renders and exports are unavailable right
            now; try again shortly

            - `credits.unavailable`: your credit balance can't be checked right
            now: try again shortly
components:
  schemas:
    ImageFormat:
      description: How an image is encoded.
      enum:
        - jpg
        - png
        - webp
      type: string
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.