Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex AI Studio
  • О сервисе Yandex AI Studio
  • Начало работы с Model Gallery
  • Yandex Workflows
  • Переход с AI Assistant API на Responses API
  • Совместимость с OpenAI
    • Обзор
    • Аутентификация в API
        • Overview
        • listVectorStores
        • createVectorStore
        • getVectorStore
        • modifyVectorStore
        • deleteVectorStore
        • createVectorStoreFileBatch
        • getVectorStoreFileBatch
        • listFilesInVectorStoreBatch
        • listVectorStoreFiles
        • createVectorStoreFile
        • getVectorStoreFile
        • deleteVectorStoreFile
        • updateVectorStoreFileAttributes
        • retrieveVectorStoreFileContent
        • searchVectorStore
  • Квоты и лимиты
  • Правила тарификации
  • Управление доступом
  • Аудитные логи Audit Trails
  • Публичные материалы
  • История изменений
  • Термины и определения

В этой статье:

  • HTTP request
  • Path parameters
  • Body parameters
  • VectorStoreExpirationAfter
  • Response
  • FileCounts
  • VectorStoreExpirationAfter
  1. Справочники API
  2. OpenAI-совместимые API (англ.)
  3. Vector stores
  4. modifyVectorStore

REST: Modify vector store

Статья создана
Yandex Cloud
Обновлена 30 декабря 2025 г.
  • HTTP request
  • Path parameters
  • Body parameters
  • VectorStoreExpirationAfter
  • Response
  • FileCounts
  • VectorStoreExpirationAfter

Modifies a vector store.

HTTP requestHTTP request

POST https://ai.api.cloud.yandex.net/v1/vector_stores/{vector_store_id}

Path parametersPath parameters

Field

Description

vector_store_id

string

Required field. The ID of the vector store to modify.

Body parametersBody parameters

Request schema: application/json

{
  "name": "string",
  "expires_after": "unknown",
  "metadata": "unknown"
}

Field

Description

name

string

The name of the vector store.

expires_after

All of VectorStoreExpirationAfter & unknown

metadata

Any of object (map<string, string>) | null

VectorStoreExpirationAfterVectorStoreExpirationAfter

The expiration policy for a vector store.

Field

Description

anchor

enum

Required field. Anchor timestamp after which the expiration policy applies.
Supported anchors: last_active_at.''

  • last_active_at

days

integer

Required field. The number of days after the anchor time that the vector store will expire.

ResponseResponse

HTTP Code: 200

OK

Response schema: application/json

{
  "id": "string",
  "object": "string",
  "created_at": "integer",
  "name": "string",
  "usage_bytes": "integer",
  "file_counts": {
    "in_progress": "integer",
    "completed": "integer",
    "failed": "integer",
    "cancelled": "integer",
    "total": "integer"
  },
  "status": "string",
  "expires_after": {
    "anchor": "string",
    "days": "integer"
  },
  "expires_at": "unknown",
  "last_active_at": "unknown",
  "metadata": "unknown"
}

A vector store is a collection of processed files can be used by the file_search tool.

Field

Description

id

string

Required field. The identifier, which can be referenced in API endpoints.

object

enum

Required field. The object type, which is always vector_store.

  • vector_store

created_at

integer

Required field. The Unix timestamp (in seconds) for when the vector store was created.

name

string

Required field. The name of the vector store.

usage_bytes

integer

Required field. The total number of bytes used by the files in the vector store.

file_counts

FileCounts

Required field.

status

enum

Required field. The status of the vector store, which can be either expired, in_progress, or completed. A status of completed indicates that the vector store is ready for use.

  • expired
  • in_progress
  • completed

expires_after

VectorStoreExpirationAfter

Required field. The expiration policy for a vector store.

expires_at

Any of integer | null

last_active_at

Any of integer | null

metadata

Any of object (map<string, string>) | null

FileCountsFileCounts

Field

Description

in_progress

integer

Required field. The number of files that are currently being processed.

completed

integer

Required field. The number of files that have been successfully processed.

failed

integer

Required field. The number of files that have failed to process.

cancelled

integer

Required field. The number of files that were cancelled.

total

integer

Required field. The total number of files.

VectorStoreExpirationAfterVectorStoreExpirationAfter

The expiration policy for a vector store.

Field

Description

anchor

enum

Required field. Anchor timestamp after which the expiration policy applies.
Supported anchors: last_active_at.''

  • last_active_at

days

integer

Required field. The number of days after the anchor time that the vector store will expire.

Была ли статья полезна?

Предыдущая
getVectorStore
Следующая
deleteVectorStore
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»