---
title: "Create Data Store Using Form"
method: POST
path: "/data_stores/form/"
tags: ["DATA_STORE"]
---

# Create Data Store Using Form

`POST /data_stores/form/`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/data_stores/form/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create data stores using form in frontend, in the database.
:param db: The database session for accessing the database.
:param data_store_creation_request: The data store creation request containing the data store definition and other
metadata.
:param auth: The authorization token for the request.
:return: A list of data store creation responses, one for each database processed.

## Request body

- DataStoreCreationUsingFormRequest
  - `reader_account` ReaderAccountInput
    - `provider_account` string, required
    - `provider_organization` string, nullable
    - `compute_price` number, nullable
    - `ai_price` number, nullable
    - `storage_price` number, nullable
  - `name` string, required
  - `type` string, required
  - `description` string, required
  - `account` string, nullable
  - `user` string, nullable
  - `password` string, nullable
  - `role` string, nullable
  - `databases` string[], nullable
  - `warehouse` string, nullable
  - `key_pair` KeyPair
    - `type` 'pem' | 'der'
    - `private_key` string, nullable
    - `passphrase` string, nullable
  - `auth_type` 'password' | 'key_pair'
  - `host` string, nullable
  - `port` string, nullable
  - `pat_secret` string, nullable
  - `pat_name` string, nullable
  - `site_name` string, nullable
  - `url` string, nullable
  - `worksheet_location` string, nullable
  - `datastore_id` integer, nullable
  - `source_site_name` string, nullable
  - `instance_id` integer, nullable

## Response `200`

Successful Response

- DataStoreCreationResponse[]
  - `id` integer, nullable
  - `name` string, nullable
  - `type` string, nullable
  - `description` string, nullable
  - `message` string, required

## Other responses

- `400`: Not supported for public user
- `403`: Not supported for public user
- `422`: Validation Error

## Changes

- **2026-10-20** `4f9ddc4824e3`: 1 info
  - added the new optional request property `reader_account`
- **2026-08-08** `103580dad816`: 1 info
  - added the new optional request property `instance_id`

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/data_stores/form/post.md)

---

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