Tether
DocsPricingContactGet started

Reference

Block types

Nine types, one version. Every block carries a type and a stable id; everything else depends on the type.

The document

{
  "content_type": "application/vnd.tether.blocks.v1+json",
  "version": "tether.blocks.v1",
  "title": "Optional heading",
  "blocks": [ ],
  "meta": { "time_range": { "start": "…", "end": "…" } }
}

content_type and version are constants. blocks has at least one entry. meta is always an object. title is optional.

Unknown top-level keys and unknown block types are rejected — the document is validated strictly, then repaired or degraded rather than passed through. See The output contract.

text

Prose. The most common block by a wide margin.

{ "type": "text", "id": "summary", "variant": "body",
  "markdown": "Seven tickets are open. **T-4417** has been open 41 minutes." }
FieldRequiredNotes
markdownyesNon-empty. Inline markdown — bold, italic, links, code
variantnobody | caption | title

kpi

One or more headline numbers.

{ "type": "kpi", "id": "headline", "title": "Today",
  "items": [
    { "label": "Open tickets", "value": 7 },
    { "label": "Average wait", "value": 12.5, "delta": -0.18, "intent": "positive" }
  ] }
FieldRequiredNotes
itemsyesAt least one
items[].labelyesNon-empty string
items[].valueyesNumber, never a formatted string
items[].deltanoNumber. A fraction, not a percentage — 0.12 is +12%
items[].intentnopositive | neutral | negative
titlenoString

intent is a judgement, not a sign. Costs falling is positive even though the delta is negative — render the colour from intent and the arrow from delta.

table

Columnar data with declared columns.

{ "type": "table", "id": "by_team", "title": "Open tickets by team",
  "columns": [
    { "key": "team", "label": "Team", "align": "left" },
    { "key": "open", "label": "Open", "align": "right" }
  ],
  "rows": [
    { "team": "Billing", "open": 14 },
    { "team": "Deliveries", "open": 9 }
  ],
  "ui_hints": { "sortable": true } }
FieldRequiredNotes
columnsyesAt least one
columns[].keyyesMatches a key on each row
columns[].labelyesHeader text
columns[].alignnoleft | center | right
rowsyesAt least one object
title, ui_hintsno

Render only the declared columns, in the declared order. A row may carry keys no column names — ignore them rather than rendering a ragged table.

ranked_list

An ordered list where position carries meaning.

{ "type": "ranked_list", "id": "movers", "title": "Biggest movers",
  "rows": [
    { "label": "Produce", "value": 3120.4, "rank": 1, "trend": "up", "note": "up 31% on last month" },
    { "label": "Dairy", "value": 1980, "rank": 2, "trend": "flat" }
  ] }
FieldRequiredNotes
rowsyesAt least one object
title, ui_hintsno

stacked_bar

A single bar split into parts. A composition, not a time series.

{ "type": "stacked_bar", "id": "spend_split", "title": "Where it went",
  "value_label": { "prefix": "$", "text": "8,420", "unit": "USD" },
  "segments": [
    { "key": "produce", "label": "Produce", "value": 3120.4, "token": "series_1" },
    { "key": "meat", "label": "Meat", "value": 2870, "token": "series_2" },
    { "key": "dry", "label": "Dry goods", "value": 2429.6, "token": "series_3" }
  ],
  "ui_hints": { "show_legend": true } }
FieldRequiredNotes
segmentsyesAt least two. One segment is not a composition
segments[].keyyesStable identifier
segments[].labelyesDisplay text
segments[].valueyesNumber, zero or greater
segments[].tokenyesOne of the theme tokens below
value_labelnotext, prefix, suffix, unit
title, ui_hintsno

cards

Items a visitor chooses between: products, offers, listings, services. Drawn as a carousel, with filter chips when there are groups.

{ "type": "cards", "id": "options", "title": "Children's fever relief",
  "groups": [ { "key": "paracetamol", "label": "Paracetamol" }, { "key": "ibuprofen", "label": "Ibuprofen" } ],
  "cards": [
    { "id": "sku-118", "title": "Paracetamol syrup 120mg/5ml 125ml", "eyebrow": "Paracetamol",
      "group": "paracetamol", "image": "https://cdn.example.com/sku-118.png",
      "price": { "amount": 7.92, "was": 10.15, "currency": "GEL" },
      "availability": { "state": "in_stock", "label": "In stock" },
      "ask": { "label": "Details", "prompt": "Tell me more about sku-118" } }
  ] }
FieldRequiredNotes
cardsyesAt least one; Tether keeps the first 12
cards[].id, cards[].titleyes
cards[].eyebrow, subtitlenoBrand or category above the title; one line below it
cards[].imagenohttps only, and only an address a tool result of this turn contained
cards[].priceno{ amount, was?, currency, max?, qualifier?, unit?, unit_text?, duration_minutes?, variant? }, numbers from a tool result. amount, was, max and duration_minutes are numbers; currency, qualifier, unit, unit_text and variant are strings. qualifier is one of exact, from, upto, range, approx, free, on_request; max is the top of a range. amount and currency may be left out only when qualifier is free or on_request. A discount is computed from was
cards[].availabilityno{ state, label? }, state one of in_stock, low_stock, out_of_stock, unknown
cards[].factsnoShort strings; Tether keeps the first 6
cards[].groupnoThe key of one of the block's groups
cards[].askno{ label, prompt }: a button that sends prompt as the next question
cards[].phone, cards[].locationnoA call button; { lat, lng } for a directions button
cards[].urlnoThe item's own page: https, in a tool result of this turn, on your site (links)
cards[].imagesnoMore pictures for a detail view: https strings, each in a tool result; Tether keeps the first 6
cards[].descriptionnoPlain text; Tether cuts it to 400 characters
cards[].attributesno[{ label, value }], both strings from a tool result, such as a size or a material; Tether keeps the first 8. A variants label is shown as "Versions" in the visitor's language
cards[].categorynoThe item's category from a tool result. Shown as the name when the title is only the brand or has no letters
cards[].sourcenoAn object: where a price read from your website came from, such as { kind, title, url, page } with kind page or pdf. Only on items from a whole-site read
cards[].conflictnoAn array of objects, each another price for the same item, read elsewhere on your site: { amount, max?, qualifier, currency, source }
cards[].alternatesno{ "<language>": url }, at most 8 lower-case language codes, each link under the same rule as url. The widget opens the one in its language, else url
groupsno{ key, label } filter chips, counted and filtered on the page
totalnoHow many match when fewer are shown: a number at least the number of cards, equal to one in a tool result. Draw it as "8 of 1,546"
moreno{ url, alternates? }: the full list on your site, under the same rule as a card's url, with the same list in other languages like a card's alternates
titleno

An answer from the public catalogue search looks like this:

{ "type": "cards", "id": "results", "title": "Women's boots", "total": 1546,
  "more": { "url": "https://yourshop.com/ka/30137-boots" },
  "cards": [
    { "id": "940253", "title": "LOW SUEDE RUNNER", "eyebrow": "Tommy Jeans",
      "url": "https://yourshop.com/ka/…/940253-low-suede-runner.html",
      "image": "https://media.yourshop.com/5280899-large_default/runner.webp",
      "images": ["https://media.yourshop.com/5280899-large_default/runner.webp"],
      "description": "Suede and textile upper, rubber sole.",
      "attributes": [ { "label": "Size", "value": "38" } ],
      "price": { "amount": 359, "currency": "GEL" } }
  ] }

places

Locations a visitor goes to or contacts: branches, shops, offices, service points. A list with hours, distance and buttons, and a map when the page provides tiles.

{ "type": "places", "id": "branches", "title": "Tbilisi: all closed now", "total": 40,
  "timezone": "Asia/Tbilisi",
  "places": [
    { "id": "n109", "name": "N109 (Tavdadebuli St)", "address": "Tavdadebuli St 40a",
      "location": { "lat": 41.7841, "lng": 44.7712 }, "phone": "577 23 16 09",
      "distance_km": 2.4, "duration_min": 9,
      "hours": [ { "days": "mon-sun", "open": "08:00", "close": "22:00" } ] }
  ] }
FieldRequiredNotes
placesyesAt least one, nearest or most relevant first; Tether keeps the first 30
places[].id, places[].nameyes
places[].address, noteno
places[].locationno{ lat, lng } from a tool result: a directions button and a map pin
places[].phonenoFrom a tool result: a call button
places[].distance_km, duration_minnoFrom a tool result only, never from a guess about where the visitor is
places[].hoursno[{ days, open, close }], days a day or range of mon…sun, times HH:MM. A close earlier than the open runs past midnight
places[].asknoAs in cards
timezonenoThe IANA zone the hours are in. The renderer, not the model, says whether a place is open now
totalnoHow many exist when fewer are shown
title, subtitleno

Provenance

An image, a price, a phone number, a coordinate, a distance or a travel time in a cards or places block must appear in a tool result of the same turn. Tether removes any that does not before the answer leaves, and the answer still renders without it. The same holds for a card's images and attributes and a block's total. The model chooses and arranges; it does not supply the facts a visitor acts on.

A button asks a question, dials digits, or opens directions built from coordinates. The only addresses a visitor can open are a card's url and a block's more.url, and Tether keeps one only when it is https, carries no user name or password, appears exactly as written in a successful tool result of the same turn, and is on your own site (the website your preview read, www. and the bare domain counted as one). Anything else is removed. A model cannot write an address of its own into an answer; open these in a new tab with rel="noopener noreferrer".

quick_replies

Suggested follow-up questions.

{ "type": "quick_replies", "id": "followups",
  "replies": [
    { "id": "r1", "label": "Show the oldest" },
    { "id": "r2", "label": "Group by server" }
  ] }
FieldRequiredNotes
repliesyesAt least one
replies[].idyesStable within the block
replies[].labelyesThe text to send back as the next prompt

footnote

A caveat about the answer above it — a truncated result, a stale figure, an assumption.

{ "type": "footnote", "id": "caveat", "text": "Excludes tickets closed before 06:00." }
FieldRequiredNotes
textyesPlain text. No markdown, no other fields

Theme tokens

Colour is chosen by the model from a fixed set of semantic tokens, never as a hex value. Your renderer maps each token to your palette, so an answer looks like your product and adapts to dark mode without the model knowing either exists.

TokenIntended use
series_1 … series_6Categorical series in a chart
section_positiveA favourable grouping
section_warningA grouping needing attention
section_actionA grouping requiring action
severity_goodHealthy
severity_neutralInformational
severity_warningDegraded
severity_criticalUrgent

Any other value fails validation. There is no eighth series token — a chart needing more than six categories should aggregate a tail.

ui_hints

Advisory. Ignoring any of them is valid.

HintType
compactboolean
sortableboolean
show_legendboolean
x_labelstring
y_labelstring

meta

{
  "time_range": { "start": "2026-07-21", "end": "2026-08-20" },
  "customer_language": "en",
  "reply_language": "en",
  "knowledge": ["refund-policy"]
}

meta is server-owned. The model may write a meta of its own in its envelope; Tether drops all of it and builds the response's meta itself: time_range from the request's period, the language fields, knowledge naming the knowledge documents a turn drew on, and the rest documented with the chat response. A model cannot cite a source or claim a document this way, and a field in its meta never makes an answer fail validation. The only exception is mock mode, whose scripted mock, tool and tool_result are kept.

Numbers are numbers

Any field named value, amount, amount_estimate, confidence or rank inside blocks must be a JSON number. "84.50" fails validation wherever it appears in a block.

Formatting — currency symbols, thousands separators, locale — is your renderer's job, which is half the point of the contract.

Row fields

Rows in table and ranked_list are constrained by the schema the model generates against. Alongside the general fields — id, label, value, rank, amount, note, secondary, trend, category, unit, status, severity, confidence, token — the schema carries a handful of narrower names such as itemName, storageName, alertPoint, deficit, reorderQuantity, shortagePercent and recommendedAction.