---
title: "KV store write"
method: POST
path: "/v1/store"
tags: ["v1", "Store"]
---

# KV store write

`POST /v1/store`

## Request body

- StoreWriteRequest
  - `data` object, required — The data to store in the KV store.
  - `name` string, required — The name of the data to store in the KV store.
  - `existing_version_id` string, nullable — The version ID of the data in the KV store.

## Response `200`

Success

- StoreWriteResponse
  - `version_id` string, required — The version ID of the data in the KV store.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/3943d8deb3be/schema)
