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

# Start recording

> Start recording a ready sandbox's screen, and its audio unless audio is false. Its files upload as assets while it records, in a folder of its own in the sandbox's folder. Stop it with stop_recording; stopping the sandbox stops it too.

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



## OpenAPI

````yaml /api/openapi.json post /v1/sandboxes/{sandbox_id}/recordings
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}/recordings:
    post:
      tags:
        - Sandboxes
      summary: Start recording
      description: >-
        Start recording a ready sandbox's screen, and its audio unless audio is
        false. Its files upload as assets while it records, in a folder of its
        own in the sandbox's folder. Stop it with stop_recording; stopping the
        sandbox stops it too.


        MCP tool: [`start_recording`](/mcp/tools/sandboxes#start_recording).
      operationId: start_recording
      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:
                audio:
                  default: null
                  description: >-
                    Record the browser's audio too, as its own file; true when
                    absent.
                  type:
                    - boolean
                    - 'null'
                name:
                  default: null
                  description: >-
                    The folder in the sandbox's folder its files go in, such as
                    `checkout-flow`; the

                    recording's ID when absent.
                  type:
                    - string
                    - 'null'
              required: []
              type: object
        required: false
      responses:
        '201':
          content:
            application/json:
              example:
                assets:
                  - content_type: video/mp4
                    created_at: '2026-12-03T10:16:42Z'
                    created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                    name: >-
                      sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/checkout-flow/screen.mp4
                    project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                    sha256: >-
                      9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e
                    size: 18204311
                    updated_at: '2026-12-03T10:16:42Z'
                  - content_type: audio/mp4
                    created_at: '2026-12-03T10:16:42Z'
                    created_by: api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W
                    name: >-
                      sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/checkout-flow/system-audio.m4a
                    project_id: prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V
                    sha256: >-
                      9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e
                    size: 1604118
                    updated_at: '2026-12-03T10:16:42Z'
                created_at: '2026-12-03T10:15:00Z'
                folder: sandboxes/sbx_01JF3RD2F4H6K8M0P2R4T6V8X0/checkout-flow/
                id: rec_01JF3RF6H8K0M2P4R6T8V0X2Z4
                sandbox_id: sbx_01JF3RD2F4H6K8M0P2R4T6V8X0
                state: done
                stopped_at: '2026-12-03T10:16:42Z'
              schema:
                properties:
                  assets:
                    description: >-
                      Its files, once it's done: the screen's video
                      (`screen.mp4`, or `screen.mkv` from a GPU

                      capture), and the browser's audio (`system-audio.m4a`)
                      when it records audio.
                    items:
                      $ref: '#/components/schemas/AssetView'
                    type: array
                  created_at:
                    description: RFC 3339.
                    type: string
                  error:
                    description: Why it failed, or why a file of it is missing.
                    type:
                      - string
                      - 'null'
                  folder:
                    description: The folder its files go in.
                    type: string
                  id:
                    description: '`rec_…`.'
                    type: string
                  sandbox_id:
                    description: The sandbox it records.
                    type: string
                  state:
                    description: '`recording`, `done` or `failed`.'
                    type: string
                  stopped_at:
                    description: RFC 3339.
                    type:
                      - string
                      - 'null'
                required:
                  - id
                  - sandbox_id
                  - folder
                  - state
                  - assets
                  - created_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.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
        '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:
    AssetView:
      description: An asset as the api shows it.
      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
    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.