vectorStoreFiles

abstract suspend fun vectorStoreFiles(id: VectorStoreId, limit: Int? = null, order: SortOrder? = null, after: VectorStoreId? = null, before: VectorStoreId? = null, filter: Status? = null, requestOptions: RequestOptions? = null): List<VectorStoreFile>

Returns a list of vector store files.

Parameters

id

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

limit

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

order

Sort order by the created_at timestamp of the objects.

after

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 later call can include after=obj_foo to fetch the next page of the list.

before

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, ending with obj_foo, your later call can include before=obj_foo to fetch the previous page of the list.

filter
requestOptions

request options.