Pages
| Limit | |
|---|---|
| Page file | 1 MB. Most pages are a few KB; the limit stops a runaway script from slowing the panel. Larger, Legato shows the page as Can't read this page and legato set refuses it with too_large. |
| Page id | The file name without .json. A new page's id is 1–64 characters, a–z, 0–9 and -, starting with a letter or digit. |
| Cards on a page | 1 to 24, a tabs card counting as one; 120 at most counting the cards in tabs |
title | 1–60 characters |
icon | Up to 64 characters, an SF Symbol name such as chart.bar.fill |
schema_version | 1, or left out |
Source names (keys of sources) | a–z, 0–9, _ and - |
notify id | 1–64 characters: letters, digits, ., _, : and -, starting with a letter or digit |
notify title / body | 1–60 / 1–200 characters |
There's no limit on how many pages the folder holds.
Cards
Card ids are 1–64 characters, a–z, 0–9, - and _, starting with a letter or digit, and unique on the page. Every card but heading and tabs has a label of 1–60 characters, and a card can have up to 6 buttons (actions).
| Limit | |
|---|---|
unit (stat, sparkline, gauge, bars, breakdown, ranges, columns, pacing) | 1–16 characters; a tiles unit up to 16, or empty |
stat value / delta as a string | Up to 32 / 16 characters |
pacing elapsed / detail | 0 to 1 / up to 120 characters |
list items | Up to 500, each 1–160 characters, with an optional detail of 1–40 |
table | 1–4 columns (headings 1–32 characters), up to 10 rows, cells up to 60 characters |
sparkline points | 2–240 |
status detail | Up to 120 characters |
text body | 1–500 characters |
link url / detail | https:// only, up to 2,048 characters / up to 120 |
countdown at / detail | ISO 8601 with seconds and a zone / up to 120 characters |
map pins | Up to 10, labels 1–40 characters, a place 1–200. This Mac keeps up to 2,000 places it looked up. |
facts items | 1–12, keys 1–40 characters, values 1–80 |
gauge bands | 1–6 |
bars items | 1–20, labels 1–40 characters |
pacing items | 1–20, labels 1–40 characters, each with a target above 0 |
pacing details | up to 500 lines, text 1–80 characters, detail up to 40 |
breakdown items / detail | 2–6, labels 1–40 characters, values 0 or more / up to 120 characters |
ranges items / detail | 1–14, labels 1–24 characters, up to 2 info notes of 10 characters / up to 200 characters |
columns series / items / detail | 1–3 names of 1–24 characters / 1–48, labels 1–12 characters, one value per series / up to 200 characters |
fleet items | 1–60, names 1–24 characters, details up to 80, groups 1–24 characters; max_items 1–60 |
tiles items | Up to 60, labels 1–16 characters, values up to 24, details up to 80; decimals 0–4, scale above 0, max_items 1–60 |
heatmap items | Up to 371, dates spanning at most 371 days, labels up to 80 characters; thresholds 4 ascending numbers |
checklist items | Up to 20, text 1–120 characters, details up to 120 |
agenda days / items | 1–30 / up to 60, titles 1–80 characters, details up to 120 |
month items | Up to 120, titles 1–80 characters, details up to 120 |
code code / language | 1–4,000 characters / up to 24: a–z, 0–9, +, #, . and - |
heading text / detail | 1–80 / up to 120 characters |
tabs tabs / cards | 2–5, labels 1–24 characters / 1–12 cards in each, any type but tabs and heading |
An item's icon | Up to 80 characters |
Lengths count Unicode code points, as JSON Schema does.
These limits come from the page schema, which legato schema, get_page_schema and any editor that reads the file's $schema check against. When it loads a file, Legato itself checks the counts in the Pages table, the number of tabs and cards in them, unique card ids, required fields and their types, dates and colours. Keep text within the lengths above: they're what the cards are designed to show.
Sources
See Sources.
| Limit | |
|---|---|
How often (every) | At least 1m; 5m when left out |
| A request | 10 seconds without data, or 20 seconds in all |
| A button's request | 60 seconds, or the button's timeout, up to 30 minutes |
A button's GraphQL query (graphql.query) | 20,000 characters |
| A response | 1 MB; Legato stops reading past it |
| Named requests | 8 a source |
| Requests in one fetch | 64, counting a request with each_entry, each_row or follow as its max |
A request for each entry (each_entry) | Up to 50 entries sent (max, 20 when left out), 4 at a time, 0.1 seconds apart to one service; each entry's answer up to 256 KB; a list of more than 200 entries fails the request |
A request with every entry (all_entries) | Up to 100 entries (max, 50 when left out) |
A list across pages (follow) | Up to 20 pages (max, 10 when left out), one after another; at most 10,000 items and 8 MB joined |
Days in a list by day (by_day) | Up to 400, from through through |
A request for each row (each_row) | Up to 50 rows sent (max, 20 when left out), as each_entry sends; a kept answer (keep) for 1 minute to 24 hours |
A feed list (feeds) | Up to 30 feeds read, 4 at a time, each answer up to 1 MB; the newest 50 posts kept from each, and 200 in the merged items |
| After a failure | The wait doubles each time, up to 30 minutes (or the source's own every, if that's longer) |
A server's Retry-After | Honored, for up to 24 hours |
| Buttons on a card | 4 |
| Secret names | 1–48 characters: a–z, 0–9 and -, starting with a letter or digit |
| List names (Settings → Lists) | 1–48 characters: a–z, 0–9 and -, starting with a letter or digit |
A list set by an agent (set_list, legato lists set) | 64 KB (65,536 bytes) of entries in one request |
Legato also scans the Pages folder every 15 seconds, behind its file watch, so a change it wasn't told about (on a network volume, say) still shows within that time.
History
These apply on each Mac. See History.
| Limit | |
|---|---|
dataset name | 1–64 characters, a–z, 0–9 and -, starting with a letter or digit |
each | One path, or 2–4 |
key | Up to 256 characters, with at least one {…}; each field it uses must be text |
fields | 1–64 different paths |
remove_after | 1–16 fields, each with 1–16 markers of 1–64 characters, and up to 32 keep_exact phrases of 1–64 |
keep.for | 1d to 9999d |
readers | Up to 32 page ids |
| A date's text | Up to 80 characters; longer is undated |
| One row | 16 KB (16,384 bytes) of JSON, as kept; a larger one isn't kept |
One answer kept, or one rows add | 2,000 items and 8 MB (8,388,608 bytes) |
| A dataset's current history | 20,000 rows and 50 MB (52,428,800 bytes); the oldest rows make way |
| Every history on the Mac | 500 MB (524,288,000 bytes); a batch that would grow storage past it isn't kept |
| Gaps in collecting | More than twice the source's every, plus 2 minutes; the last 200 are kept for each history |
| A dataset whose page stops collecting it | Deleted after 30 days, unless the page comes back or it's transferred |
A rows add file | 32 MB (33,554,432 bytes) before it's read; the items in it, 2,000 and 8 MB |
| A rows request | 10 MB (10,485,760 bytes); one Legato hasn't reached in 2 minutes is dropped unanswered |
rows list | Up to 500 rows |
Waiting for an answer to legato rows | 30 seconds, more while Legato opens |
row on a dataset source | 16 names; 4 different rows per history; 1 KB of values per row; 32 MB of values per history and 128 MB in all |
| Older histories with no rows | The newest 20 of each dataset are kept |
Import details in coverage.imported | The newest 200 of each history |
| A request id | 1–64 letters, digits and -; answered again for 7 days, for the same dataset and operation |
sample.every | Minutes that divide an hour, 1m to 1h; not shorter than the source's every |
Sample fields | 1–16 names; a value is text of up to 256 characters, a number or true/false |
| One sample | 512 bytes of JSON; kept 365 days unless keep says |
| A history of samples | 10,000 items and 200 MB; its oldest day makes way, never another history's |
| Every history of samples | 400 MB, apart from records' 500 MB |
A read of samples without key | 100,000 samples |
| A rows answer the tool hasn't picked up | Removed after 1 minute |
Sizes are the rows' JSON, not the database file, which takes more on disk.
The 500-row limit is for rows list only: a page reading a history gets every row in its period.
Notifications
These apply on each Mac. See Notifications.
| Limit | |
|---|---|
| Notifications per page | 4 in any 10 minutes |
| Notifications in all | 20 in any 10 minutes |
A notify | Shown once per id per page; skipped if the file was last modified more than 24 hours before Legato sees it |
notify ids remembered per page | The last 50 |
| Quiet time after launch and wake | 30 seconds, then one summary if several things happened |
| Recent activity | The last 50 level changes per page, from the last 7 days |
Notifications over a limit are dropped, not delayed.
Macs
A license runs on up to 5 Macs at once. Settings → License lists them and can release one. Legato checks the license with the licensing server about once a day; it keeps working offline for 30 days after the last check, and 7 more if the server can't be reached. See License.