FilesBatch

@Serializable
data class FilesBatch(val id: BatchId, val createdAt: Long, val vectorStoreId: VectorStoreId, val status: Status, val fileCounts: FileCounts)

A batch of files attached to a vector store.

Constructors

Link copied to clipboard
constructor(id: BatchId, createdAt: Long, vectorStoreId: VectorStoreId, status: Status, fileCounts: FileCounts)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Long

The Unix timestamp (in seconds) for when the vector store files batch was created.

Link copied to clipboard
@SerialName(value = "file_counts")
val fileCounts: FileCounts

Files that are currently being processed.

Link copied to clipboard
@SerialName(value = "id")
val id: BatchId

The identifier, which can be referenced in API endpoints.

Link copied to clipboard
@SerialName(value = "status")
val status: Status

The status of the vector store files batch, which can be either Status.InProgress, Status.Completed, Status.Cancelled or Status.Failed.

Link copied to clipboard
@SerialName(value = "vector_store_id")
val vectorStoreId: VectorStoreId

The ID of the vector store that the File is attached to.