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
  • Query parameters
  • Response
  • VectorStoreFileObject
  • LastError0
  • StaticChunkingStrategyResponseParam
  • StaticChunkingStrategy
  • OtherChunkingStrategyResponseParam
  1. Справочники API
  2. OpenAI-совместимые API (англ.)
  3. Vector stores
  4. listFilesInVectorStoreBatch

REST: List vector store files in a batch

Статья создана
Yandex Cloud
Обновлена 30 декабря 2025 г.
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • VectorStoreFileObject
  • LastError0
  • StaticChunkingStrategyResponseParam
  • StaticChunkingStrategy
  • OtherChunkingStrategyResponseParam

Returns a list of vector store files in a batch.

HTTP requestHTTP request

GET https://ai.api.cloud.yandex.net/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}/files

Path parametersPath parameters

Field

Description

vector_store_id

string

Required field. The ID of the vector store that the files belong to.

batch_id

string

Required field. The ID of the file batch that the files belong to.

Query parametersQuery parameters

Field

Description

limit

integer

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

order

enum

Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.

  • asc
  • desc

after

string

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

before

string

A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.

filter

enum

Filter by file status. One of in_progress, completed, failed, cancelled.

  • in_progress
  • completed
  • failed
  • cancelled

ResponseResponse

HTTP Code: 200

OK

Response schema: application/json

{
  "object": "string",
  "data": [
    {
      "id": "string",
      "object": "string",
      "usage_bytes": "integer",
      "created_at": "integer",
      "vector_store_id": "string",
      "status": "string",
      "last_error": "unknown",
      "chunking_strategy": {
        "<anyOf>": [
          {
            "type": "string",
            "static": {
              "max_chunk_size_tokens": "integer",
              "chunk_overlap_tokens": "integer"
            }
          },
          {
            "type": "string"
          }
        ]
      },
      "attributes": "unknown"
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "has_more": "boolean"
}

Field

Description

object

string

Required field.

data[]

VectorStoreFileObject

Required field. A list of files attached to a vector store.

first_id

string

Required field.

last_id

string

Required field.

has_more

boolean

Required field.

VectorStoreFileObjectVectorStoreFileObject

A list of files attached to a vector store.

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.file.

  • vector_store.file

usage_bytes

integer

Required field. The total vector store usage in bytes. Note that this may be different from the original file size.

created_at

integer

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

vector_store_id

string

Required field. The ID of the vector store that the file is attached to.

status

enum

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

  • in_progress
  • completed
  • cancelled
  • failed

last_error

Any of LastError0 | null

chunking_strategy

Any of StaticChunkingStrategyResponseParam | OtherChunkingStrategyResponseParam

attributes

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

LastError0LastError0

The last error associated with this vector store file. Will be null if there are no errors.

Field

Description

code

enum

Required field. One of server_error, unsupported_file, or invalid_file.

  • server_error
  • unsupported_file
  • invalid_file

message

string

Required field. A human-readable description of the error.

StaticChunkingStrategyResponseParamStaticChunkingStrategyResponseParam

Field

Description

type

enum

Required field. Always static.

  • static

static

StaticChunkingStrategy

Required field.

StaticChunkingStrategyStaticChunkingStrategy

Field

Description

max_chunk_size_tokens

integer

Required field. The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

chunk_overlap_tokens

integer

Required field. The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.

OtherChunkingStrategyResponseParamOtherChunkingStrategyResponseParam

This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the chunking_strategy concept was introduced in the API.

Field

Description

type

enum

Required field. Always other.

  • other

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

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