Docs

File format

One document object. Alpha means we can change it deliberately — but there is only one current shape.

{
  "format": "metagrid-v2",
  "version": 2,
  "workbook": { "type": "list" | "grid" | "table", … },
  "names": { "spend": { "id": 12, "r": 0, "c": 1 } },
  "queries": [{ "id": 1, "name": "items", "url": "https://…", "key": "", "auth": "auto", "targetId": 1, "targetR": 1, "targetC": 0 }],
  "access": {
    "ownerId": "",
    "owner": "ada@acme.com",
    "users": [{ "email": "ada@acme.com", "name": "Ada", "userId": "" }],
    "groups": { "eng": ["ada@acme.com", "backend"], "backend": ["bob@acme.com"] }
  }
}