---
title: "POST /annotationStore/{name}/version"
method: POST
path: "/annotationStore/{name}/version"
---

# POST /annotationStore/{name}/version

`POST /annotationStore/{name}/version`

Creates a new version of an annotation store.

## Path parameters

- `name` string, required

## Request body

- object
  - `versionName` string, required — The name given to an annotation store version to distinguish it from other versions.
  - `description` string — The description of an annotation store version.
  - `versionOptions` object — The options for an annotation store version.
    - `tsvVersionOptions` object — File settings for a version of a TSV store.
      - `annotationType` 'GENERIC' | 'CHR_POS' | 'CHR_POS_REF_ALT' | 'CHR_START_END_ONE_BASE' | 'CHR_START_END_REF_ALT_ONE_BASE' | 'CHR_START_END_ZERO_BASE' | 'CHR_START_END_REF_ALT_ZERO_BASE' — The store version's annotation type.
      - `formatToHeader` object — The annotation store version's header key to column name mapping.
      - `schema` SchemaItem[] — The TSV schema for an annotation store version.
  - `tags` object — Any tags added to annotation store version.

## Response `200`

Success

- CreateAnnotationStoreVersionResponse
  - `id` string, required — A generated ID for the annotation store
  - `versionName` string, required — The name given to an annotation store version to distinguish it from other versions.
  - `storeId` string, required — The ID for the annotation store from which new versions are being created.
  - `versionOptions` object — The options for an annotation store version.
    - `tsvVersionOptions` object — File settings for a version of a TSV store.
      - `annotationType` 'GENERIC' | 'CHR_POS' | 'CHR_POS_REF_ALT' | 'CHR_START_END_ONE_BASE' | 'CHR_START_END_REF_ALT_ONE_BASE' | 'CHR_START_END_ZERO_BASE' | 'CHR_START_END_REF_ALT_ZERO_BASE' — The store version's annotation type.
      - `formatToHeader` object — The annotation store version's header key to column name mapping.
      - `schema` SchemaItem[] — The TSV schema for an annotation store version.
  - `name` string, required — The name given to an annotation store version to distinguish it from other versions.
  - `status` 'CREATING' | 'UPDATING' | 'DELETING' | 'ACTIVE' | 'FAILED', required — The status of a annotation store version.
  - `creationTime` string, date-time, required — The time stamp for the creation of an annotation store version.

## Other responses

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

---

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