---
title: "POST /datastore"
method: POST
path: "/datastore"
---

# POST /datastore

`POST /datastore`

Create a data store.

## Request body

- object
  - `datastoreName` string — The data store name.
  - `clientToken` string, required — A unique identifier for API idempotency.
  - `tags` object — The tags provided when creating a data store.
  - `kmsKeyArn` string — ARN referencing a KMS key or KMS key alias.
  - `lambdaAuthorizerArn` string — The ARN of the authorizer's Lambda function.
  - `losslessStorageFormat` 'HTJ2K' | 'JPEG_2000_LOSSLESS' — The lossless storage format for the datastore.

## Response `200`

Success

- CreateDatastoreResponse
  - `datastoreId` string, required — The data store identifier.
  - `datastoreStatus` 'CREATING' | 'CREATE_FAILED' | 'ACTIVE' | 'DELETING' | 'DELETED', required — The data store status.

## Other responses

- `480` — ThrottlingException
- `481` — ConflictException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException
- `485` — ResourceNotFoundException
- `486` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/medical-imaging.md) · [All operations](https://skmtc.net/aws/apis/medical-imaging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/medical-imaging/versions/a4a282481097/schema)
