IOpenAIClient.GetVectorStoreFileBatchAsync

IOpenAIClient.GetVectorStoreFileBatchAsync method

Retrieves details of a specific vector store file batch asynchronously.

public Task<VectorStoreFileBatchResponse> GetVectorStoreFileBatchAsync(string vectorStoreId, 
    string fileBatchId, CancellationToken? cancellationToken = default)
ParameterTypeDescription
vectorStoreIdStringThe ID of the vector store containing the file batch.
fileBatchIdStringThe ID of the file batch to retrieve.
cancellationTokenNullable`1A token to cancel the operation.

Return Value

A task that represents the asynchronous operation. The task result contains the details of the file batch.

Exceptions

exceptioncondition
AIClientExceptionThrown when the vector store Id is null or empty.
AIClientExceptionThrown when the vector store file batch Id is null or empty.

See Also