newsletter
body · string The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest. | The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest. |
namerequired
body · string What the briefing is called in the dashboard | What the briefing is called in the dashboard |
status
body · "active" | "paused" active runs on the schedule, which needs the brief's topic and a key and model for every step it uses; paused (the default for a new one) makes nothing | active runs on the schedule, which needs the brief's topic and a key and model for every step it uses; paused (the default for a new one) makes nothing |
brief
body · object What to look for, instead of a list of sources; fields left out keep their value | What to look for, instead of a list of sources; fields left out keep their value |
brief.topic
body · string What the briefing is about, 500 characters at most. Discovery searches from it. | What the briefing is about, 500 characters at most. Discovery searches from it. |
brief.audience
body · string Who reads it and what they care about, 2,000 characters at most | Who reads it and what they care about, 2,000 characters at most |
brief.useful
body · string What makes a story worth their time, 2,000 characters at most | What makes a story worth their time, 2,000 characters at most |
brief.examples
body · object[] Stories you would have wanted, 10 at most: discovery searches like them and the ranker starts from them. Sending the list replaces it. | Stories you would have wanted, 10 at most: discovery searches like them and the ranker starts from them. Sending the list replaces it. |
trustedOutlets
body · string[] Outlets whose stories score higher and whose feeds are read each run, never a limit on what is searched, 50 at most, as host names (example.com). Sending the list replaces it. | Outlets whose stories score higher and whose feeds are read each run, never a limit on what is searched, 50 at most, as host names (example.com). Sending the list replaces it. |
blockedHosts
body · string[] Hosts never fetched or cited for this briefing, whatever their robots.txt says, 100 at most, as host names (example.com). Sending the list replaces it. | Hosts never fetched or cited for this briefing, whatever their robots.txt says, 100 at most, as host names (example.com). Sending the list replaces it. |
discovery
body · object How wide discovery searches, and with which keys; fields left out keep their value | How wide discovery searches, and with which keys; fields left out keep their value |
discovery.searchKeyId
body · string | null The account's TinyFish key (list_ai_keys, kind search), used under its holder's own TinyFish account and terms; null for the free indexes only | The account's TinyFish key (list_ai_keys, kind search), used under its holder's own TinyFish account and terms; null for the free indexes only |
discovery.candidateFeedKeyId
body · string | null A candidate-feed key: an https JSON list of candidates read with a bearer key; null for none | A candidate-feed key: an https JSON list of candidates read with a bearer key; null for none |
discovery.maxQueries
body · integer Searches per run: 16 by default, 40 at most | Searches per run: 16 by default, 40 at most |
discovery.resultsPerQuery
body · integer Results kept per search: 10 by default, 25 at most | Results kept per search: 10 by default, 25 at most |
discovery.maxCandidates
body · integer Candidates kept after merging: 300 by default, 600 at most | Candidates kept after merging: 300 by default, 600 at most |
discovery.shortlist
body · integer Stories ranked into the shortlist: 40 by default, 80 at most | Stories ranked into the shortlist: 40 by default, 80 at most |
discovery.followLinks
body · integer Outbound links followed per strong article: 5 by default, 10 at most | Outbound links followed per strong article: 5 by default, 10 at most |
discovery.lookbackHours
body · integer How far back a run looks for news, in hours; older items are dropped: 30 by default, 168 at most | How far back a run looks for news, in hours; older items are dropped: 30 by default, 168 at most |
discovery.mondayLookbackHours
body · integer How far back a Monday run looks, in hours, so the weekend is covered: 72 by default, 168 at most | How far back a Monday run looks, in hours, so the weekend is covered: 72 by default, 168 at most |
discovery.discoveryBudgetUsd
body · number What paid search may cost per run, in USD: 0 by default, which keeps discovery on free indexes and free tiers; 20 at most | What paid search may cost per run, in USD: 0 by default, which keeps discovery on free indexes and free tiers; 20 at most |
schedule
body · object When it runs; fields left out keep their value | When it runs; fields left out keep their value |
schedule.days
body · integer[] The days it runs, 1 (Monday) to 7 (Sunday). Default 1, 2, 3, 4, 5. | The days it runs, 1 (Monday) to 7 (Sunday). Default 1, 2, 3, 4, 5. |
schedule.time
body · string HH:MM in timeZone. Default 06:00. | HH:MM in timeZone. Default 06:00. |
schedule.timeZone
body · string An IANA time zone like Europe/Paris. Default UTC. | An IANA time zone like Europe/Paris. Default UTC. |
styleGuide
body · string How the issue is written: voice, length, structure, words to avoid, 8,000 characters at most | How the issue is written: voice, length, structure, words to avoid, 8,000 characters at most |
languages
body · "en" | "es" | "fr" | "de" | "it" | "pt"[] The issue is written in the first; the translate step writes the others for readers who choose them (beta). From en, es, fr, de, it, pt. Default en. | The issue is written in the first; the translate step writes the others for readers who choose them (beta). From en, es, fr, de, it, pt. Default en. |
stories
body · object How many stories an issue has; fields left out keep their value | How many stories an issue has; fields left out keep their value |
stories.minFull
body · integer The fewest full stories (a paragraph or two each) an issue has when enough score high: 6 by default | The fewest full stories (a paragraph or two each) an issue has when enough score high: 6 by default |
stories.maxFull
body · integer The most full stories: 10 by default, 15 at most | The most full stories: 10 by default, 15 at most |
stories.briefItems
body · integer One-line items with a link after the full stories: 10 by default, 20 at most | One-line items with a link after the full stories: 10 by default, 20 at most |
sections
body · object[] The issue as a labelled skeleton of sections, in reading order, 12 at most. Sending the list replaces it; [] goes back to full stories then one-line items (stories). A section with no story is left out of the issue. | The issue as a labelled skeleton of sections, in reading order, 12 at most. Sending the list replaces it; [] goes back to full stories then one-line items (stories). A section with no story is left out of the issue. |
sections[].idrequired
body · string A stable id for the section: lower-case letters, digits and dashes, like market-pulse | A stable id for the section: lower-case letters, digits and dashes, like market-pulse |
sections[].titlerequired
body · string Its heading in the issue, 60 characters at most | Its heading in the issue, 60 characters at most |
sections[].purpose
body · string What belongs in it, 400 characters at most: stories are assigned to the section whose purpose they fit | What belongs in it, 400 characters at most: stories are assigned to the section whose purpose they fit |
sections[].formatrequired
body · "sentences" | "one-liners" sentences: a sentence or two per story, with its numbers. one-liners: one sourced line per story. | sentences: a sentence or two per story, with its numbers. one-liners: one sourced line per story. |
sections[].maxItemsrequired
body · integer The most stories it holds, 1 to 25 | The most stories it holds, 1 to 25 |
sections[].budgetShare
body · integer | null Its percent of the extract and write steps' budget. The shares given add up to 100 at most; without any, the budget is split evenly between the sections. | Its percent of the extract and write steps' budget. The shares given add up to 100 at most; without any, the budget is split evenly between the sections. |
sections[].priority
body · integer | null Which sections are written first when the budget runs short, 1 first (to 12); without one, the reading order decides | Which sections are written first when the budget runs short, 1 first (to 12); without one, the reading order decides |
sections[].icon
body · string | null The icon beside its heading in the email and on the web page: lead, market-pulse, earnings, roundup, deal-flow, regulation, people, launches, coming-up, generic. Without one it takes the key matching the section's id (a section with the id earnings gets earnings), else the one a usual title names (Earnings and filings, People moves), else generic. | The icon beside its heading in the email and on the web page: lead, market-pulse, earnings, roundup, deal-flow, regulation, people, launches, coming-up, generic. Without one it takes the key matching the section's id (a section with the id earnings gets earnings), else the one a usual title names (Earnings and filings, People moves), else generic. |
minScore
body · integer The score, 0 to 100, a story needs to be a full story. Default 60. | The score, 0 to 100, a story needs to be a full story. Default 60. |
steps
body · object The model key and model of each step; null clears one. translate is needed only with more than one language. A TypeSafe key works for triage and check only, and check must use another model than write. | The model key and model of each step; null clears one. translate is needed only with more than one language. A TypeSafe key works for triage and check only, and check must use another model than write. |
steps.query
body · object | null | |
steps.triage
body · object | null | |
steps.extract
body · object | null | |
steps.write
body · object | null | |
steps.check
body · object | null | |
steps.translate
body · object | null | |
stepBudgets
body · object Each step's share of budgetUsd in percent; the six add up to 100. Fields left out keep their value. | Each step's share of budgetUsd in percent; the six add up to 100. Fields left out keep their value. |
stepBudgets.query
body · integer Percent of budgetUsd, 5 by default | Percent of budgetUsd, 5 by default |
stepBudgets.triage
body · integer Percent of budgetUsd, 10 by default | Percent of budgetUsd, 10 by default |
stepBudgets.extract
body · integer Percent of budgetUsd, 35 by default | Percent of budgetUsd, 35 by default |
stepBudgets.write
body · integer Percent of budgetUsd, 20 by default | Percent of budgetUsd, 20 by default |
stepBudgets.check
body · integer Percent of budgetUsd, 15 by default | Percent of budgetUsd, 15 by default |
stepBudgets.translate
body · integer Percent of budgetUsd, 15 by default | Percent of budgetUsd, 15 by default |
prices
body · object[] Prices for models the built-in price table doesn't have, or to override it. A model with no known price can't run under the budget. | Prices for models the built-in price table doesn't have, or to override it. A model with no known price can't run under the budget. |
prices[].modelrequired
body · string The model's name, as in steps | The model's name, as in steps |
prices[].inputPerMillion
body · number | null USD per million input tokens | USD per million input tokens |
prices[].outputPerMillion
body · number | null USD per million output tokens | USD per million output tokens |
budgetUsd
body · number The most a run may spend on model calls, in USD: 0.25 by default, 20 at most. A call that would pass it isn't made. | The most a run may spend on model calls, in USD: 0.25 by default, 20 at most. A call that would pass it isn't made. |
publishTo
body · "both" | "web" Where each issue goes: both (email and a web page, the default) or web (a page on the newsletter's website and no email, for a newsletter with no list yet). A change made through the API or MCP turns sending by itself back off. | Where each issue goes: both (email and a web page, the default) or web (a page on the newsletter's website and no email, for a newsletter with no list yet). A change made through the API or MCP turns sending by itself back off. |
reviewMode
body · "draft" | "send_if_checks_pass" draft: each issue waits as a draft for review. send_if_checks_pass is turned on by the owner in the dashboard (set_briefing_auto_send), never through here: sending it here is refused, and draft turns it off. | draft: each issue waits as a draft for review. send_if_checks_pass is turned on by the owner in the dashboard (set_briefing_auto_send), never through here: sending it here is refused, and draft turns it off. |
testEmail
body · string | null Where the test email of each run goes: the owner's or a team member's address. Default: yours. | Where the test email of each run goes: the owner's or a team member's address. Default: yours. |
Comments
Readers' comments on the web issues: settings, moderation with reasons the author always sees, reports, and blocking a commenter.
Read Reply Rules
/api/v1/reply-rulesReads the newsletter's public written comment rules and optional classification from recent consenting manually hidden examples. No model call. Hidden comment text and reader metadata are never returned here.
get_reply_rulesKeyRead only keys and upRead-onlySafe to repeatnewsletterquery · string
The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest.
List comments
/api/v1/commentsLists a newsletter's comments across its issues, newest first, 50 a page, with what each needs from you: held comments wait for your review (reason included), reported ones have open reports. A comment's author sees the same reason you do. Readers comment on the newsletter's web issues once they sign in with a link emailed to them: they have no account and no password, and other readers never see their email. Also returns the newsletter's comment settings and how many comments are in each state. Pass nextCursor back as cursor for the next page.
list_commentsKeyRead only keys and upRead-onlySafe to repeatnewsletterquery · string
The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest.
statusquery · "published" | "held" | "hidden" | "removed"
Only comments in this state
reportedquery · boolean
true: only comments with open reports
issuequery · string
Only this issue's comments: the campaign's ID
limitquery · integer
Comments per page, 50 by default, 100 at most
cursorquery · string
nextCursor from the previous page
Get a comment
/api/v1/comments/{id}Gets one comment with its author, the comment it replies to, how many replies it has and every report of it.
get_commentKeyRead only keys and upRead-onlySafe to repeatidrequiredpath · string
The comment's ID
Approve, hide or remove a comment
/api/v1/comments/{id}/moderateDecides a comment. approve: shows a held, hidden or removed comment on the issue's page, and dismisses its reports. hide: takes it off the page, kept, and you can approve it again. remove: takes it off the page for good unless you approve it again. Hiding and removing need a reason (500 characters at most): the author always sees it, on the issue's page and in an email through the usual sending path (suppressed addresses and blocked accounts get none). Hiding or removing settles the comment's open reports as actioned. A comment its author deleted can't be approved.
moderate_commentKeySend with approval keys and upSafe to repeatidrequiredpath · string
The comment's ID
actionrequiredbody · "approve" | "hide" | "remove"
approve, hide or remove
reasonbody · string
Required for hide and remove; the author reads it. 500 characters at most.
Set comment settings
/api/v1/comments/settingsChanges a newsletter's comment settings; send only what changes. enabled turns comments on or off for the web issues (off by default). who: everyone subscribed, or paid subscribers only. moderation: none, hold_links (a comment with a link waits for your review) or hold_all. notifyOwner: the digest email, at most one an hour. A comment is held with a reason you can read in list_comments. To change one issue, send its campaign ID and issueComments: on, off, or default to follow the newsletter; that works for a sent issue too, to close a thread. Comments need the newsletter's website on, and never show on an issue for paid subscribers only, whose page is a teaser. Readers sign in with a link emailed to them (no password), and a comment needs an active subscriber.
set_comment_settingsKeySend with approval keys and upSafe to repeatnewsletterbody · string
The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest.
enabledbody · boolean
Comments on or off for the newsletter's web issues
whobody · "everyone" | "paid"
everyone: any active subscriber. paid: paid subscribers only.
moderationbody · "none" | "hold_links" | "hold_all"
none: comments show at once. hold_links: a comment with a link waits for you. hold_all: every comment waits for you.
notifyOwnerbody · boolean
Whether you get the digest email, one an hour at most, about new comments and reports
campaignbody · string
An issue's campaign ID, to set its own word on comments with issueComments
issueCommentsbody · "on" | "off" | "default"
on or off for that issue, or default to follow the newsletter again
Block a commenter
/api/v1/comments/blockTurns commenting off for one subscriber, with a reason (500 characters at most) that they read when they try to comment. Their contact stays subscribed and keeps getting every email; their earlier comments stay as they are, and you can hide or remove them with moderate_comment. Repeating it changes the reason.
block_commenterKeySend with approval keys and upSafe to repeatcontactrequiredbody · string
The contact's ID
reasonrequiredbody · string
Why, in your words, 500 characters at most. The comment's author reads it.
Unblock a commenter
/api/v1/comments/unblockLets a blocked subscriber comment again.
unblock_commenterKeySend with approval keys and upSafe to repeatcontactrequiredbody · string
The contact's ID
List comment reports
/api/v1/comments/reportsLists the reports subscribers made of a newsletter's comments, newest first, 50 a page: who reported which comment and what they said. Nothing happens to a reported comment by itself: you decide with moderate_comment, which settles its open reports. Pass nextCursor back as cursor for the next page.
list_comment_reportsKeyRead only keys and upRead-onlySafe to repeatnewsletterquery · string
The newsletter's ID or slug. Default: the account's first newsletter, the one it has had longest.
statusquery · "open" | "actioned" | "dismissed"
Only reports in this state; open ones need you
limitquery · integer
Reports per page, 50 by default, 100 at most
cursorquery · string
nextCursor from the previous page