{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benchling AA Sequences Assay Runs API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/api/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Assay Runs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/assay-runs",
            "params": [
              {
                "name": "schemaId",
                "value": "",
                "type": "query",
                "description": "ID of the assay run schema to filter by"
              },
              {
                "name": "minCreatedTime",
                "value": "",
                "type": "query",
                "description": "Filter by runs created after this unix timestamp"
              },
              {
                "name": "maxCreatedTime",
                "value": "",
                "type": "query",
                "description": "Filter by runs created before this unix timestamp"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results to return. Defaults to 50, maximum of 100."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of ids. Matches all of the provided IDs, or returns a 400 error that includes a list of which IDs are invalid.\n"
              }
            ]
          },
          "docs": "List runs"
        },
        {
          "info": {
            "name": "Create 1 or more runs.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/assay-runs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create 1 or more runs."
        },
        {
          "info": {
            "name": "Get a run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/assay-runs/:assay_run_id",
            "params": [
              {
                "name": "assay_run_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a run"
        },
        {
          "info": {
            "name": "Update a run",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "/api/v2/assay-runs/:assay_run_id",
            "params": [
              {
                "name": "assay_run_id",
                "value": "",
                "type": "path",
                "description": "ID of the Run to be updated"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a run"
        },
        {
          "info": {
            "name": "list AutomationInputGenerators by Run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/assay-runs/:assay_run_id/automation-input-generators",
            "params": [
              {
                "name": "assay_run_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              },
              {
                "name": "modifiedAt",
                "value": "",
                "type": "query",
                "description": "Datetime, in RFC 3339 format. Supports the > and < operators. Time zone defaults to UTC. Restricts results to those modified in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND <YYYY-MM-DD.\n"
              }
            ]
          },
          "docs": "list AutomationInputGenerators by Run"
        },
        {
          "info": {
            "name": "list AutomationOutputProcessors by Run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/assay-runs/:assay_run_id/automation-output-processors",
            "params": [
              {
                "name": "assay_run_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "nextToken",
                "value": "",
                "type": "query",
                "description": "Token for pagination"
              }
            ]
          },
          "docs": "Deprecated in favor of '/automation-output-processors'. For each output config in the run config, will create an empty automationOutputProcessor for the run if one doesn't exist."
        },
        {
          "info": {
            "name": "Archive Assay Runs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/assay-runs:archive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Archive assay runs that are not embedded in a notebook entry"
        },
        {
          "info": {
            "name": "Bulk get runs by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/v2/assay-runs:bulk-get",
            "params": [
              {
                "name": "assayRunIds",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of assay run IDs"
              }
            ]
          },
          "docs": "Bulk get runs by ID"
        },
        {
          "info": {
            "name": "Unarchive Assay Runs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/v2/assay-runs:unarchive",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unarchive assay runs"
        }
      ]
    }
  ],
  "bundled": true
}