# Batch create models

`POST /v1/organizations/{organization}/models/batch-create`, operation `models.BatchCreateModels`

Creates several models of an organization at once, or none if one of them cannot be created.

Sharing them with projects (availability) also takes llmgateway.models.setAvailability.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |

## Request body

Content-Type: `application/json` (required)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `models` | `NewModel[]` | Yes | The models to create, at most 100. |

## Responses

### 201

Created

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `models` | `Model[]` | Yes | The models created, in the order asked for. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.