---
title: "Update an Automation Input Generator"
method: PATCH
path: "/automation-input-generators/{input_generator_id}"
tags: ["labAutomation"]
---

# Update an Automation Input Generator

`PATCH /automation-input-generators/{input_generator_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/automation-input-generators/{input_generator_id}`
- Auth: HTTP bearer

Update an Automation Input Generator

## Path parameters

- `input_generator_id` string, required

## Request body

- AutomationInputGeneratorUpdate
  - `fileId` string, nullable: The ID of the file (blob) associated with the input generator. Set to `null` to remove an existing file from the generator.

## Response `200`

OK

- AutomationInputGenerator
  - `assayRunId` string
  - `automationFileConfig` AutomationInputGeneratorAutomationFileConfig
    - `name` string
  - `file` Blob
    - `id` string, uuid: The universally unique identifier (UUID) for the blob.
    - `mimeType` string: eg. application/jpeg
    - `name` string: Name of the blob
    - `type` 'RAW_FILE' | 'VISUALIZATION': One of RAW_FILE or VISUALIZATION. If VISUALIZATION, the blob may be displayed as an image preview.
    - `uploadStatus` 'IN_PROGRESS' | 'COMPLETE' | 'ABORTED'
  - `id` string
  - `status` 'SUCCEEDED' | 'FAILED' | 'NOT_STARTED' | 'RUNNING'
  - `apiURL` string, uri: The canonical url of the Automation Input Generator in the API.
  - `createdAt` string, date-time: DateTime the Automation Input Generator was last modified
  - `modifiedAt` string, date-time: DateTime the Automation Input Generator was last modified
  - `transforms` LabAutomationTransform[]
    - `apiURL` string, uri: The canonical url of the transform in the API.
    - `blobId` string, uuid, nullable
    - `customTransformId` string, uuid, nullable
    - `errors` LabAutomationBenchlingAppErrors
      - `topLevelErrors` LabAutomationBenchlingAppErrorsTopLevelErrorsItems[]
        - `errorMessage` string
    - `id` string
    - `inputGeneratorId` string, nullable
    - `modifiedAt` string, date-time: DateTime the transform was last modified.
    - `outputProcessorId` string, nullable
    - `status` 'NOT_STARTED' | 'RUNNING' | 'FAILED' | 'SUCCEEDED'

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
