• Bulk-add papers to a project. Partial success: unknown source_ids come back in failed while the rest are still added. Input is deduplicated and chunked, so any list size is accepted; an empty list is a no-op.

    Parameters

    • projectId: number
    • sourceIds: string[]

    Returns Promise<{ failed: string[]; ok: boolean }>