# Upsert edges in bulk (/reference/api/edges/bulkUpsertEdges)

Creates or updates up to 5,000 edges in one call, matching existing edges on `(from_id, to_id, edge_type)`. The batch is atomic by default: one failed entry rolls it all back. Returns each entry's outcome.