Update scratchpad API calls to be record-level calls