import Grid from '@grid-is/api';const client = new Grid({ apiKey: process.env['GRID_API_TOKEN'], // This is the default and can be omitted});async function main() { const response = await client.beta.getWorkbookLabels('id'); console.log(response.workbook_id);}main();
Retrieves text that labels cells and ranges in a workbook.
GET
/
v1
/
workbooks
/
{id}
/
labels
JavaScript
Copy
Ask AI
import Grid from '@grid-is/api';const client = new Grid({ apiKey: process.env['GRID_API_TOKEN'], // This is the default and can be omitted});async function main() { const response = await client.beta.getWorkbookLabels('id'); console.log(response.workbook_id);}main();
Labels are textual identifiers that convey the semantic meaning of cells and ranges within a workbook. They are extracted from the structure, layout, and content in a workbook’s sheets.
This endpoint is in beta and is subject to change.