OpenRouter TypeScript SDK - v1.0.6
    Preparing search index...

    Interface BatchResult

    Result of a request in a batch

    interface BatchResult {
        success: boolean;
        response?: ChatCompletionResponse;
        error?: { message: string; status?: number; code?: string | number };
        requestIndex: number;
        params: ChatCompletionParams;
    }
    Index

    Properties

    success: boolean
    error?: { message: string; status?: number; code?: string | number }
    requestIndex: number