Pinecone TypeScript SDK - v8.2.0
    Preparing search index...

    Interface OperationModel

    The OperationModel describes the status of an ongoing or completed server operation.

    OperationModel

    interface OperationModel {
        completedOn?: Date | null;
        createdOn: Date;
        errorMessage?: string | null;
        fileId?: string | null;
        id: string;
        ingestionUnits?: number | null;
        operationType: string;
        percentComplete?: number;
        status: string;
    }
    Index
    completedOn?: Date | null

    The timestamp when the operation completed or failed, in ISO 8601 format. Present only when status is Completed or Failed.

    OperationModel

    createdOn: Date

    The timestamp when the operation was created, in ISO 8601 format.

    OperationModel

    errorMessage?: string | null

    A message describing the error that caused the operation to fail. Present only when status is Failed.

    OperationModel

    fileId?: string | null

    The identifier of the file being operated on.

    OperationModel

    id: string

    The unique identifier for the operation.

    OperationModel

    ingestionUnits?: number | null

    The number of ingestion units consumed by this operation. Present only when status is Completed for file ingestion operations.

    OperationModel

    operationType: string

    The kind of action represented by this operation, such as uploading or deleting a file.

    OperationModel

    percentComplete?: number

    The progress made by the operation, as a percentage (0-100).

    OperationModel

    status: string

    The status of the operation.

    • Processing: The operation is in progress.
    • Completed: The operation finished successfully.
    • Failed: The operation failed. See error_message for details.

    OperationModel