Bulk API versus REST and SOAP API for health data volume and timing
Key Takeaway
Count the records, then ask how soon you need the answer. More than 2,000 records is a good candidate for Bulk API 2.0, and fewer than 2,000 is best handled with bulkified calls in REST API or SOAP API.
When an Agentforce Health project moves health data such as patient or member records, the right Salesforce API depends on how many records move and how soon the caller needs an answer. REST API and SOAP API suit real-time work on a few records. Bulk API 2.0 suits large jobs that Salesforce processes in the background.
Synchronous and asynchronous APIs
REST API and SOAP API are synchronous. Both are optimized for real-time client applications that create, read, update, or delete a few records at a time.
Bulk API 2.0 is asynchronous and is based on REST principles.