---
title: "Batch create FeatureLibrary"
method: POST
path: "/api/v3/feature-library:batch-create"
tags: ["Feature Library"]
---

# Batch create FeatureLibrary

`POST /api/v3/feature-library:batch-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/feature-library:batch-create`
- Auth: HTTP bearer

Batch create FeatureLibrary synchronously in one transaction. Maximum 25 items per request.

## Request body

- object
  - `items` CreateFeatureLibraryInput[], required
    - `description` string: Description of the Feature Library
    - `name` string, required: Library names must be non-empty after trimming whitespace, at most 128 characters, and unique within the owner (case-insensitive).
    - `ownerId` string, required: The API ID of the user or organization that owns the feature library.

## Response `201`

Created

- FeatureLibraryBatchcreateResponse201
  - `items` FeatureLibrary[], required
    - `__typename` string
    - `createdAt` string, datetime: DateTime the Feature Library was created
    - `description` string, nullable: Description of the Feature Library
    - `features` string, uri: List of Feature Library Items in this library
    - `id` string
    - `modifiedAt` string, datetime: DateTime the Feature Library was last modified
    - `name` string: Name of the Feature Library
    - `owner` OwnerRef
      - `__typename` string
      - `id` string, api_id

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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