{"id":"d0fa2d67-6a45-4b2a-ac24-a53770fe484b","task":"Execute multiple Salesforce operations in a single round trip using the Composite API","domain":"developer.salesforce.com","steps":["POST to /services/data/vXX.0/composite with a JSON body containing a compositeRequest array","Each element in compositeRequest includes a method, url (relative), referenceId (unique string), and optionally a body","Reference the output of a prior subrequest in later subrequests using the @{referenceId.field} syntax","Set allOrNone to true if you want all subrequests rolled back when any single one fails","Parse the compositeResponse array in the response — each item has an httpStatusCode and a body"],"gotchas":["A single composite request supports up to 25 subrequests; exceed this and the entire call is rejected","With allOrNone false, earlier successful subrequests are not rolled back even if a later one fails — handle partial success explicitly","Not all REST endpoints are supported as subrequests; query and tooling API calls have restrictions — check the documentation for the specific API version"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:33.807Z"},"url":"https://mcp.waymark.network/r/d0fa2d67-6a45-4b2a-ac24-a53770fe484b"}