import Grid from '@grid-is/api';const client = new Grid({ apiKey: 'My API Key',});const response = await client.workbooks.calc('id', { read: ['A1'] });console.log(response);
Copy
Ask AI
{}
Data operations
Read cell objects and run calculations
Run calculations in a workbook and retrieve cell objects.
POST
/
v1
/
workbooks
/
{id}
/
calc
JavaScript
Copy
Ask AI
import Grid from '@grid-is/api';const client = new Grid({ apiKey: 'My API Key',});const response = await client.workbooks.calc('id', { read: ['A1'] });console.log(response);
Copy
Ask AI
{}
Use this endpoint if you need detailed cell objects that include raw values, value types, format strings, and cell positional offsets. If you only need cell values, try the values endpoint.