Skip to content

REQUESTS_PER_UPLOAD

const REQUESTS_PER_UPLOAD: 2 = 2

Defined in: apiCost.ts:24

API requests consumed per file uploaded.

Two, not one. Salesforce’s create response returns only the new ContentVersion id, so uploadContentVersion follows it with a query for ContentDocumentId. Both count toward the org’s daily allocation. Counting one per file here would under-budget every upload by half.