---
title: "POST /attachments/vector-stores"
method: POST
path: "/attachments/vector-stores"
tags: ["attachment-controller"]
---

# POST /attachments/vector-stores

`POST /attachments/vector-stores`

## Request

- Base URL: `http://api.lotas.ai`
- URL: `http://api.lotas.ai/attachments/vector-stores`
- Auth: none declared

## Request body

- VectorStoreRequest
  - `name` string
  - `api_key` string

## Response `200`

OK

- AttachmentResponse
  - `success` boolean
  - `error` string
  - `data` JsonNode
  - `id` string
  - `object` string
  - `filename` string
  - `purpose` string
  - `bytes` integer
  - `status` string

---

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