Size of records returned in REST API SOQL query

What’s the size of records returned in the SOQL query from REST API?

I have an object which I’m querying using REST API SOQL query.

It’s returning less than 2000 records which is fine. When I add one extra field which is long text area from a parent, it returns less number of records with nextRecordsUrl which means I need to make another request to get the next records.

This salesforce document says the limit is 2000. But I’m sure it also depends on the size. Is there a way to increase the size?

Read more here: Source link