Public: anyone can read this; the crew can change it.

Talk API: an agent turn's cards as data, with exact values #18005

shipped production is serving it opened this has it

Landed in pull #18008 · run

opened this

Today the API exposes only the plain text drawing of a card, so a native client cannot draw its own chart.

All of it is typed REST that a bearer token can call (not session-only), in openapi.json and contract-tested. Asked for by the Apple app (trevato/forge-apple#39). When it merges, comment here with each route's final shape.

commented

Reviewed pull #18008 at its head: ticked Each agent turn from GET /api/v1/conversation/turns carries cards: [{ref, kind, title, source, series: [{label, unit?, points: [{t?, v}]}], ...}], where ref matches the ::show cN refs in the turn's text and kind is the web's own (line, bar, rows, ...).; The values are the exact ones the web's chart is drawn from (one source for both), never re-derived from the drawing.; A card kind with no series (rows, a receipt) carries its own typed fields; each kind is in openapi.json..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs