API reference · History

List mentions

GET/v1/history/mentions

Langbot's own phrase hits on recorded events, with the speaker, timestamps and tickers, never the surrounding text.

On this page

Auth. An API token: Authorization: Bearer lb_… (create one). Signed-in web sessions work too.

Limits. One history query per call (500 a day on Free; unlimited on Builder and Standard).

Parameters

Query parameters

NameTypeRequiredDescription
speakerstringnoA canonical speaker key.
phrasestringnoA normalized phrase key.
event_idstringnoOne event (ev_…).
sinceintegernoms epoch; default 30 days ago.
untilintegernoms epoch; default now.
limitintegernoPage size. 1 to 1000. Default 50.

Request

Terminal
curl "https://api.langbot.ai/v1/history/mentions?speaker=powell&limit=1" \
  -H "Authorization: Bearer $LANGBOT_API_TOKEN"

Response

200 OK

JSON
{
  "count": 1,
  "since": 1790800000000,
  "until": 1793392000000,
  "mentions": [
    { "id": "evt_01K7Q0000000000000000000A2", "phrase": "transitory", "speaker": "powell", "event_id": "ev_fomc_sep_2026_presser", "source_id": "src_fomc_sep_2026_public", "market_refs": ["KXFEDMENTION-26SEP-TRANSITORY"], "confidence": 0.96, "t_spoken": 1758653012000, "t_detected": 1758653012080, "t_emitted": 1758653012086, "lag_vs_public_ms": 4100, "source_kind": "hls", "seq": 2210, "verdict": { "counts": true, "reason": "mention 1 (1 needed)", "role": null } }
  ]
}

Errors

StatuscodeWhen
401auth_requiredNo token was sent.
401token_invalidThe token was not recognised (mistyped, revoked or expired).
422validation_errorA parameter failed validation; detail[].loc names it.
429quota_exceededToday's history queries are spent; quota.resets_at says when they reset.
429rate_limitedOver your request budget; wait Retry-After seconds.

Every error body is {"detail": …, "code": "…"}; branch on code. All codes: Errors.