Parameters for the createBatch operation.

interface CreateBatchParams {
    completionWindow: string;
    endpoint: string;
    headers?: OutgoingHttpHeaders;
    inputFileId: string;
    metadata?: Record<string, string>;
    projectId?: string;
    signal?: AbortSignal;
    spaceId?: string;
}

Hierarchy (view full)

Properties

completionWindow: string

Time window for completion of the batch job.

endpoint: string

API endpoint to use for processing each batch item.

headers?: OutgoingHttpHeaders
inputFileId: string

ID of the uploaded input file for the batch job.

metadata?: Record<string, string>

Additional metadata for the batch job.

projectId?: string

Watsonx project identifier.

signal?: AbortSignal
spaceId?: string

Watsonx space identifier.