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

# Apply

> Apply a set's row to the scene.



## OpenAPI

````yaml /scene-manager-3/api-reference/openapi.json post /variations/apply
openapi: 3.1.0
info:
  title: Scene Manager
  version: 3.0.0
  description: >-
    Scene Manager's local API, on the computer it runs on. Every call needs a
    Scene Manager licence on this computer.
servers:
  - url: http://127.0.0.1:45710/api/v1
    description: Scene Manager on this computer
security: []
tags:
  - name: Service
    description: Whether Scene Manager is running and connected to an app.
  - name: Setups
    description: 'Saved states of the scene: list, make, change, activate.'
  - name: Folders
    description: Folders of setups. A folder's values pass down to its setups.
  - name: Modules
    description: The parts of a setup (Camera, Output, Lights…) and the properties in them.
  - name: Rendering
    description: Batch render setups, follow the progress, stop.
  - name: Variations
    description: Sets of options rendered in every combination.
  - name: Comments
    description: Comments pinned on shots of the scene, for people and agents.
  - name: Shots
    description: Viewport and frame buffer captures that comments are pinned on.
  - name: Scene
    description: >-
      The open scene itself: its objects, materials, properties, selection and
      scripts.
  - name: Document
    description: Scene Manager's whole document in the open scene, and 2.x import.
  - name: Settings
    description: This person's settings on this computer.
  - name: HDRI library
    description: The HDRI maps in the library folders and in the scene.
paths:
  /variations/apply:
    post:
      tags:
        - Variations
      summary: Apply
      description: Apply a set's row to the scene.
      operationId: applyVariation
      requestBody:
        description: The set and the row
        content:
          application/json:
            schema:
              type: object
              properties:
                set:
                  type: string
                  description: A set's id or name
                row:
                  type: array
                  items:
                    type: integer
                    minimum: 0
                  description: >-
                    One option index per property, in the set's column order
                    (followers are set from their leader)
              required:
                - set
      responses:
        '200':
          description: Applied; every skipped change is listed
          content:
            application/json:
              schema:
                type: object
                properties:
                  set:
                    type: string
                  row:
                    type: array
                    items:
                      type: number
                  options:
                    type: object
                    additionalProperties:
                      type: string
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        target:
                          type: string
                        applied:
                          type: array
                          items:
                            type: string
                        skipped:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              reason:
                                type: string
                            required:
                              - name
                              - reason
                      required:
                        - target
                        - applied
                        - skipped
                  setup:
                    type: string
                  ms:
                    type: number
                required:
                  - set
                  - row
                  - options
                  - results
                  - ms
        '400':
          description: >-
            An excluded row, a row that does not fit the set, or a set without
            options
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: No such set
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '409':
          description: The app is busy, or the scene is read-only
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````

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