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

# Create check

> Create a sanity check from a template



## OpenAPI

````yaml /renderflow/api-reference/openapi.json post /sanity
openapi: 3.1.0
info:
  title: RenderFlow API
  version: 2.0.0
  description: Render farm management.
servers:
  - url: http://localhost:44442/api/v1
    description: The service on this machine. Answers without a credential
  - url: http://your-server:44442/api/v1
    description: A farm's server. Needs an API key
  - url: https://your-server:44445/api/v1
    description: A farm's server set up with TLS. Needs an API key
security:
  - bearerAuth: []
paths:
  /sanity:
    post:
      tags:
        - Sanity
      summary: Create check
      description: Create a sanity check from a template
      operationId: createSanityCheck
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                template_id:
                  type: string
                  minLength: 1
                  example: 3dsmax-sanity
              required:
                - template_id
      responses:
        '201':
          description: The created check, disabled and with stub scripts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SanityCheck'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Not permitted for this credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Unhandled server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    SanityCheck:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          default: ''
        description:
          type: string
          default: ''
        host:
          type: string
          description: The DCC this check runs in, e.g. 3dsmax
        engine:
          type:
            - string
            - 'null'
        enabled:
          type: boolean
          default: false
        collection:
          type: array
          items:
            type: string
          default: []
          description: Named sets a job can opt into
        author:
          type:
            - string
            - 'null'
        language:
          $ref: '#/components/schemas/ScriptLanguage'
        level:
          $ref: '#/components/schemas/ErrorLevel'
        message:
          type: string
          default: ''
        check_script:
          $ref: '#/components/schemas/SanityScript'
        fix_script:
          $ref: '#/components/schemas/SanityScript'
        version:
          type: string
          default: 1.0.0
        job_types:
          type: array
          items:
            $ref: '#/components/schemas/TaskType'
          default: []
        plugin_ids:
          type: array
          items:
            type: string
          default: []
        created_at:
          type: integer
          default: 0
          example: 1785846207000
        updated_at:
          type: integer
          default: 0
          example: 1785846207000
      required:
        - id
        - host
        - language
        - check_script
        - fix_script
        - name
        - description
        - enabled
        - collection
        - message
        - version
        - job_types
        - plugin_ids
        - created_at
        - updated_at
    ApiError:
      type: object
      properties:
        error:
          type: string
        tag:
          type: string
          description: The catalog entry this failure is, when it is one
        title:
          type: string
          description: The catalog entry's title
        detail:
          type: string
          description: What happened this time, and what to do
        issues:
          type: array
          items:
            type: object
            properties:
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              message:
                type: string
            required:
              - path
              - message
      required:
        - error
    ScriptLanguage:
      type:
        - string
        - 'null'
      enum:
        - maxscript
        - mel
        - python
        - powershell
        - bash
        - batch
        - null
    ErrorLevel:
      type: string
      enum:
        - info
        - warning
        - critical
        - fatal
    SanityScript:
      type: object
      properties:
        code:
          type: string
          default: ''
      required:
        - code
    TaskType:
      type: string
      enum:
        - renderflow.test
        - 3dsmax.render
        - 3dsmax.scene_manager.render
        - arnold.render
        - after.render
        - blender.render
        - cinema4d.render
        - houdini.batch
        - houdini.mantra
        - houdini.husk
        - imager
        - ffmpeg
        - denoise
        - autograph.render
        - fusion.render
        - harmony.render
        - keyshot.render
        - maya.render
        - nuke.render
        - renderman.render
        - premiere.render
        - media_encoder.encode
        - davinci.render
        - shell
        - python
        - unreal
        - vray.dr.spawner
        - redshift.render
        - sketchup.render
        - rhino.render
        - vray_standalone
        - vantage.render
        - vred.render
        - comfyui.render
        - agentic
        - 3dsmax.script
        - blender.script
        - cinema4d.script
        - maya.script
        - houdini.script
        - nuke.script
        - fusion.script
        - 3dsmax.export
        - maya.export
        - blender.export
        - cinema4d.export
        - renderflow.custom_plugin
        - renderflow.benchmark
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key from Settings, API Keys. A caller on this machine needs none.

````

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