Triage
Get the triage profile
The triage preferences shared by every agent on the account: cadence, junk rules, VIPs, and quiet hours.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization |
string | Required | Bearer followed by your API key. |
Response
200 OK.
| Name | Type | Description |
|---|---|---|
profile.version |
number | Schema version of the profile. |
profile.defaults |
object | Account defaults: cadence, junkCategories, defaultActions, vip (people and domains), quietHours. |
profile.defaults.staleDraftDays |
number | Days before an unsent draft gets a reminder (0-30, default 3, 0 is off). |
profile.defaults.attentionDays |
number | Unread mail older than this many days no longer counts as needing attention, except VIP mail and mail from a person (0-90, default 7, 0 is off). |
profile.defaults.cleanup.auto |
boolean | When true, run_cleanup archives duplicate notifications and old calendar replies instead of only listing them. Default false. |
profile.defaults.cleanup.newsletterDays |
number | Unread newsletters older than this many days are archived by run_cleanup (0-90, default 14, 0 is off). |
profile.defaults.notes |
string | Standing instructions for the agent, up to 2000 characters; longer notes are cut on save. |
profile.defaults.screening.blocklist |
string[] | Sender domains (or full addresses for public mail domains) learned from spam reports. Mail from them counts as a strong spam signal. |
profile.defaults.screening.knownGood |
string[] | Addresses learned from mail dragged back out of Spam. Never checked for junk. |
profile.byInboxId |
object | Per-inbox overrides keyed by inbox id. |
profile.setupCompletedAt |
string | null | When the person finished first setup. |
setupCompleted |
boolean | true once setup is stamped or an inbox is connected and synced. |
Errors
Any route can also return 401 for a bad key, 402 when the trial ended or payment failed, and 429 when you send too many requests. See Errors.