> ## 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.

# Take screenshot

> Take a screenshot of a ready sandbox's focused tab, and see it. It's saved as an asset in the sandbox's folder (under screenshots/ unless name says otherwise), so a document can use it.

MCP tool: [`take_screenshot`](/mcp/tools/sandboxes#take_screenshot).



## OpenAPI

````yaml /api/openapi.json post /v1/sandboxes/{sandbox_id}/screenshots
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: Sandboxes
  - name: Help
paths:
  /v1/sandboxes/{sandbox_id}/screenshots:
    post:
      tags:
        - Sandboxes
      summary: Take screenshot
      description: >-
        Take a screenshot of a ready sandbox's focused tab, and see it. It's
        saved as an asset in the sandbox's folder (under screenshots/ unless
        name says otherwise), so a document can use it.


        MCP tool: [`take_screenshot`](/mcp/tools/sandboxes#take_screenshot).
      operationId: take_screenshot
      parameters:
        - description: The sandbox, `sbx_…`.
          in: path
          name: sandbox_id
          required: true
          schema:
            description: The sandbox, `sbx_…`.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                format:
                  anyOf:
                    - $ref: '#/components/schemas/Format'
                    - type: 'null'
                  default: null
                  description: '`png`, `jpeg` or `webp`; `png` when absent.'
                full_page:
                  default: false
                  description: The whole page rather than only what's in view.
                  type: boolean
                name:
                  default: null
                  description: >-
                    Its name in the sandbox's folder, such as `checkout.png`;
                    `screenshots/<time>.<format>`

                    when absent.
                  type:
                    - string
                    - 'null'
              required: []
              type: object
        required: false
      responses:
        '201':
          content:
            application/json:
              example:
                content_type: video/mp4
                created_at: '2026-12-03T10:15:00Z'
                created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                download_url: >-
                  https://media.rendermate.com/ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30/assets/9f2c4e1a7b3d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261203T101500Z&X-Amz-Expires=86400&X-Amz-Signature=5d1f…
                name: launch/intro.mp4
                project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                sha256: >-
                  9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e
                size: 48211877
                updated_at: '2026-12-03T10:15:00Z'
              schema:
                properties:
                  content_type:
                    description: Its media type, such as `video/mp4`.
                    type: string
                  created_at:
                    description: RFC 3339.
                    type: string
                  created_by:
                    description: The API key or member that recorded it.
                    type: string
                  download_url:
                    description: >-
                      A short-lived URL that downloads it, on a single asset's
                      read.
                    type:
                      - string
                      - 'null'
                  name:
                    description: Its path in the workspace, such as `launch/intro.mp4`.
                    type: string
                  project_id:
                    description: The project it's in.
                    type: string
                  sha256:
                    description: Its content's SHA-256, lowercase hex.
                    type: string
                  size:
                    description: Bytes.
                    format: uint64
                    minimum: 0
                    type: integer
                  source:
                    description: What it was made from; absent for an upload.
                  updated_at:
                    description: RFC 3339.
                    type: string
                required:
                  - name
                  - sha256
                  - size
                  - content_type
                  - project_id
                  - created_by
                  - created_at
                  - updated_at
                type: object
          description: Created
        '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_…
        '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:
                sandbox.not_found:
                  summary: sandbox.not_found
                  value:
                    error:
                      code: sandbox.not_found
                      doc_url: https://rendermate.com/docs/errors#sandbox.not_found
                      message: no sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `sandbox.not_found`: no sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0'
        '409':
          content:
            application/json:
              examples:
                sandbox.browser_error:
                  summary: sandbox.browser_error
                  value:
                    error:
                      code: sandbox.browser_error
                      doc_url: https://rendermate.com/docs/errors#sandbox.browser_error
                      message: 'the browser couldn''t do it: the browser has no tab open'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                sandbox.not_ready:
                  summary: sandbox.not_ready
                  value:
                    error:
                      code: sandbox.not_ready
                      doc_url: https://rendermate.com/docs/errors#sandbox.not_ready
                      message: >-
                        sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0 is still
                        starting: get it with wait until it's ready
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
                sandbox.stopped:
                  summary: sandbox.stopped
                  value:
                    error:
                      code: sandbox.stopped
                      doc_url: https://rendermate.com/docs/errors#sandbox.stopped
                      message: >-
                        sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0 has stopped:
                        start another
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            - `sandbox.not_ready`: sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0 is
            still starting: get it with wait until it's ready

            - `sandbox.stopped`: sandbox sbx_01JF3RD2F4H6K8M0P2R4T6V8X0 has
            stopped: start another

            - `sandbox.browser_error`: the browser couldn't do it: the browser
            has no tab open
        '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:
                sandboxes.unavailable:
                  summary: sandboxes.unavailable
                  value:
                    error:
                      code: sandboxes.unavailable
                      doc_url: https://rendermate.com/docs/errors#unavailable
                      message: sandboxes aren't available here
                      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: >-
            - `sandboxes.unavailable`: sandboxes aren't available here

            - `temporal_unavailable`: renders and exports are unavailable right
            now; try again shortly
components:
  schemas:
    Format:
      description: An image format.
      enum:
        - png
        - jpeg
        - 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.