Documentation Index
Fetch the complete documentation index at: https://gridos.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
GET /schema returns a structural overview of every sheet in the current workbook: occupied bounds, the inferred header row, and the dominant data type for each column. It is the cheapest way for an external agent to learn what is in the workbook without fetching the full grid.
Why an agent would call this first
Sending the entire workbook state to an LLM as JSON typically costs 30,000+ tokens on a moderately-populated workbook./schema returns the same structural information in roughly 200 tokens. The agent can use the response to decide which sheets to look at, what columns to compute over, and what kind of data lives in each column — then call GET /peek for the specific cells it needs and POST /eval to test its proposed formulas.
Request
This endpoint takes no parameters. It always returns every sheet in the caller’s current workbook.Response
The name of the sheet currently selected in the UI. The default target for writes when a
sheet parameter is omitted from other endpoints.One entry per sheet in the workbook. Each entry has the following shape:
name— the sheet’s display name.active—trueif this sheet is the currently selected one in the UI.rows— the number of rows between the first and last occupied row (inclusive).0when the sheet is empty.cols— array of{col, header, type}objects, one per occupied column.occupied_bounds—{first, last}corners of the occupied rectangle in A1 notation, ornullwhen the sheet is empty.
Column object
The column letter in A1 notation (e.g.
"A", "AA").The value of the cell in the first occupied row of this column, treated as the header.
null when that cell is empty.The dominant data type observed across all data rows (every occupied row except the header). One of:
"text"— string values dominate"number"— int / float values dominate"bool"— boolean values dominate"formula"— at least half of the populated cells in the column carry a formula"empty"— no populated cells below the header
"formula" wins regardless of the underlying value type — agents care more about whether a column is calculated than whether the calculated value is a number.Example
Request
Response
/schema looks at the first occupied row to infer the header. Workbooks that don’t follow the headers-on-row-1 convention will return the value of whatever sits in the first occupied row of each column as header — typically the first data point. For those workbooks, treat header as a sample rather than a label.