{"asOf":"2026-11-24T13:29:07.768Z","serverInfo":{"name":"@tickerbot/mcp-server","version":"0.2.0"},"protocolVersion":"2025-06-18","supportedProtocolVersions":["2025-06-18","2025-03-26","2024-11-05"],"tools":[{"name":"tickerbot_scan","description":"Screens every ticker with a SQL `WHERE` clause and returns the matches. Run it now, or add `asof` to backtest it on any past date. The `q` grammar is a flat SQL WHERE over signal names: AND/OR/NOT, comparisons, numeric and string literals, custom signals by name. No JOIN or subqueries. With `group_by` the result is rollup rows, not tickers. Example: `gap_up AND market_cap < 2000000000 AND NOT earnings_this_week`.","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"SQL WHERE expression. Max 4000 chars; semicolons, comments and write keywords are rejected. Your custom signals are valid here: each expands to its SQL at run time. To scan named tickers: `ticker IN ('AAPL', 'MSFT')`; to scan one asset class: `asset_class = 'crypto'`."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`. Omitted, the screen runs across every ticker."},"asof":{"type":"string","description":"Target moment as `YYYY-MM-DD` (that day's close) or an ISO timestamp (that intraday moment; daily-only signals then carry the previous session's close, never that day's): the same read as it stood then. In `q`, `now()` and `current_date` mean that moment, so `last_earnings_date >= now() - interval '7 days'` backtests as written. Full contract under As of a past date."},"grain":{"type":"string","description":"Only with `asof`. Grain the past state is read at: `1m`, `1h`, `1d` or `auto` (default). `auto` blends: each signal comes from its freshest grain at or before the instant (minute, then hourly, then the last closed daily session), so nothing is refused for grain and no ticker is dropped; `_meta.blended` and `_meta.grains_present` say what contributed. Pin a grain for the fastest response: one grain is read instead of three, and every ticker is captured on the same clock. A signal the pinned grain does not store is a `400 interval_unavailable` naming the grains that carry it (`rsi_14`, fundamentals and valuation ratios are `1d`-only). `1m` and `1h` need a timestamp `asof`; with a bare date they are a `400 interval_unavailable`. Under `auto`, `_meta.plan_limits.grain` names the finest grain served when a finer one was not served, and where finer is. Values: 1m: Minute. The one-minute state at or before the instant. Covers the most liquid tickers and the signals stored at one minute. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1h: Hour. The hourly state at or before the instant. Covers every ticker and the signals stored hourly. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1d: Day. The last daily session closed before the instant; a bare date reads that day’s close. Covers every ticker and the most signals, including the daily-only ones such as `rsi_14`, fundamentals and valuation ratios. auto: Auto. Each signal from its freshest grain at or before the instant: minute, then hourly, then the last closed daily session. `_meta.blended` and `_meta.grains_present` say what contributed.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|[aA][uU][tT][oO])\\s*$","default":"auto"},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each result carries, as in SQL. Omitted: the default row (ticker, name, asset_class, asset_type, price, change_1d_pct, gap_pct, relative_volume, market_cap) plus every signal used in `q` and `order`; a custom signal appears as its own value, and a cross-ticker reference (`SPY.sma_50`) is not added. A list: exactly those items, `ticker` always included; expressions with `AS` work (`price / sma_50 AS dist`) and are validated like `q`. `*`: every signal in the catalog. All aggregates (`count(*), avg(rsi_14)`) without `group_by`: one summary row, in `results`. With `group_by`, each item is an aggregate or a group key. Aggregates: count/avg/sum/min/max/stddev/string_agg/bool_and/bool_or, plus `FILTER (WHERE …)`."},"group_by":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Groups the scan: 1–6 group keys (signals, expressions or one of your custom signals as a boolean key). Results become rollups in `results`, each carrying its keys. Name a key with `AS` to choose its JSON key (`market_cap > 1e11 AS mega`); an un-named expression is named for you. Default `select`: the keys + `COUNT(*) AS tickers`. Works with `asof`; does not paginate."},"having":{"type":"string","description":"Only with `group_by`. Filter the rollups. Custom signals are valid here too."},"order":{"type":"string","description":"Signal to sort by; it joins the default row. On a grouped scan the default is the count alias `tickers` (or, with a custom `select`, the last item's alias, so alias it with `AS`), sorted NULLS LAST with the group keys as tiebreak.","default":"change_1d_pct"},"dir":{"type":"string","description":"Sort direction. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"limit":{"type":"integer","description":"Page size: rows on a row scan, groups on a grouped scan. Max 1000. Grouped scans do not paginate: without `limit` they return every group up to 1000, and `truncated: true` when groups were cut, so sort with `order` to keep the ones you want.","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param. Row scans only."}},"required":["q"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (`as_of`); when `_meta.data_as_of_close` or `_meta.delayed_minutes` is present, the time the data is from."},"query":{"type":["object","null"],"description":"Your query, echoed in param order (`q`, `universe`, `asof`, `grain`, `select`, `group_by`, `having`, `order`, `dir`, `limit`, `cursor`), each with its effective value: `select` lists the signals each result carries."},"count":{"type":["number","null"],"description":"Rows in this page (matches on a row scan, groups on a grouped scan). It is not a total: for one, scan with `select=count(*)`."},"results":{"type":["array","null"],"items":{"type":"object","properties":{"ticker":{"type":["string","null"]},"tenure_start":{"type":["string","null"]},"tenure_end":{},"held_at_asof":{},"symbol_reused":{"type":["boolean","null"]},"predecessors":{"type":["array","null"],"items":{"properties":{"name":{},"cik":{},"composite_figi":{},"tenure_start":{},"tenure_end":{}}}},"prior_symbols":{"type":["array","null"],"items":{"properties":{"ticker":{},"tenure_start":{},"tenure_end":{}}}},"current_ticker":{},"date":{}}},"description":"Row scans: one result per match, carrying what `select` asked for (see `select`). Grouped scans (`group_by`, or a `select` of aggregates alone): one row per group, carrying the group keys, then the `select` items under their aliases (default: `tickers`, the count). A `select` of aggregates alone without `group_by` returns one row."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`. Row scans only."},"_meta":{"type":["object","null"],"description":"Present when there is something to disclose. Row scans add `null_coverage`: per signal in the predicate (under `signals`), how many in-scope tickers are `null` and therefore never evaluated; absence from `results` means \"no value\", not \"did not match\". With `asof`: `grain_scope` (the snapshot spans every ticker in scope at one grain), `signals_not_stored_at_grain` (default-row signals this grain does not store, returned as `null`), `minute_only_signals_fell_back_to_daily`, `empty_diagnostic` (on an empty result, each signal's coverage at that instant) and a `note` naming the signals that have no history and show today's value. Shared keys: see the `_meta` reference."},"truncated":{"description":"On grouped scans (`group_by`, or a `select` of aggregates alone), on every response: `true` when the rollup stopped at its result cap, `false` when the list is whole. Grouped responses are unpaged, so `next_cursor` is absent there."},"not_found":{"description":"With `universe` only: the `universe` id you named when it does not exist (the scan then has no results). Absent otherwise."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","results"],"additionalProperties":false},"endpoint":{"method":"POST","path":"/v2/scan","route":"/v2/scan","paramLocation":{"q":"body","universe":"body","asof":"body","grain":"body","select":"body","group_by":"body","having":"body","order":"body","dir":"body","limit":"body","cursor":"body"},"accepts":{"as_of":"body","interval":"body","columns":"body","fields":"body","full":"body","asset_class":"body"}},"rail":"scan","page":"run"},{"name":"tickerbot_subscribe_scan","description":"Gets you an alert by webhook each time a ticker starts matching a screen. Each webhook takes one of your plan's webhook slots. Use for \"alert me when this happens\" requests. For one signal use tickerbot_subscribe_signal; a compound condition is a scan: `q: golden_cross AND rsi_14 > 70`.","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"WHERE-clause expression using signal names: the same grammar and the same 4000-char cap as `POST /v2/scan`, so anything scannable is subscribable. Custom signals are expanded and frozen in at creation."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one is a 400 `universe_not_found` naming it."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each delivered match carries. Omitted: the scan default row (ticker, name, asset_class, asset_type, price, change_1d_pct, gap_pct, relative_volume, market_cap) plus every signal used in `q` and `order`. A list of signal names: exactly those, `ticker` always included. Each must be a real signal; unknown ones are rejected at creation. `*` and expressions are a 400: a delivery lists up to 100 matches, so name the signals."},"order":{"type":"string","description":"Signal each delivery's match lists are sorted by before the 100-result cap applies, so a broad alert lists the same top 100 each time. Must be a real signal (validated at creation).","default":"market_cap"},"dir":{"type":"string","description":"Sort direction for `order`. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"channel":{"type":"string","description":"Delivery channel: `webhook` (POST to `target_url`), `discord` (an embed at `discord_url`), `in_app` (the dashboard only) or `mobile_push` (to `device_id`). Inferred when omitted: `discord` if `discord_url` is set, else `mobile_push` if `device_id` is set, else `webhook` if `target_url` is set, else `in_app`. See Delivery channels. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"Only with `channel=webhook`. HTTPS URL each delivery is POSTed to."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL (`https://discord.com/api/webhooks/…`). Stored as a posting credential: the create response echoes it back under `channel_config`, but every later read (list, get, deliveries) strips it and sets `channel_config_present: true` instead."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`. An unknown id is a 400 `device_not_found`."},"cadence":{"type":"string","description":"When the webhook runs: `realtime` (the default) on every refresh of your data (When webhooks run), `nyse_open` once a day at the 9:30 AM ET open. Values: realtime: Runs on every refresh of your data and fires when a ticker starts matching (When webhooks run). The default. nyse_open: Runs once a day at the 9:30 AM ET open, on NYSE trading days.","pattern":"^\\s*([rR][eE][aA][lL][tT][iI][mM][eE]|[nN][yY][sS][eE]_[oO][pP][eE][nN])\\s*$"},"name":{"type":"string","description":"Display name, up to 80 characters. Defaults to `scan: ` plus the first 60 characters of `q`."}},"required":["q"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"channel_config":{"description":"Returned on create only: the channel-specific delivery settings as stored (e.g. the Discord URL, the device id)."},"signing_secret":{"description":"Returned on create only, and shown once. HMAC key for verifying the `X-Tickerbot-Signature` header on deliveries."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"test_url":{"description":"Returned on create only, when the channel delivers outside the dashboard: the path of `POST /v2/webhooks/{webhook}/test` for this record."},"_meta":{"description":"Returned on create only, and only when the rule or `select` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired","channel_config","signing_secret"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/scan/subscribe","route":"/v2/scan/subscribe","paramLocation":{"q":"body","universe":"body","select":"body","order":"body","dir":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","cadence":"body","name":"body"},"accepts":{"universe_id":"body","columns":"body","fields":"body"}},"rail":"scan","page":"subscribe"},{"name":"tickerbot_list_signals","description":"Lists every signal you can screen on: the built-ins and your custom signals, in one catalog you can filter, search and page. Use to discover the signal names and `q` vocabulary before composing a scan; custom signals appear with `kind: custom`. Narrow it with `category`, `group`, `type`, `search` and `select=type,description` rather than reading all ~460 rows.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Case-insensitive text match on the name and description. Results are ranked: an exact name match first, then names that start with the term, then names that contain it, then descriptions that have it as a whole word, then descriptions that contain it; list order within each rank. Paging a search never repeats or skips."},"kind":{"type":"string","description":"Filter by kind (one or a comma list). Omit to return both. Values: builtin: A built-in signal, the same for every account. custom: One of your own custom signals.","pattern":"^\\s*([bB][uU][iI][lL][tT][iI][nN]|[cC][uU][sS][tT][oO][mM])(\\s*,\\s*([bB][uU][iI][lL][tT][iI][nN]|[cC][uU][sS][tT][oO][mM]))*\\s*$"},"group":{"type":"string","description":"One taxonomy group or a comma list (`technicals,fundamentals`). Each signal carries its `group`. Values: price: Price. Price levels and records: the current price, bars, session levels, rolling highs and lows, and support and resistance. volume: Volume. How much traded: absolute quantities and averages, and activity relative to baseline. price_action: Price action. How price is moving, read straight off the price record: changes, gaps, momentum episodes, range structures. technicals: Technicals. Named technical indicators (SMA, EMA, VWAP, RSI, MACD, ADX, Bollinger, ATR) and the signals built on them. fundamentals: Fundamentals. Company financials: statement lines as reported, the ratios and multiples built on them, share structure and short positioning. events: Events. What happened or is scheduled to happen to the company: earnings, dividends, IPOs, share-capital changes, insider transactions. profile: Profile. Who and what the security is: classification and identity data, looked up rather than computed. analyst: Analysts. What analysts think: the consensus, each firm’s actions, price targets and estimates. news: News. Signals derived from news coverage: article volume and sentiment.","pattern":"^\\s*([pP][rR][iI][cC][eE]|[vV][oO][lL][uU][mM][eE]|[pP][rR][iI][cC][eE]_[aA][cC][tT][iI][oO][nN]|[tT][eE][cC][hH][nN][iI][cC][aA][lL][sS]|[fF][uU][nN][dD][aA][mM][eE][nN][tT][aA][lL][sS]|[eE][vV][eE][nN][tT][sS]|[pP][rR][oO][fF][iI][lL][eE]|[aA][nN][aA][lL][yY][sS][tT]|[nN][eE][wW][sS])(\\s*,\\s*([pP][rR][iI][cC][eE]|[vV][oO][lL][uU][mM][eE]|[pP][rR][iI][cC][eE]_[aA][cC][tT][iI][oO][nN]|[tT][eE][cC][hH][nN][iI][cC][aA][lL][sS]|[fF][uU][nN][dD][aA][mM][eE][nN][tT][aA][lL][sS]|[eE][vV][eE][nN][tT][sS]|[pP][rR][oO][fF][iI][lL][eE]|[aA][nN][aA][lL][yY][sS][tT]|[nN][eE][wW][sS]))*\\s*$"},"category":{"type":"string","description":"One category or a comma list (`oscillators,trend`). Each signal carries its `category`. Values: trades_quotes: Trades & quotes. bars: Latest bars. session_structure: Session levels & position. highs_lows: Highs & lows. support_resistance: Support & resistance. volume_levels: Volume & averages. volume_activity: Relative & unusual volume. performance: Performance & change. gaps: Gaps. intraday_momentum: Intraday momentum. ranges: Ranges & reversals. moving_averages: Moving averages & VWAP. oscillators: Oscillators. trend: Trend & direction. volatility_bands: Volatility & bands. income_statement: Income statement. balance_sheet: Balance sheet. cash_flow: Cash flow. margins_ratios: Margins & ratios. valuation: Valuation. share_structure: Share structure & ownership. short_interest: Short interest. earnings: Earnings. dividends: Dividends. ipos: IPOs. capital_changes: Splits & share changes. insider_activity: Insider activity. classification: Classification. identity: Identifiers & reference. company: Company profile. fund_facts: Fund facts. consensus_ratings: Consensus ratings. analyst_actions: Upgrades & downgrades. price_targets: Price targets. estimates: Estimates. news: News.","pattern":"^\\s*([tT][rR][aA][dD][eE][sS]_[qQ][uU][oO][tT][eE][sS]|[bB][aA][rR][sS]|[sS][eE][sS][sS][iI][oO][nN]_[sS][tT][rR][uU][cC][tT][uU][rR][eE]|[hH][iI][gG][hH][sS]_[lL][oO][wW][sS]|[sS][uU][pP][pP][oO][rR][tT]_[rR][eE][sS][iI][sS][tT][aA][nN][cC][eE]|[vV][oO][lL][uU][mM][eE]_[lL][eE][vV][eE][lL][sS]|[vV][oO][lL][uU][mM][eE]_[aA][cC][tT][iI][vV][iI][tT][yY]|[pP][eE][rR][fF][oO][rR][mM][aA][nN][cC][eE]|[gG][aA][pP][sS]|[iI][nN][tT][rR][aA][dD][aA][yY]_[mM][oO][mM][eE][nN][tT][uU][mM]|[rR][aA][nN][gG][eE][sS]|[mM][oO][vV][iI][nN][gG]_[aA][vV][eE][rR][aA][gG][eE][sS]|[oO][sS][cC][iI][lL][lL][aA][tT][oO][rR][sS]|[tT][rR][eE][nN][dD]|[vV][oO][lL][aA][tT][iI][lL][iI][tT][yY]_[bB][aA][nN][dD][sS]|[iI][nN][cC][oO][mM][eE]_[sS][tT][aA][tT][eE][mM][eE][nN][tT]|[bB][aA][lL][aA][nN][cC][eE]_[sS][hH][eE][eE][tT]|[cC][aA][sS][hH]_[fF][lL][oO][wW]|[mM][aA][rR][gG][iI][nN][sS]_[rR][aA][tT][iI][oO][sS]|[vV][aA][lL][uU][aA][tT][iI][oO][nN]|[sS][hH][aA][rR][eE]_[sS][tT][rR][uU][cC][tT][uU][rR][eE]|[sS][hH][oO][rR][tT]_[iI][nN][tT][eE][rR][eE][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[dD][iI][vV][iI][dD][eE][nN][dD][sS]|[iI][pP][oO][sS]|[cC][aA][pP][iI][tT][aA][lL]_[cC][hH][aA][nN][gG][eE][sS]|[iI][nN][sS][iI][dD][eE][rR]_[aA][cC][tT][iI][vV][iI][tT][yY]|[cC][lL][aA][sS][sS][iI][fF][iI][cC][aA][tT][iI][oO][nN]|[iI][dD][eE][nN][tT][iI][tT][yY]|[cC][oO][mM][pP][aA][nN][yY]|[fF][uU][nN][dD]_[fF][aA][cC][tT][sS]|[cC][oO][nN][sS][eE][nN][sS][uU][sS]_[rR][aA][tT][iI][nN][gG][sS]|[aA][nN][aA][lL][yY][sS][tT]_[aA][cC][tT][iI][oO][nN][sS]|[pP][rR][iI][cC][eE]_[tT][aA][rR][gG][eE][tT][sS]|[eE][sS][tT][iI][mM][aA][tT][eE][sS]|[nN][eE][wW][sS])(\\s*,\\s*([tT][rR][aA][dD][eE][sS]_[qQ][uU][oO][tT][eE][sS]|[bB][aA][rR][sS]|[sS][eE][sS][sS][iI][oO][nN]_[sS][tT][rR][uU][cC][tT][uU][rR][eE]|[hH][iI][gG][hH][sS]_[lL][oO][wW][sS]|[sS][uU][pP][pP][oO][rR][tT]_[rR][eE][sS][iI][sS][tT][aA][nN][cC][eE]|[vV][oO][lL][uU][mM][eE]_[lL][eE][vV][eE][lL][sS]|[vV][oO][lL][uU][mM][eE]_[aA][cC][tT][iI][vV][iI][tT][yY]|[pP][eE][rR][fF][oO][rR][mM][aA][nN][cC][eE]|[gG][aA][pP][sS]|[iI][nN][tT][rR][aA][dD][aA][yY]_[mM][oO][mM][eE][nN][tT][uU][mM]|[rR][aA][nN][gG][eE][sS]|[mM][oO][vV][iI][nN][gG]_[aA][vV][eE][rR][aA][gG][eE][sS]|[oO][sS][cC][iI][lL][lL][aA][tT][oO][rR][sS]|[tT][rR][eE][nN][dD]|[vV][oO][lL][aA][tT][iI][lL][iI][tT][yY]_[bB][aA][nN][dD][sS]|[iI][nN][cC][oO][mM][eE]_[sS][tT][aA][tT][eE][mM][eE][nN][tT]|[bB][aA][lL][aA][nN][cC][eE]_[sS][hH][eE][eE][tT]|[cC][aA][sS][hH]_[fF][lL][oO][wW]|[mM][aA][rR][gG][iI][nN][sS]_[rR][aA][tT][iI][oO][sS]|[vV][aA][lL][uU][aA][tT][iI][oO][nN]|[sS][hH][aA][rR][eE]_[sS][tT][rR][uU][cC][tT][uU][rR][eE]|[sS][hH][oO][rR][tT]_[iI][nN][tT][eE][rR][eE][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[dD][iI][vV][iI][dD][eE][nN][dD][sS]|[iI][pP][oO][sS]|[cC][aA][pP][iI][tT][aA][lL]_[cC][hH][aA][nN][gG][eE][sS]|[iI][nN][sS][iI][dD][eE][rR]_[aA][cC][tT][iI][vV][iI][tT][yY]|[cC][lL][aA][sS][sS][iI][fF][iI][cC][aA][tT][iI][oO][nN]|[iI][dD][eE][nN][tT][iI][tT][yY]|[cC][oO][mM][pP][aA][nN][yY]|[fF][uU][nN][dD]_[fF][aA][cC][tT][sS]|[cC][oO][nN][sS][eE][nN][sS][uU][sS]_[rR][aA][tT][iI][nN][gG][sS]|[aA][nN][aA][lL][yY][sS][tT]_[aA][cC][tT][iI][oO][nN][sS]|[pP][rR][iI][cC][eE]_[tT][aA][rR][gG][eE][tT][sS]|[eE][sS][tT][iI][mM][aA][tT][eE][sS]|[nN][eE][wW][sS]))*\\s*$"},"type":{"type":"string","description":"One value type or a comma list. Custom signals are always `boolean`. Values: numeric: Number. A price, ratio, count or score. boolean: Yes/no. Every custom signal is one. string: Text, such as a sector or an exchange. date: Date, `YYYY-MM-DD`. timestamp: Timestamp, an instant in ISO 8601. object: Object, a JSON object. string[]: List of text, such as the ETFs that hold a stock.","pattern":"^\\s*([nN][uU][mM][eE][rR][iI][cC]|[bB][oO][oO][lL][eE][aA][nN]|[sS][tT][rR][iI][nN][gG]|[dD][aA][tT][eE]|[tT][iI][mM][eE][sS][tT][aA][mM][pP]|[oO][bB][jJ][eE][cC][tT]|[sS][tT][rR][iI][nN][gG]\\[\\])(\\s*,\\s*([nN][uU][mM][eE][rR][iI][cC]|[bB][oO][oO][lL][eE][aA][nN]|[sS][tT][rR][iI][nN][gG]|[dD][aA][tT][eE]|[tT][iI][mM][eE][sS][tT][aA][mM][pP]|[oO][bB][jJ][eE][cC][tT]|[sS][tT][rR][iI][nN][gG]\\[\\]))*\\s*$"},"asset_class":{"type":"string","description":"Signals that apply to this asset class (one or a comma list), e.g. `crypto`. Values: stocks: US equities. All US-listed equities (NYSE, Nasdaq, AMEX) rates: Rates. NY Fed reference rates + the Treasury par yield curve, under the R: prefix. crypto: Crypto. Crypto pairs under the X: prefix in `ticker`. fx: FX. Curated major currency pairs under the X: prefix.","pattern":"^\\s*([sS][tT][oO][cC][kK][sS]|[rR][aA][tT][eE][sS]|[cC][rR][yY][pP][tT][oO]|[fF][xX])(\\s*,\\s*([sS][tT][oO][cC][kK][sS]|[rR][aA][tT][eE][sS]|[cC][rR][yY][pP][tT][oO]|[fF][xX]))*\\s*$"},"refresh":{"type":"string","description":"Signals that update on this schedule (one or a comma list). Values: 1m_4am_8pm_et: 1 min · 4 AM–8 PM ET. 1m_24_7: 1 min · 24/7. 5m: 5 min. 10m: 10 min. 15m: 15 min. 30m: 30 min. 1h: hourly. daily: daily. daily_after_close: post-close daily. weekly: weekly. monthly: monthly. quarterly: quarterly. on_event: on event. static: static. custom: custom.","pattern":"^\\s*(1[mM]_4[aA][mM]_8[pP][mM]_[eE][tT]|1[mM]_24_7|5[mM]|10[mM]|15[mM]|30[mM]|1[hH]|[dD][aA][iI][lL][yY]|[dD][aA][iI][lL][yY]_[aA][fF][tT][eE][rR]_[cC][lL][oO][sS][eE]|[wW][eE][eE][kK][lL][yY]|[mM][oO][nN][tT][hH][lL][yY]|[qQ][uU][aA][rR][tT][eE][rR][lL][yY]|[oO][nN]_[eE][vV][eE][nN][tT]|[sS][tT][aA][tT][iI][cC]|[cC][uU][sS][tT][oO][mM])(\\s*,\\s*(1[mM]_4[aA][mM]_8[pP][mM]_[eE][tT]|1[mM]_24_7|5[mM]|10[mM]|15[mM]|30[mM]|1[hH]|[dD][aA][iI][lL][yY]|[dD][aA][iI][lL][yY]_[aA][fF][tT][eE][rR]_[cC][lL][oO][sS][eE]|[wW][eE][eE][kK][lL][yY]|[mM][oO][nN][tT][hH][lL][yY]|[qQ][uU][aA][rR][tT][eE][rR][lL][yY]|[oO][nN]_[eE][vV][eE][nN][tT]|[sS][tT][aA][tT][iI][cC]|[cC][uU][sS][tT][oO][mM]))*\\s*$"},"grain":{"type":"string","description":"Signals with stored history at this grain (one or a comma list): what an as-of read or the history read can serve at it. Values: 1m: Minute. Signals with stored one-minute history. 1h: Hour. Signals with stored hourly history. 1d: Day. Signals with stored daily history.","pattern":"^\\s*(1[mM]|1[hH]|1[dD])(\\s*,\\s*(1[mM]|1[hH]|1[dD]))*\\s*$"},"select":{"type":"string","description":"The fields each row carries (`name` is always included), e.g. `type,description`."},"limit":{"type":"integer","description":"Page size over the whole list: your custom signals (newest first), then the built-ins A→Z. Max 1000 (a larger value is clamped to the max, not an error; `next_cursor` pages the rest). Omitted, every matching signal comes back in one response until 2027-01-12; from then a call pages at 50 (Deprecations)."},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `search`, then `kind`, `group`, `category`, `type`, `asset_class`, `refresh` and `grain` (lists), `select` and `limit` (`null` on a call with no `limit`, which returns the whole list). A filter you did not send is `null`."},"count":{"type":["number","null"],"description":"Signals in this page, equal to `count_builtin` + `count_custom`."},"count_builtin":{"type":["number","null"],"description":"Built-in signals in this page."},"count_custom":{"type":["number","null"],"description":"Your custom signals in this page."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`."},"signals":{"type":["array","null"],"description":"The catalog: your custom signals first, then built-ins. Each built-in carries `name`, `kind: builtin`, `type`, `description`, `category`/`category_label`/`group`/`group_label` (switch on the slugs; labels are display strings), `refresh` (how often it updates), `grains` (keyed by stored grain, each `{ history, since, coverage }`; `{}` means current value only), `asset_classes`, `instrument_scope` (`all`, `company` or `fund`), `asof_support` (`historized`, `frozen` or `unavailable`: what an `asof` read does with it), plus `boolean_kind`/`firing` on yes/no signals, `definition` where written and `unit` where one applies. Custom signals are always yes/no: `kind: custom`, `type: boolean`, with the `expr`."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","count_builtin","count_custom","next_cursor","signals"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/signals","route":"/v2/signals","paramLocation":{"search":"query","kind":"query","group":"query","category":"query","type":"query","asset_class":"query","refresh":"query","grain":"query","select":"query","limit":"query","cursor":"query"},"accepts":{"interval":"query"}},"rail":"signals","page":"list"},{"name":"tickerbot_create_custom_signal","description":"Saves a named true/false SQL expression you can screen on, select and subscribe to like a built-in boolean.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Slug matching `^[a-z][a-z0-9_]{0,63}$`. Must not collide with any built-in signal name, and 15 names are reserved outright: `columns`, plus the OHLCV aliases of the history read `open`/`high`/`low`/`close`/`volume`/`vwap`/`trades` and `o`/`h`/`l`/`c`/`v`/`vw`/`n` (those resolve to bars before custom lookup). This is the signal's API handle: it's what you reference in `q` and in the CRUD path."},"expr":{"type":"string","description":"Boolean SQL predicate. May reference built-in signals and other custom signals you own. Must evaluate to true/false. Max 4000 chars. Stricter grammar than scan `q`: comparisons, `AND`/`OR`/`NOT`, `IN`, `BETWEEN`, `IS [NOT] NULL`, arithmetic and the functions `abs`/`coalesce`/`round`/`least`/`greatest`. No `LIKE`/`ILIKE`, no `CASE`, no `::` casts. An expression that scans fine can still be rejected here with `compile_failed`. What you send is what you read back: responses echo your expression as stored, not its expansion. A signal referencing another custom of yours returns the reference as you typed it; the inlined SQL exists only internally, and is what a subscribe endpoint freezes into a webhook. The one rewrite: a signal named under its pre-2026-09-07 spelling (`bollinger_pct_b`) is stored under its current name (`bollinger_b`) and reported in `_meta.deprecated_signals`."},"description":{"type":"string","description":"Free-form notes. Max 500 chars. Absent or empty comes back as `\"\"` rather than null."}},"required":["name","expr"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"name":{"type":["string","null"],"description":"The slug: the signal's handle in `q` and in the path."},"kind":{"type":["string","null"],"description":"Always `custom`."},"type":{"type":["string","null"],"description":"Always `boolean`: a custom signal is a yes/no expression."},"description":{"type":["string","null"],"description":"Your notes; `\"\"` when unset."},"expr":{"type":["string","null"],"description":"Your expression as stored (not its expansion)."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"_meta":{"description":"Only when `expr` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored `expr` carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","name","kind","type","description","expr","created_at","updated_at"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/signals","route":"/v2/signals","paramLocation":{"name":"body","expr":"body","description":"body"}},"rail":"signals","page":"custom/create"},{"name":"tickerbot_get_signal","description":"Returns what one signal is (its catalog entry, the same object List signals returns for it) and every ticker matching it, live or on any past date with `asof`: a screen on that one signal. Returns `catalog` (what the signal is) every time. Booleans list their matches with no `condition`; every other type lists them only with one, typed like the signal: \">70\" (numeric), \"<YYYY-MM-DDTHH:MM:SSZ\" (timestamp), \">=YYYY-MM-DD\" (date), \"=ETF\" (string); without it you get the catalog entry and a `note`. Without `order`, a non-boolean sorts by its value in the direction the condition implies (`<` ascending, `>` descending). To know when each ticker started matching, use tickerbot_query_events with kind=signal, signal=<name>, transition=enter.","inputSchema":{"type":"object","properties":{"signal":{"type":"string","description":"A signal name. Booleans (e.g. `golden_cross`, `above_sma_50`) are detected automatically; every other type (numeric `rsi_14`, timestamp `price_asof`, date `earnings_date`, string `asset_class`) requires a `condition`. An object or list signal (`leadership`, `etf_holders`) has no `condition` form: the read returns its catalog entry and a `note`; screen on it with `POST /v2/scan`."},"condition":{"type":"string","description":"Lists the matches of a non-boolean signal; without it the response carries the catalog entry and a `note` instead of `results`. The shape follows the signal's `type` in the catalog. Single bound, `<op><value>`. numeric: `>70`, `<=200`, `!=0` (operators `>`, `>=`, `=`, `!=`, `<`, `<=`). timestamp: an ISO instant, `<YYYY-MM-DDTHH:MM:SSZ` or `>=YYYY-MM-DD` (a bare date is midnight UTC). date: `>=YYYY-MM-DD` or `=YYYY-MM-DD`. string: `=ETF` or `!=ETF` (`=` and `!=` only; quotes optional). A relative window (\"older than 15 minutes\") is a `/v2/scan` query: `price_asof < now() - interval '15 minutes'`. Sending a condition with a boolean or custom signal returns 400 (it does not apply)."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`."},"asof":{"type":"string","description":"Target moment as `YYYY-MM-DD` (that day's close) or an ISO timestamp (that intraday moment; daily-only signals then carry the previous session's close, never that day's): the same read as it stood then. Full contract under As of a past date."},"grain":{"type":"string","description":"Only with `asof`. Grain the past state is read at: `1m`, `1h`, `1d` or `auto` (default). `auto` blends: each signal comes from its freshest grain at or before the instant (minute, then hourly, then the last closed daily session), so nothing is refused for grain and no ticker is dropped; `_meta.blended` and `_meta.grains_present` say what contributed. Pin a grain for the fastest response: one grain is read instead of three, and every ticker is captured on the same clock. A signal the pinned grain does not store is a `400 interval_unavailable` naming the grains that carry it (`rsi_14`, fundamentals and valuation ratios are `1d`-only). `1m` and `1h` need a timestamp `asof`; with a bare date they are a `400 interval_unavailable`. Under `auto`, `_meta.plan_limits.grain` names the finest grain served when a finer one was not served, and where finer is. Values: 1m: Minute. The one-minute state at or before the instant. Covers the most liquid tickers and the signals stored at one minute. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1h: Hour. The hourly state at or before the instant. Covers every ticker and the signals stored hourly. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1d: Day. The last daily session closed before the instant; a bare date reads that day’s close. Covers every ticker and the most signals, including the daily-only ones such as `rsi_14`, fundamentals and valuation ratios. auto: Auto. Each signal from its freshest grain at or before the instant: minute, then hourly, then the last closed daily session. `_meta.blended` and `_meta.grains_present` say what contributed.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|[aA][uU][tT][oO])\\s*$","default":"auto"},"select":{"type":"string","description":"Signals each match carries beside `value`, e.g. `market_cap,sector`. `*` is every signal: the whole live row, or on an as-of read every signal the read's grain stores. An unknown signal is a 400, beside `*` too."},"order":{"type":"string","description":"Signal to sort by (or `ticker`). Omitted: a yes/no signal lists tickers A→Z; any other signal sorts by its value in the direction the condition implies (`<`/`<=` ascending, `>`/`>=` descending)."},"dir":{"type":"string","description":"Sort direction. Omitted: the direction the default order implies, else `desc`. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$"},"limit":{"type":"integer","description":"Page size. Max 1000 (a larger value is clamped to the max, not an error; `next_cursor` pages the rest).","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}},"required":["signal"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (`as_of`); when `_meta.data_as_of_close` or `_meta.delayed_minutes` is present, the time the data is from."},"signal":{"type":["string","null"],"description":"The signal you asked for."},"catalog":{"type":["object","null"],"description":"The signal's catalog entry: the same object List signals returns for it (description, type, unit, refresh, grains). `null` only when the catalog could not be read; the matches are served regardless."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `signal`, `condition`, `universe`, `asof`, `grain`, `select`, `order`, `dir`, `limit`."},"note":{"description":"Only on a non-boolean signal read without `condition`: says how to list its matches, or, for an object or list signal, to screen on it with `POST /v2/scan`. `count`, `next_cursor` and `results` are absent then."},"_meta":{"type":["object","null"],"description":"This endpoint's own keys: `null_coverage` (how many in-scope tickers are `null` on the signal and so never match) and, with `asof`, `grain_scope` and `minute_only_signals_fell_back_to_daily`. Shared keys: see the `_meta` reference."},"count":{"type":["number","null"],"description":"The tickers in `results` on this page."},"not_found":{"description":"With `universe` only: the `universe` id you named when it does not exist (the read then has no results); an empty array or absent otherwise."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`."},"results":{"type":["array","null"],"description":"Matching tickers: `ticker`, `name`, the signal `value` and any `select` signals."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","signal","catalog","query"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/signals/{signal}","route":"/v2/signals/:signal","paramLocation":{"signal":"path","condition":"query","universe":"query","asof":"query","grain":"query","select":"query","order":"query","dir":"query","limit":"query","cursor":"query"},"accepts":{"as_of":"query","interval":"query","sort_by":"query","include_active_since":"query"}},"rail":"signals","page":"get"},{"name":"tickerbot_update_custom_signal","description":"Updates a custom signal you own: its expression, description or name.","inputSchema":{"type":"object","properties":{"signal":{"type":"string","description":"Custom signal slug (the signal name). A built-in name answers 404: built-ins are read-only."},"new_name":{"type":"string","description":"New slug: renames the signal and changes its API handle everywhere (same validation as create). Refused while other custom signals reference the current name."},"expr":{"type":"string","description":"New SQL expression. Re-validated and re-inlined against your other custom signals. Same strict grammar as create: no `LIKE`/`ILIKE`, `CASE`, `::` casts or functions beyond `abs`/`coalesce`/`round`/`least`/`greatest`. The response echoes your expression as stored, not its expansion (a pre-2026-09-07 signal spelling is stored under its current name and reported in `_meta.deprecated_signals`)."},"description":{"type":"string","description":"New description. Not derived from `expr`, so change both if the prose describes a threshold you are moving."}},"required":["signal"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"name":{"type":["string","null"],"description":"The slug: the signal's handle in `q` and in the path."},"kind":{"type":["string","null"],"description":"Always `custom`."},"type":{"type":["string","null"],"description":"Always `boolean`: a custom signal is a yes/no expression."},"description":{"type":["string","null"],"description":"Your notes; `\"\"` when unset."},"expr":{"type":["string","null"],"description":"Your expression as stored (not its expansion)."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"_meta":{"description":"Only when `expr` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored `expr` carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","name","kind","type","description","expr","created_at","updated_at"],"additionalProperties":true},"endpoint":{"method":"PATCH","path":"/v2/signals/{signal}","route":"/v2/signals/:signal","paramLocation":{"signal":"path","new_name":"body","expr":"body","description":"body"},"accepts":{"name":"body"}},"rail":"signals","page":"custom/update"},{"name":"tickerbot_delete_custom_signal","description":"Deletes one of your custom signals. Refused by default if another of your signals references it.","inputSchema":{"type":"object","properties":{"signal":{"type":"string","description":"Custom signal slug (the signal name). A built-in name answers 404: built-ins are read-only."},"force":{"type":"boolean","description":"When `true`, skip the reference check and delete; referencing signals fail with `unknown_column` the next time they compile.","default":false}},"required":["signal"]},"endpoint":{"method":"DELETE","path":"/v2/signals/{signal}","route":"/v2/signals/:signal","paramLocation":{"signal":"path","force":"query"}},"rail":"signals","page":"custom/delete"},{"name":"tickerbot_subscribe_signal","description":"Gets you an alert by webhook each time a ticker starts matching one signal, bounded by a condition the way Get a signal is. Each webhook takes one of your plan's webhook slots. A yes/no or custom signal takes no `condition`; any other signal needs one (`<30`). For a compound condition use tickerbot_subscribe_scan.","inputSchema":{"type":"object","properties":{"signal":{"type":"string","description":"A signal name: a built-in signal or one of your custom signals. An unknown name is a 404."},"condition":{"type":"string","description":"The bound, in Get a signal's grammar: required for every signal that is not yes/no, shaped by its `type`. numeric: `>70`, `<30`, `!=0`. timestamp: `<YYYY-MM-DDTHH:MM:SSZ` or `>=YYYY-MM-DD`. date: `>=YYYY-MM-DD`. string: `=ETF` or `!=ETF`. A yes/no or custom signal takes none; sending one is a 400."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one is a 400 `universe_not_found` naming it."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each delivered match carries. Omitted: the scan default row plus the signal. A list of signal names: exactly those, `ticker` always included. `*` and expressions are a 400: a delivery lists up to 100 matches, so name the signals."},"order":{"type":"string","description":"Signal each delivery's match lists are sorted by before the 100-result cap applies, so a broad alert lists the same top 100 each time. Must be a real signal (validated at creation).","default":"market_cap"},"dir":{"type":"string","description":"Sort direction for `order`. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"channel":{"type":"string","description":"Delivery channel: `webhook` (POST to `target_url`), `discord` (an embed at `discord_url`), `in_app` (the dashboard only) or `mobile_push` (to `device_id`). Inferred when omitted: `discord` if `discord_url` is set, else `mobile_push` if `device_id` is set, else `webhook` if `target_url` is set, else `in_app`. See Delivery channels. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"Only with `channel=webhook`. HTTPS URL each delivery is POSTed to."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL (`https://discord.com/api/webhooks/…`). Stored as a posting credential: the create response echoes it back under `channel_config`, but every later read (list, get, deliveries) strips it and sets `channel_config_present: true` instead."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`. An unknown id is a 400 `device_not_found`."},"cadence":{"type":"string","description":"When the webhook runs: `realtime` (the default) on every refresh of your data (When webhooks run), `nyse_open` once a day at the 9:30 AM ET open. Values: realtime: Runs on every refresh of your data and fires when a ticker starts matching (When webhooks run). The default. nyse_open: Runs once a day at the 9:30 AM ET open, on NYSE trading days.","pattern":"^\\s*([rR][eE][aA][lL][tT][iI][mM][eE]|[nN][yY][sS][eE]_[oO][pP][eE][nN])\\s*$"},"name":{"type":"string","description":"Display name, up to 80 characters. Defaults to the condition: `golden_cross`, or `rsi_14 < 30`."}},"required":["signal"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"channel_config":{"description":"Returned on create only: the channel-specific delivery settings as stored (e.g. the Discord URL, the device id)."},"signing_secret":{"description":"Returned on create only, and shown once. HMAC key for verifying the `X-Tickerbot-Signature` header on deliveries."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"test_url":{"description":"Returned on create only, when the channel delivers outside the dashboard: the path of `POST /v2/webhooks/{webhook}/test` for this record."},"_meta":{"description":"Returned on create only, and only when the rule or `select` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired","channel_config","signing_secret"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/signals/{signal}/subscribe","route":"/v2/signals/:signal/subscribe","paramLocation":{"signal":"path","condition":"body","universe":"body","select":"body","order":"body","dir":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","cadence":"body","name":"body"},"accepts":{"universe_id":"body","columns":"body","fields":"body"}},"rail":"signals","page":"subscribe"},{"name":"tickerbot_list_tickers","description":"Lists every ticker we track, active or delisted, with its identity. For everything about one, use Get a ticker.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Case-insensitive match on `ticker` or `name`, max 64 characters (longer is a 400). Results are ranked: an exact ticker match first, then symbols that start with the term, then symbols that contain it, then names that have it as a whole word, then names that contain it; alphabetical within each rank. The cursor carries the rank, so paging a search never repeats or skips."},"ticker":{"type":"string","description":"One symbol or a comma-separated list (up to 50; more is a 400): just those tickers' identity records, in the usual order. A symbol we don't track is absent from `results` and listed in `not_found`. For everything about each one, put the list in the path of Get a ticker."},"asset_class":{"type":"string","description":"Filter by asset class: `stocks`, `rates`, `crypto`, `fx` or a comma-separated list (the live classes today; validated for shape, not against a fixed list, so a well-formed class outside these matches nothing). Omit for every class. This is the class of instrument, distinct from `asset_type` below (the instrument type within equities). Every result carries its `asset_class`, so a non-equity result identifies itself."},"asset_type":{"type":"string","description":"Filter by instrument type within equities (one or a comma list): the stored `asset_type` value (`CS`, `ETF`, `ADRC`, `PFD`, `FUND`, `UNIT`, `SP`, `ETS`, `WARRANT`, `RIGHT`, `ETN`, `ETV`), matched case-insensitively. `equity` is a convenience value expanding to the equity-like set. This is not an asset class: `asset_type=crypto` is a 400 (use `asset_class=crypto`). Values: CS: Common stock. ETF: Exchange-traded fund. ADRC: ADR. PFD: Preferred stock. FUND: Fund. UNIT: Unit. SP: Structured product. ETS: Single-stock ETF. WARRANT: Warrant. RIGHT: Right. ETN: Exchange-traded note. ETV: Exchange-traded vehicle. equity: Equity.","pattern":"^\\s*([cC][sS]|[eE][tT][fF]|[aA][dD][rR][cC]|[pP][fF][dD]|[fF][uU][nN][dD]|[uU][nN][iI][tT]|[sS][pP]|[eE][tT][sS]|[wW][aA][rR][rR][aA][nN][tT]|[rR][iI][gG][hH][tT]|[eE][tT][nN]|[eE][tT][vV]|[eE][qQ][uU][iI][tT][yY])(\\s*,\\s*([cC][sS]|[eE][tT][fF]|[aA][dD][rR][cC]|[pP][fF][dD]|[fF][uU][nN][dD]|[uU][nN][iI][tT]|[sS][pP]|[eE][tT][sS]|[wW][aA][rR][rR][aA][nN][tT]|[rR][iI][gG][hH][tT]|[eE][tT][nN]|[eE][tT][vV]|[eE][qQ][uU][iI][tT][yY]))*\\s*$"},"exchange":{"type":"string","description":"Filter by exchange name (one or a comma list): the value results carry in their `exchange` field. MIC codes (`XNAS`, `XNYS`, `BATS`) are also accepted and match `exchange_mic`. A malformed value (non-letters, over 16 chars) is a 400."},"active":{"type":"boolean","description":"`true` for tickers that trade today, `false` for delisted ones. Omit it for both."},"limit":{"type":"integer","description":"Page size. Max 1000 (a larger value is clamped to the max, not an error).","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `search`, `ticker`, `asset_class`, `asset_type` and `exchange` (lists), `active` and `limit`. A filter you did not send is `null`."},"count":{"type":["number","null"],"description":"Tickers in this page."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page."},"results":{"type":["array","null"],"description":"One identity record per ticker: the signals in the catalog's Identifiers & reference category (`ticker`, `name`, `asset_class`, `asset_type`, `exchange`, `country`, `currency_name`, `cik`, `composite_figi`, `active`, `delisted_utc` and the rest), nothing else. Delisted tickers (`active: false`) carry `delisted_utc` (ISO 8601); they are still addressable on Get a ticker with `asof`."},"_meta":{"description":"With `asset_class` only: `scope.asset_class` lists the classes the page was filtered to."},"not_found":{"description":"With `ticker` only: the symbols you named that we do not track, in request order; an empty array when we track every one. A tracked symbol that another filter or the page leaves out is not in it."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","next_cursor","results"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/tickers","route":"/v2/tickers","paramLocation":{"search":"query","ticker":"query","asset_class":"query","asset_type":"query","exchange":"query","active":"query","limit":"query","cursor":"query"},"accepts":{"tickers":"query"}},"rail":"tickers","page":"list"},{"name":"tickerbot_get_ticker","description":"Returns everything about one ticker or a comma list of up to 50 in the path (a screen's matches, say): every signal each one carries, live or on any past date with `asof`. A comma list returns `data` keyed by symbol plus `not_found`. Crypto is the X-prefixed pair (X:BTCUSD); bare BTC/ETH are US-listed ETFs.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"One symbol, or a comma-separated list of up to 50 for a response keyed by symbol. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."},"asof":{"type":"string","description":"Target moment as `YYYY-MM-DD` (that day's close) or an ISO timestamp (that intraday moment; daily-only signals then carry the previous session's close, never that day's): the same read as it stood then. Full contract under As of a past date."},"grain":{"type":"string","description":"Only with `asof`. Grain the past state is read at: `1m`, `1h`, `1d` or `auto` (default). `auto` takes each signal from its freshest grain at or before the instant, so nothing is refused for grain; `_meta.blended` and `_meta.grains_present` say what contributed. Pin a grain for the fastest response. A signal in `select` that the pinned grain does not store is a `400 interval_unavailable` naming the grains that carry it; without `select`, the row leaves those out and `_meta.signals_not_stored_at_grain` names them. A grain with no data for the ticker within its window is a `404 interval_unavailable`, and `1m`/`1h` with a bare-date `asof` is a `400`. Rules: State reads. Under `auto`, `_meta.plan_limits.grain` names the finest grain served when a finer one was not served, and where finer is. Values: 1m: Minute. The one-minute state at or before the instant. Covers the most liquid tickers and the signals stored at one minute. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1h: Hour. The hourly state at or before the instant. Covers every ticker and the signals stored hourly. Needs a timestamp `asof`; with a bare date it is a `400 interval_unavailable`. 1d: Day. The last daily session closed before the instant; a bare date reads that day’s close. Covers every ticker and the most signals, including the daily-only ones such as `rsi_14`, fundamentals and valuation ratios. auto: Auto. Each signal from its freshest grain at or before the instant: minute, then hourly, then the last closed daily session. `_meta.blended` and `_meta.grains_present` say what contributed.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|[aA][uU][tT][oO])\\s*$","default":"auto"},"select":{"type":"string","description":"Comma-separated signals to return: each row is `ticker` plus exactly these. Omit it, or send `*`, for the full row: every signal the ticker carries, or on an as-of read every signal the read's grain stores. An unknown signal is a 400, beside `*` too."}},"required":["ticker"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (`as_of`); when `_meta.data_as_of_close` or `_meta.delayed_minutes` is present, the time the data is from."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `ticker` (the symbols, canonical, de-duplicated, in request order; a list even for one), `asof`, `grain` (`null` on a live read) and `select` (`null` for the full row; `[\"*\"]` when you sent `*`)."},"data":{"type":["object","null"],"anyOf":[{"type":"object","properties":{"ticker":{"type":["string","null"]},"tenure_start":{"type":["string","null"]},"tenure_end":{},"held_at_asof":{},"symbol_reused":{"type":["boolean","null"]},"predecessors":{"type":["array","null"],"items":{"properties":{"name":{},"cik":{},"composite_figi":{},"tenure_start":{},"tenure_end":{}}}},"prior_symbols":{"type":["array","null"],"items":{"properties":{"ticker":{},"tenure_start":{},"tenure_end":{}}}},"current_ticker":{},"date":{}}},{"type":"object","additionalProperties":{"type":"object","properties":{"ticker":{"type":["string","null"]},"tenure_start":{"type":["string","null"]},"tenure_end":{},"held_at_asof":{},"symbol_reused":{"type":["boolean","null"]},"predecessors":{"type":["array","null"],"items":{"properties":{"name":{},"cik":{},"composite_figi":{},"tenure_start":{},"tenure_end":{}}}},"prior_symbols":{"type":["array","null"],"items":{"properties":{"ticker":{},"tenure_start":{},"tenure_end":{}}}},"current_ticker":{},"date":{}}}},{"type":"null"}],"description":"Everything about the ticker: every signal it carries (see the catalog). On the list form, an object keyed by symbol."},"count":{"description":"With a comma list only: the symbols in `data`, that is, how many of the symbols asked for were found."},"not_found":{"description":"With a comma list only: the requested symbols we do not track, in request order. An empty array when every symbol was found; every symbol when none was (still a 200)."},"_meta":{"description":"With `asof` only: how the result was reconstructed; on the list form, one block per symbol, keyed by symbol. This read's own keys: `signal_grains`, the grain each signal was served at (on a blended or pinned read), and `signals_not_stored_at_grain`, the signals a pinned grain does not store (on the full row, without `select`). Shared keys: see the `_meta` reference."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","data"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/tickers/{ticker}","route":"/v2/tickers/:ticker","paramLocation":{"ticker":"path","asof":"query","grain":"query","select":"query"},"accepts":{"as_of":"query","interval":"query","fields":"query","columns":"query"}},"rail":"tickers","page":"get"},{"name":"tickerbot_get_history","description":"Returns the signals of one ticker or a comma list of up to 50 in the path (a screen's matches, say) over time: up to 25 signals in `select`, or `*` for every signal the grain stores, every ticker on one shared grid. `series` is keyed by symbol, one flat row per grain step. Paged backward: pass `next_cursor` back as `cursor` with the same params. For when a yes/no signal flipped, use tickerbot_query_events with kind=signal.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"One symbol, or a comma-separated list of up to 50 for a response keyed by symbol, on one aligned grid. A page holds at most 25,000 points in all (tickers × `limit`), so 50 tickers page at up to 500 points each. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."},"from":{"type":"string","description":"Window start, `YYYY-MM-DD` or ISO: a bare date starts at the beginning of that day, a timestamp is included. At `1q` and `1y` it bounds the fiscal period end. Intraday requests default to a recent window (`1m`: 7 days, `1h`: 60 days); the cursor keeps walking further back window-by-window, or pass `from` to widen it up front."},"to":{"type":"string","description":"Window end, `YYYY-MM-DD` or ISO. A bare date covers that whole day. A timestamp is included until 2027-01-12 and exclusive from then, as everywhere else (Deprecations). At `1m`/`1h` a bare date on `from` or `to` is each ticker's market day: the ET calendar day for stocks and ETFs, the UTC day for crypto, FX and rates, ticker by ticker in a mixed list. See Time windows."},"asof":{"type":"string","description":"Point-in-time read: one result per ticker, the most recent on the grid at or before the instant (`YYYY-MM-DD` = that day's 4 PM ET close, or an ISO timestamp), from whichever company held the symbol then (`/v2/tickers/SHLD/history?asof=2010-06-30` is Sears Holdings). With `from`/`to` or `cursor` it is a 400; `limit` does not apply and `next_cursor` is always `null`. On the `1d` and `1w` grids a timestamp returns the previous session's result; a bare date on `1m`/`1h` means that day's last result. A ticker with no data on the grid at or before the instant is an empty array with `_meta.coverage[ticker].rows: 0`; a 404 means only that we do not track the symbol. At `1q` and `1y` a period is visible from its `available_at`, with later restatements excluded: `/v2/tickers/AAPL/history?grain=1y&asof=2025-10-31` returns fiscal 2024, `asof=2025-11-03` fiscal 2025 (the 10-K was filed after the close on Friday 2025-10-31). Look-back per grid and the market day: Grid reads; report timing: When a report counts as public. Response time: under 1.5 s cold, under 0.6 s warm."},"grain":{"type":"string","description":"Grid granularity. `1w` resamples the daily grain weekly (Monday-keyed); `1q` is the fiscal-quarter grid; `1y` is the fiscal-year grid of annual statements. This is the grid: there is no `auto` here and nothing blends; under `asof` you get the last result on this grid, and a signal the grid does not carry is a `400`. Values: 1m: Minute. One result per minute, for the signals stored at one minute. 1h: Hour. One result per hour, for the signals stored hourly. 1d: Day. One result per day, for the signals stored daily: the most signals and the longest history. 1w: Week. The daily results resampled by week, keyed by each week’s Monday. A signal takes the week’s last value; price bars aggregate (open first, high highest, low lowest, close last, volume summed). 1q: Fiscal quarter. Quarterly fundamentals on the company’s fiscal calendar, keyed by quarter such as `2026-Q2`. Name them in `select`; they come in a request of their own, apart from daily and intraday signals. 1y: Fiscal year. Annual statement figures on the company’s fiscal calendar, keyed by fiscal year such as `2025`.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|1[wW]|1[qQ]|1[yY])\\s*$","default":"1d"},"select":{"type":"string","description":"Up to 25 signals: built-in signals, your custom signals and OHLCV names, freely mixed. `*` is every signal the grain stores (at `1q` and `1y`, every quarterly or annual field), with no 25-signal cap; its page holds at most 1,000 points (tickers × `limit`), see `limit`. `*` returns the same rows as a named list of stored signals, and its `vwap` is the stored value (a named `vwap` is read from the bars). A signal sent beside `*` that `*` already holds adds nothing; an OHLCV name or one of your custom signals beside it is added; an unknown name is a 400. Omitted → the ticker-history default set (price, change_1d_pct, relative_volume, market_cap), intersected with what the grain carries. At `1q`, `select` is required and quarterly-only; at `1y`, required and annual-only (the list is under Notes)."},"limit":{"type":"integer","description":"Grid steps per page. Max 1000; an over-cap `limit` is clamped to 1000. Separately, a page holds at most 25,000 points in all: tickers × `limit` over 25,000 is a 400 (50 tickers take `limit` up to 500; 25 take the full 1,000). With `select=*` the page holds at most 1,000 points: over it, an explicit `limit` is a 400. Without `limit`, a `*` page holds 252 points (one ticker gets 252, 5 tickers get 50).","default":252},"cursor":{"type":"string","description":"Continue paging back: the previous response's `next_cursor`, unchanged. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param. On `1m` to `1w` it carries each ticker's own position, so every ticker continues from its own oldest row: nothing is skipped or repeated, even when the tickers trade on different calendars (a stock and a crypto pair). On `1q`/`1y` it carries the shared fiscal label, so every ticker continues from the same period."}},"required":["ticker"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (`as_of`)."},"query":{"type":["object","null"],"description":"The request as it was read, with each param's effective value: `ticker` (a list, even for one symbol), `from`, `to`, `asof`, `grain`, `select` (the signals served; `[\"*\"]` when you sent `*`) and `limit`."},"count":{"type":["number","null"],"description":"The rows in `series` on this page, across all tickers."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` once every ticker is finished. Pass it back as `cursor`."},"_meta":{"type":["object","null"],"description":"This endpoint's own keys: per-ticker `coverage` (`rows`, and `missing_bar_cells` when a bar signal is read on a state spine), `non_trading_days_dropped`, on an intraday range read `from_defaulted` with a `note`, and `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is. Shared keys: see the `_meta` reference."},"series":{"type":["object","null"],"description":"The rows, keyed by ticker (one ticker or a comma list alike). Each row is a flat object, oldest first: `t` (the grid step: a date at `1d`/`1w`, an ISO instant at `1m`/`1h`, and at `1q`/`1y` a fiscal label, `2026-Q2` or `2025`: one of two times in the data that are not ISO 8601, with a bar's `t`) plus the signals you selected."},"not_found":{"type":["array","null"],"items":{"type":"string"},"description":"With a comma list only: the requested symbols we do not track, in request order; an empty array when every symbol was found; every symbol when none is tracked (still a 200). Until 2027-01-12 each also keeps an empty entry in `series` and `_meta.history_revised_at`; from then it is listed here only."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","next_cursor","_meta","series"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/tickers/{ticker}/history","route":"/v2/tickers/:ticker/history","paramLocation":{"ticker":"path","from":"query","to":"query","asof":"query","grain":"query","select":"query","limit":"query","cursor":"query"},"accepts":{"fields":"query","columns":"query","interval":"query","as_of":"query","transitions_only":"query"}},"rail":"tickers","page":"history"},{"name":"tickerbot_subscribe_ticker","description":"Gets you an alert by webhook each time one ticker starts matching a condition. Each webhook takes one of your plan's webhook slots. Omit `target_url` for in-app delivery.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"One ticker. For several, use Subscribe to a scan with `q=\"ticker IN ('NVDA','AAPL') AND (…)\"`. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."},"q":{"type":"string","description":"WHERE-clause fragment using signal names from the catalog, the same grammar as `/v2/scan`. Custom signals are expanded and frozen in at creation."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each delivery carries. Omitted: the scan default row (ticker, name, asset_class, asset_type, price, change_1d_pct, gap_pct, relative_volume, market_cap) plus every signal used in `q`. A list of signal names: exactly those, `ticker` always included. Each must be a real signal; unknown ones are rejected at creation. `*` and expressions are a 400: a delivery lists up to 100 matches, so name the signals."},"channel":{"type":"string","description":"Delivery channel: `webhook` (POST to `target_url`), `discord` (an embed at `discord_url`), `in_app` (the dashboard only) or `mobile_push` (to `device_id`). Inferred when omitted: `discord` if `discord_url` is set, else `mobile_push` if `device_id` is set, else `webhook` if `target_url` is set, else `in_app`. See Delivery channels. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"Only with `channel=webhook`. HTTPS URL each delivery is POSTed to."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL (`https://discord.com/api/webhooks/…`). Stored as a posting credential: the create response echoes it back under `channel_config`, but every later read (list, get, deliveries) strips it and sets `channel_config_present: true` instead."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`. An unknown id is a 400 `device_not_found`."},"cadence":{"type":"string","description":"When the webhook runs: `realtime` (the default) on every refresh of your data (When webhooks run), `nyse_open` once a day at the 9:30 AM ET open. Values: realtime: Runs on every refresh of your data and fires when a ticker starts matching (When webhooks run). The default. nyse_open: Runs once a day at the 9:30 AM ET open, on NYSE trading days.","pattern":"^\\s*([rR][eE][aA][lL][tT][iI][mM][eE]|[nN][yY][sS][eE]_[oO][pP][eE][nN])\\s*$"},"name":{"type":"string","description":"Display name, up to 80 characters. Defaults to `<TICKER>: ` plus the first 40 characters of `q`."}},"required":["ticker"],"anyOf":[{"required":["q"]},{"required":["condition"]}]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"channel_config":{"description":"Returned on create only: the channel-specific delivery settings as stored (e.g. the Discord URL, the device id)."},"signing_secret":{"description":"Returned on create only, and shown once. HMAC key for verifying the `X-Tickerbot-Signature` header on deliveries."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"test_url":{"description":"Returned on create only, when the channel delivers outside the dashboard: the path of `POST /v2/webhooks/{webhook}/test` for this record."},"_meta":{"description":"Returned on create only, and only when the rule or `select` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired","channel_config","signing_secret"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/tickers/{ticker}/subscribe","route":"/v2/tickers/:ticker/subscribe","paramLocation":{"ticker":"path","q":"body","select":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","cadence":"body","name":"body"},"accepts":{"condition":"body","columns":"body","fields":"body","order":"body","dir":"body"}},"rail":"tickers","page":"subscribe"},{"name":"tickerbot_get_bars","description":"Returns OHLCV bars from `1s` to monthly for one ticker or a comma list of up to 50 in the path, such as a screen's matches.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"One symbol, or a comma-separated list of up to 50 for a response keyed by symbol. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."},"interval":{"type":"string","description":"Bar interval. `2h`/`4h` roll up hourly bars; `1w`/`1mo` roll up daily bars into calendar weeks (Monday start) and months; the bar's `t` is the bucket start (UTC), and with `asof` the last bucket is the week/month to date. Values: 1s: 1 second. The finest bars served. 1m: 1 minute. Minute bars, the bars the 5, 15 and 30 minute widths roll up from. 5m: 5 minutes. Minute bars rolled up into 5-minute buckets. 15m: 15 minutes. Minute bars rolled up into 15-minute buckets. 30m: 30 minutes. Minute bars rolled up into 30-minute buckets. 1h: 1 hour. Hourly bars. 2h: 2 hours. Hourly bars rolled up into 2-hour buckets aligned to midnight UTC. 4h: 4 hours. Hourly bars rolled up into 4-hour buckets aligned to midnight UTC. 1d: 1 day. Daily bars, one per session. 1w: 1 week. Daily bars rolled up into calendar weeks starting Monday; `t` is the week’s start (UTC). With `asof`, the last bar is the week to date. 1mo: 1 month. Daily bars rolled up into calendar months; `t` is the month’s start (UTC). With `asof`, the last bar is the month to date.","pattern":"^\\s*(1[sS]|1[mM]|5[mM]|15[mM]|30[mM]|1[hH]|2[hH]|4[hH]|1[dD]|1[wW]|1[mM][oO])\\s*$"},"from":{"type":"string","description":"Window start: `YYYY-MM-DD`, ISO timestamp or epoch milliseconds (11 to 13 digits). A bare date starts at the beginning of that day; a timestamp is included. Combines with `to` for an explicit window; page within it using `cursor`. Mutually exclusive with `asof` (400). See Time windows."},"to":{"type":"string","description":"Window end: `YYYY-MM-DD`, ISO timestamp or epoch milliseconds (11 to 13 digits). A bare date covers that whole day. A timestamp is included until 2027-01-12 (the newest bar returned is at or before it) and exclusive from then, as everywhere else (Deprecations). On sub-daily intervals a bare date on `from` or `to` is the ET calendar day for stocks and ETFs (the whole 04:00-20:00 ET session) and the UTC day for crypto, FX and rates. Mutually exclusive with `asof` (400). See Time windows."},"asof":{"type":"string","description":"Point-in-time: the most recent bar whose period had closed at or before the instant (`YYYY-MM-DD` = that day's close; on an intraday grid, that day's last bar, through the 19:59 ET bar for stocks and ETFs). One bar, or with `limit` the last `limit` closed bars; `next_cursor` with the same parameters pages back, never past the instant or onto another holder of the symbol. Rules: Grid reads. Response time: under 1.5 s cold, under 0.6 s warm."},"adjusted":{"type":"boolean","description":"Default `true`: prices are split-adjusted (restated after each later split), so a series is continuous across a split. `false` returns the price as it printed that day (a name that later did a 1:10 reverse split reads `21.4` adjusted and `2.14` as printed), which is what a broker fill or a chart from that time shows. Volume scales the other way."},"session":{"type":"string","description":"Sub-hour intervals only. `all` (default) includes pre- and post-market bars. `regular` keeps bars whose start is in 09:30–16:00 ET (DST-aware), or 09:30–13:00 ET on NYSE half days. Why you might want it: the vendor buckets trades by SIP report time, and late-reported off-exchange (Form T) prints on thin names can land 20 min to hours late in a pre-market minute (a `$1.70` print at 08:13 ET on a `$3.85` stock). Daily high/low are untouched by those. `limit` counts after the filter; paging still works. Values: all: All sessions. Pre-market, regular and after-hours bars. regular: Regular session. Bars that start between 09:30 and 16:00 ET, or 09:30 and 13:00 ET on NYSE half days.","pattern":"^\\s*([aA][lL][lL]|[rR][eE][gG][uU][lL][aA][rR])\\s*$","default":"all"},"limit":{"type":"integer","description":"Most-recent N bars. Max 1000; an over-cap value is clamped, not an error. On a comma list the cap is per symbol: each symbol returns its newest `limit` bars in the window.","default":100},"cursor":{"type":"string","description":"Continue paging back: the previous response's `next_cursor`, unchanged, with the same parameters. On a comma list, `next_cursor` is an object of each symbol's oldest-bar time; to page one symbol further, send its value as `cursor` with that symbol alone. From 2027-01-12 a comma list's `next_cursor` is one opaque string to pass back as `cursor` with the same symbols (Deprecations). A blank `cursor=` counts as absent."}},"required":["ticker","interval"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `ticker` (a list even for one symbol), `interval`, `from`, `to`, `asof`, `adjusted`, `session` and `limit`."},"count":{"type":["number","null"],"description":"The bars in `bars` for one symbol. On a comma list, the symbols asked for (unknown ones included) until 2027-01-12; from then the bars returned across the symbols (Deprecations)."},"coverage":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"description":"`covered` when bars were found, `no_data` when nothing exists for the symbol in the window (before its first session, a market holiday, a thin name with no prints, or a symbol an earlier page already finished). A comma list keys it by symbol. A page that could not be completed is never a 200: it is a `503 unavailable` with `Retry-After`."},"bars":{"anyOf":[{"type":"array"},{"type":"object"},{"type":"null"}],"description":"OHLCV bars, oldest first: for one symbol, an array of bars; for a comma list, an object keyed by symbol. Each bar is `t` (when the bar starts, as epoch milliseconds, so a chart library can plot it as is: one of two times in the data that are not ISO 8601, with History's fiscal label at `1q`/`1y`), `o` (open), `h` (high), `l` (low), `c` (close), `v` (volume), `vw` (volume-weighted average price) and `n` (number of trades). A rolled-up bar (`5m` to `30m`, `2h`, `4h`, `1w`, `1mo`) sums `v` and `n` and weights `vw` by volume. `vw` and `n` are `null` where the trades behind a bar were not recorded."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"object"},{"type":"null"}],"description":"The next page. For one symbol, the oldest bar's `t` as a string, `null` once nothing older remains; pass it back as `cursor`. For a comma list, an object of each symbol's oldest-bar time (`null` = finished); to page one symbol further, send its value as `cursor` with that symbol alone. From 2027-01-12 a comma list's `next_cursor` is one opaque string to pass back as `cursor` (Deprecations)."},"note":{"description":"Present only when there is something to disclose about how the page was served: the first request for a symbol at a sub-hour interval loads and stores its bars, so that one call is slower than later ones and the note says so. Bulk responses carry `notes[symbol]` instead."},"notes":{"description":"With a comma list only: the per-symbol disclosures, keyed by symbol, in place of `note`."},"_meta":{"type":["object","null"],"description":"This endpoint's own key: `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is. Shared keys: on every read `history_revised_at`, per symbol, the last time its stored history was rewritten; when a rename or an earlier holder affects the dates, `identity`, per symbol, whose bars these are, with `traded_as` listing the symbols a renamed company used. See the `_meta` reference."},"not_found":{"description":"With a comma list only: the requested symbols we do not track, in request order; an empty array when every symbol was found; every symbol when none was (still a 200). Until 2027-01-12 each also keeps an empty entry in `bars`, `coverage` and the `next_cursor` map; from then it is listed here only, and the opaque `next_cursor` carries no position for it."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","coverage","bars"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/tickers/{ticker}/bars/{interval}","route":"/v2/tickers/:ticker/bars/:interval","paramLocation":{"ticker":"path","interval":"path","from":"query","to":"query","asof":"query","adjusted":"query","session":"query","limit":"query","cursor":"query"},"accepts":{"as_of":"query","before":"query"}},"rail":"tickers","page":"bars"},{"name":"tickerbot_get_ticker_coverage","description":"Reports what we hold for one ticker or a comma list of up to 50, and how far back, so an empty result is never ambiguous. Ask this before treating a gap in history or bars as an outage. An absent `1m` span is not a gap: sub-hour bars load on the first request for a symbol.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"One symbol, or a comma-separated list of up to 50 for a response keyed by symbol. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."}},"required":["ticker"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed: `ticker`, the symbols asked for (canonical, de-duplicated, in request order; a list even for one)."},"data":{"type":["object","null"],"description":"The ticker's coverage (on the list form, an object keyed by symbol): `ticker` and `name`; `spans`, per grain (`bars`, `1d`, `1h`, `1m`), each `oldest`, `newest` and `rows`, with `bars` and `1d` adding `contiguous`, `expected_sessions`, `missing_sessions` and `gaps` (the sessions missing inside the span), `1h` and `1m` adding `measured_at`, and `1m` adding `included` and `rank` (whether the symbol is in the precomputed minute tier, which does not limit what bars you can read); `measured_signals`, the depth measured per signal where the backfill engine has probed (`signal`, `grain`, `first_date`, `last_date`, `pct_complete`); and `live_row`, the ticker's current state: `signals` (published signals it carries), `populated` and `null_signals` (those null on it right now; a symbol with no fundamentals, such as an OTC-traded ADR, lists them here)."},"count":{"description":"With a comma list only: the symbols in `data`, that is, how many of the symbols asked for were found."},"not_found":{"description":"With a comma list only: the requested symbols we do not track, in request order; an empty array when every symbol was found; every symbol when none was (still a 200)."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","data"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/tickers/{ticker}/coverage","route":"/v2/tickers/:symbol/coverage","paramLocation":{"ticker":"path"},"accepts":{"symbol":"path"},"pathAliases":{"symbol":"ticker"}},"rail":"tickers","page":"coverage"},{"name":"tickerbot_get_etf_holdings","description":"Returns an ETF's constituents and their weights, heaviest first, and its sector weights, for one ETF or a comma list of up to 50. Returns `data.holdings` and the sector mix `data.sectors`. When the ticker is not an ETF, `data.is_etf` is false and both are empty; `data.is_etf: true` with zero holdings means a real ETF whose holdings are not ingested yet. The reverse lookup (\"which ETFs hold NVDA\") is the `etf_holders` signal on tickerbot_get_ticker, or a scan: `'SMH' = ANY(etf_holders)`.","inputSchema":{"type":"object","properties":{"ticker":{"type":"string","description":"ETF symbol, or a comma-separated list of up to 50 for a response keyed by symbol. Case-insensitive. Equities are bare symbols (`NVDA`); every other class carries a prefix: rates (`R:SOFR`), crypto (`X:BTCUSD`), fx (`X:EURUSD`). Bare `BTC`/`ETH` are US-listed ETFs, not spot crypto. See Tickers."},"limit":{"type":"integer","description":"Holdings per page, per ETF. Max 5000 until 2027-01-12, then 1000 (an over-cap `limit` is clamped to the max, not an error; see Deprecations). When more holdings follow the page, the ETF's object carries `truncated: true` and `total` (its full holding count), and `next_cursor` pages the rest.","default":500},"cursor":{"type":"string","description":"Continue paging: the previous response's `next_cursor`, unchanged. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param. On a comma list it carries each ETF's own position, so every ETF continues from its own last holding; a finished one returns an empty `holdings`."}},"required":["ticker"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `ticker` (a list even for one ETF) and `limit`."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` once every ETF's holdings are complete. Pass it back as `cursor`."},"data":{"type":["object","null"],"description":"The ETF's holdings (on the list form, an object keyed by symbol): `is_etf` (from the instrument type on its ticker record), `count` (holdings in this page), `total` (the ETF's full holding count, on every page), `truncated` (`true` when more holdings follow this page, until 2027-01-12; from then `next_cursor` alone says so), `next_cursor` (this ETF alone), `holdings` (constituents, heaviest first, each `holding_ticker` and `weight`, a fraction: `0.0776` is 7.76%) and `sectors` (sector weights, heaviest first, in the vendor's ETF-profile vocabulary; always complete, `limit` is about `holdings`)."},"count":{"type":["number","null"],"description":"With a comma list: the symbols in `data`, that is, how many of the ETFs asked for were found. Until 2027-01-12 one ETF's read also carries it, as the holdings in this page (the same as `data.count`)."},"not_found":{"description":"With a comma list only: the requested symbols we do not track, in request order; an empty array when every symbol was found; every symbol when none was (still a 200)."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","next_cursor","data"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/tickers/{ticker}/holdings","route":"/v2/tickers/:symbol/holdings","paramLocation":{"ticker":"path","limit":"query","cursor":"query"},"accepts":{"symbol":"path"},"pathAliases":{"symbol":"ticker"}},"rail":"tickers","page":"holdings"},{"name":"tickerbot_query_events","description":"Queries events with SQL across every ticker or a screen's matches: earnings, dividends, splits, filings, insider trades and analyst actions, plus opt-in estimate revisions, news and signal firings. Requires at least one bound: a ticker scope (ticker/universe) or a time window (from/to); `q` alone is not a bound. With one `kind`, its payload fields are bare names in `q`/`select`/`group_by` (`q: firm ILIKE 'Morgan Stanley'`, `q: relevance >= 0.8` on news); tickerbot_list_event_kinds lists them. `join: state` adds the ticker's signals as of each event. Every result has a stable `id`: use it to drop duplicates. `kind: signal` takes custom signals too.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"Comma list of kinds. Leave it out for earnings, dividend, split, filing, insider and analyst. News, signal and estimate_revision come back only when named. List event kinds lists each kind, its fields and its filters. Values: earnings: Quarterly earnings reports: reported vs estimated EPS and the surprise, timestamped at the report date. Default. No filters of its own. Payload. dividend: Cash-dividend declarations, timestamped at the ex-dividend date. Default. No filters of its own. Payload. split: Stock splits and reverse splits, timestamped at the execution date. Default. No filters of its own. Payload. filing: SEC annual and quarterly reports (10-K, 20-F, 40-F, 10-Q), timestamped at the filing date. Default. No filters of its own. Payload. insider: Officer and director trades, one event per reported Form 4 transaction. Default. No filters of its own. Payload. analyst: Upgrades, downgrades, initiations and price-target changes; lands within the hour, 24/7. Default. Filter it with `q` (`firm ILIKE 'Morgan Stanley'`). Payload. estimate_revision: Moves in consensus EPS estimates. Opt-in: included only when named. No filters of its own. Payload. news: Headlines, one event per article × tagged ticker. Opt-in: included only when named. `q=relevance >= 0.8` keeps the articles about the ticker. Payload. signal: A yes/no signal turning on or off, built-in or custom. Opt-in: included only when named. Filters: `signal`, `transition`, `merge_gap_seconds`. Payload.","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[sS][iI][gG][nN][aA][lL]|[nN][eE][wW][sS]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])(\\s*,\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[sS][iI][gG][nN][aA][lL]|[nN][eE][wW][sS]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN]))*\\s*$"},"ticker":{"type":"string","description":"One ticker or a comma list (up to 50). Not combinable with `universe`. A crypto, FX or rate symbol (`X:BTCUSD`) takes `kind=signal`; every other kind is equities-only and returns `400` naming the symbol's asset class."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`. Not combinable with `ticker`."},"from":{"type":"string","description":"Events at or after this instant, in strict ISO: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM[:SS]Z`. A bare `YYYY-MM-DD` means from the start of that day. For news, analyst ratings and estimate revisions the day is the ET calendar day (a story at 21:00 ET on Nov 2 is Nov 2); dated kinds use their own dates. For `signal`, the ticker's home-market day: ET for stocks and ETFs, UTC for crypto, FX and rates."},"to":{"type":"string","description":"Window end, in the same strict ISO subset. A bare `YYYY-MM-DD` means through the end of that day; a timestamp is exclusive (events strictly before it). For news, analyst ratings and estimate revisions the day is the ET calendar day; dated kinds use their own dates. For `signal`, the ticker's home-market day: ET for stocks and ETFs, UTC for crypto, FX and rates."},"signal":{"type":"string","description":"Only with `kind=signal`. One signal or a comma list of up to 5: built-in yes/no signals or your custom signals. Required with `q` or `join=state`. An unknown name filters nothing in and is listed in `not_found` (every name unknown: no signal events). See Signal firings."},"transition":{"type":"string","description":"Only with `kind=signal`. `enter` (false→true) or `exit` (true→false). Values: enter: Enter. The signal turned on: false to true. exit: Exit. The signal turned off: true to false.","pattern":"^\\s*([eE][nN][tT][eE][rR]|[eE][xX][iI][tT])\\s*$"},"merge_gap_seconds":{"type":"integer","description":"Only with `kind=signal`. Merges an exit and re-entry closer than N seconds into one span. Needs one `signal` and a `ticker` list, and does not combine with `q`, `group_by` or `join=state`."},"q":{"type":"string","description":"SQL WHERE over `id`, `ticker`, `ts`, `kind` and `payload` (plus the ticker's signals with `join=state`). With one `kind`, its payload fields are typed columns by bare name: `amount > 1`, `firm ILIKE 'Morgan Stanley'`, `relevance >= 0.8` on news (List event kinds lists them); with several kinds, use `payload->>'…'`. Max 4000 chars. ANDs with the other filters."},"join":{"type":"string","description":"Set to `state` to use the ticker's signals in `q`, `select`, `group_by` and `having`, read as of each event's timestamp at the grain `grain` picks. On the daily grain an event on day D reads D-1's row, never D's close. A signal and a payload field with the same name (`price` on insider and signal events, `cik` on filing) resolve to the signal; spell the field `payload->>'price'`. Needs `q`, `group_by` or a ticker signal in `select`. Values: state: Add the ticker’s signals, read as of each event’s timestamp at the grain `grain` picks (default `auto`, which blends hourly and daily per event).","pattern":"^\\s*([sS][tT][aA][tT][eE])\\s*$"},"grain":{"type":"string","description":"Only with `kind=signal` or `join=state`. With `kind=signal`, the grain the flips are read at: `1m`, `1h` or `1d`, or `auto` (the default), the coarsest grain the signal is stored at. With `join=state`, the grain the ticker's signals are read at: `auto` (default) blends hourly and the last closed daily session per event; see as of a past date. Values: 1m: Minute. With `kind=signal`, the signal turning on and off in the one-minute state. With `join=state`, signals read from the one-minute state at or before each event. 1h: Hour. With `kind=signal`, the signal turning on and off in the hourly state. With `join=state`, signals read from the hourly state at or before each event. 1d: Day. With `kind=signal`, the signal turning on and off in the daily state. With `join=state`, signals read from the last daily session closed before each event. auto: Auto. With `kind=signal`, each signal at its own grain, the coarsest it is stored at (`above_sma_200` at `1d`). With `join=state`, each signal from its freshest grain at or before the event, hourly or the last closed daily session; `group_by` reads use the daily session.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|[aA][uU][tT][oO])\\s*$","default":"auto"},"select":{"type":"string","description":"Without `group_by`: what each result carries. `id`, `ticker`, `ts` and `kind` always, then the names you list, each at the top level of the result: `payload`, a payload field of the one kind named (`firm`, or `payload->>'firm'`) and with `join=state` a ticker signal. `*` is every field: the whole `payload`, and with `join=state` every signal the read's grain stores. With `group_by`: the rollup's output columns (default: the group keys + `COUNT(*) AS events`), named with `AS` or for you as on `group_by`."},"group_by":{"type":"string","description":"Comma list of rollup keys; it switches the response to rollups. Columns (`kind`, `ticker`), payload fields (`firm`, or the explicit `payload->>'firm'`) and expressions over them all roll up. Name a key with `AS` to choose its JSON key: `payload->>'firm' AS firm`. Un-named keys are named for you: a payload read takes its key (`payload->>'firm'` → `firm`), a function keeps the function's name (`lower(ticker)` → `lower`), and anything else falls back to `group_1`, `group_2`."},"having":{"type":"string","description":"Only with `group_by`. Post-aggregation filter."},"order":{"type":"string","description":"With `group_by`: the rollup sort, a bare column or output name (put expressions in `select` and sort by their alias); a group key's name works too: `group_by=payload->>'firm' AS firm&order=firm`. Default: `events`, or with your own `select`, its last column's alias. A list is sorted by `ts`: `order=ts` is accepted there and changes nothing."},"dir":{"type":"string","description":"A list: `desc` (default) is newest first, `asc` oldest first, paging forward. With `group_by`: the rollup's sort direction. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"limit":{"type":"integer","description":"Page size for a list (default 50): up to 1000, and the rest pages with `next_cursor`. A `group_by` rollup returns every group up to `limit` (default and max 1000) and sets `truncated: true` when there are more. A larger value is clamped to the max, not an error.","default":50},"cursor":{"type":"string","description":"Opaque cursor from the previous response. It carries the filters, `dir` and `select`, so pass it alone. A `q`, `ticker` list or `select` too long to ride in it is kept as a fingerprint instead: send that param again with `cursor`, the same as on the first page (`q_truncated` flags `q`). A missing or different value is a 400 naming the param. Not valid with `group_by`."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request with each param's effective value, in the documented param order: `kind` (a comma string; `all` when you left it out, meaning the six default kinds), `ticker` (a list), `universe`, `from` and `to` (ISO 8601), the kind's own filters (`signal`, `transition`, `merge_gap_seconds`), `q`, `join`, `grain`, `select`, `group_by`, `having`, `order` (rollups), `dir` and `limit`. `q`, `select`, `group_by` and `having` come back in your spelling, not the SQL they compile to. A param you did not send is `null`."},"count":{"type":["number","null"],"description":"The rows in `results` on this page: events, or groups on a rollup."},"results":{"type":["array","null"],"items":{"properties":{"id":{"type":["string","null"]},"ticker":{"type":["string","null"]},"ts":{"type":["string","null"]},"kind":{"type":["string","null"]},"payload":{"type":["object","null"],"anyOf":[{"properties":{"fiscal_period_end":{},"reported_eps":{},"estimated_eps":{},"surprise":{},"surprise_pct":{},"report_time":{"description":"One of: `pre-market`, `post-market`."},"available_at":{},"available_at_source":{"description":"One of: `report_time`, `assumed`."}}},{"properties":{"amount":{},"ex_date":{},"pay_date":{},"record_date":{},"declared_date":{},"dividend_type":{"description":"One of: `CD`, `SC`."},"frequency":{}}},{"properties":{"split_from":{},"split_to":{},"ratio":{}}},{"properties":{"form":{"description":"One of: `10-K`, `20-F`, `40-F`, `10-Q`."},"accession":{},"period_end":{},"period_start":{},"fiscal_year":{},"fiscal_period":{"description":"One of: `FY`, `Q1`, `Q2`, `Q3`, `Q4`, `H1`, `CY`."},"available_at":{},"cik":{},"url":{}}},{"properties":{"executive":{"type":["string","null"]},"title":{"type":["string","null"]},"security_type":{"type":["string","null"]},"action":{"type":["string","null"],"description":"One of: `P`, `S`, `V`, `A`, `D`, `F`, `I`, `M`, `C`, `E`, `H`, `O`, `X`, `G`, `L`, `W`, `Z`, `J`, `K`, `U`."},"shares":{"type":["number","null"]},"price":{"type":["number","null"]},"value":{"type":["number","null"]}}},{"properties":{"event_id":{"type":["string","null"]},"firm":{"type":["string","null"]},"analyst":{"type":["string","null"]},"action":{"type":["string","null"],"description":"One of: `upgrades`, `downgrades`, `maintains`, `reiterates`, `initiates_coverage_on`, `assumes`, `reinstates`, `suspends`, `terminates_coverage_on`."},"rating":{"type":["string","null"]},"previous_rating":{"type":["string","null"]},"price_target":{"type":["number","null"]},"previous_price_target":{"type":["number","null"]},"price_target_action":{"type":["string","null"],"description":"One of: `raises`, `lowers`, `maintains`, `announces`, `adjusts`, `removes`."},"importance":{"type":["number","null"]},"currency":{"type":["string","null"]}}},{"properties":{"fiscal_date":{"type":["string","null"]},"horizon":{"type":["string","null"],"description":"One of: `fiscal quarter`, `fiscal year`."},"old_estimate":{"type":["number","null"]},"new_estimate":{"type":["number","null"]},"change_pct":{"type":["number","null"]},"direction":{"type":["string","null"],"description":"One of: `up`, `down`."},"analyst_count":{"type":["number","null"]}}},{"properties":{"title":{"type":["string","null"]},"source":{"type":["string","null"]},"url":{"type":["string","null"]},"sentiment_score":{"type":["number","null"]},"sentiment":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{"type":["number","null"]}}},{"properties":{"signal":{"type":["string","null"]},"transition":{"type":["string","null"],"description":"One of: `enter`, `exit`."},"price":{"type":["number","null"]},"definition_version":{"type":["number","null"]},"grain":{"type":["string","null"],"description":"One of: `1m`, `1h`, `1d`."}}}]}}},"description":"One result per event (with `select`: `id`, `ticker`, `ts`, `kind` and the named keys), or rollups plus `truncated: true` when an aggregate exceeds `limit`."},"not_found":{"type":["array","null"],"items":{"type":"string"},"description":"With `ticker`, `universe` or `signal`: what you named that does not exist, in request order: the symbols we do not track, an unknown `universe` id, then unknown `signal` names; an empty array when every one was found. A typo here is listed, not read as \"no events\"."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. A `kind=signal` page can hold fewer than `limit` results, or none, and still carry a `next_cursor`: the read covers a long window in steps and returns what it has after about 6 s (`q` or `join=state`) or 10 s (filter params only), so keep paging until `next_cursor` is `null`. A page that read nothing retries a shorter stretch; if three pages in a row read nothing that way, the read answers `503` `unavailable` with `Retry-After` instead of another empty page, and the same `cursor` can be retried."},"truncated":{"description":"Aggregate mode only (`group_by`): `true` when the rollup stopped at its result cap. Aggregate responses are unpaged, so `next_cursor` is absent there."},"q_truncated":{"description":"Only when an oversized `q` could not ride the cursor: resend `q` with `cursor` on later pages."},"_meta":{"description":"With `join=state`: `grain`, the grain the joined state was read at (`auto` or the pin), and `state_blended: true` under `auto`. On any read: `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is, and `plan_limits.grain` when signal flips or the joined state were served at a coarser grain than asked (`signals_not_served` names any signal it could not read at all). Shared keys: see the `_meta` reference."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","results"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/events","route":"/v2/events","paramLocation":{"kind":"query","ticker":"query","universe":"query","from":"query","to":"query","signal":"query","transition":"query","merge_gap_seconds":"query","q":"query","join":"query","grain":"query","select":"query","group_by":"query","having":"query","order":"query","dir":"query","limit":"query","cursor":"query"},"accepts":{"tickers":"query","since":"query","until":"query","interval":"query","firm":"query","action":"query","min_relevance":"query"}},"rail":"events","page":"query"},{"name":"tickerbot_list_events","description":"Deprecated: works until 2027-01-12. Same as tickerbot_query_events; call that instead.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"Comma list of kinds. Leave it out for earnings, dividend, split, filing, insider and analyst. News, signal and estimate_revision come back only when named. List event kinds lists each kind, its fields and its filters. Values: earnings: Quarterly earnings reports: reported vs estimated EPS and the surprise, timestamped at the report date. Default. No filters of its own. Payload. dividend: Cash-dividend declarations, timestamped at the ex-dividend date. Default. No filters of its own. Payload. split: Stock splits and reverse splits, timestamped at the execution date. Default. No filters of its own. Payload. filing: SEC annual and quarterly reports (10-K, 20-F, 40-F, 10-Q), timestamped at the filing date. Default. No filters of its own. Payload. insider: Officer and director trades, one event per reported Form 4 transaction. Default. No filters of its own. Payload. analyst: Upgrades, downgrades, initiations and price-target changes; lands within the hour, 24/7. Default. Filter it with `q` (`firm ILIKE 'Morgan Stanley'`). Payload. estimate_revision: Moves in consensus EPS estimates. Opt-in: included only when named. No filters of its own. Payload. news: Headlines, one event per article × tagged ticker. Opt-in: included only when named. `q=relevance >= 0.8` keeps the articles about the ticker. Payload. signal: A yes/no signal turning on or off, built-in or custom. Opt-in: included only when named. Filters: `signal`, `transition`, `merge_gap_seconds`. Payload.","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[sS][iI][gG][nN][aA][lL]|[nN][eE][wW][sS]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])(\\s*,\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[sS][iI][gG][nN][aA][lL]|[nN][eE][wW][sS]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN]))*\\s*$"},"ticker":{"type":"string","description":"One ticker or a comma list (up to 50). Not combinable with `universe`. A crypto, FX or rate symbol (`X:BTCUSD`) takes `kind=signal`; every other kind is equities-only and returns `400` naming the symbol's asset class."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`. Not combinable with `ticker`."},"from":{"type":"string","description":"Events at or after this instant, in strict ISO: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM[:SS]Z`. A bare `YYYY-MM-DD` means from the start of that day. For news, analyst ratings and estimate revisions the day is the ET calendar day (a story at 21:00 ET on Nov 2 is Nov 2); dated kinds use their own dates. For `signal`, the ticker's home-market day: ET for stocks and ETFs, UTC for crypto, FX and rates."},"to":{"type":"string","description":"Window end, in the same strict ISO subset. A bare `YYYY-MM-DD` means through the end of that day; a timestamp is exclusive (events strictly before it). For news, analyst ratings and estimate revisions the day is the ET calendar day; dated kinds use their own dates. For `signal`, the ticker's home-market day: ET for stocks and ETFs, UTC for crypto, FX and rates."},"signal":{"type":"string","description":"Only with `kind=signal`. One signal or a comma list of up to 5: built-in yes/no signals or your custom signals. Required with `q` or `join=state`. An unknown name filters nothing in and is listed in `not_found` (every name unknown: no signal events). See Signal firings."},"transition":{"type":"string","description":"Only with `kind=signal`. `enter` (false→true) or `exit` (true→false). Values: enter: Enter. The signal turned on: false to true. exit: Exit. The signal turned off: true to false.","pattern":"^\\s*([eE][nN][tT][eE][rR]|[eE][xX][iI][tT])\\s*$"},"merge_gap_seconds":{"type":"integer","description":"Only with `kind=signal`. Merges an exit and re-entry closer than N seconds into one span. Needs one `signal` and a `ticker` list, and does not combine with `q`, `group_by` or `join=state`."},"q":{"type":"string","description":"SQL WHERE over `id`, `ticker`, `ts`, `kind` and `payload` (plus the ticker's signals with `join=state`). With one `kind`, its payload fields are typed columns by bare name: `amount > 1`, `firm ILIKE 'Morgan Stanley'`, `relevance >= 0.8` on news (List event kinds lists them); with several kinds, use `payload->>'…'`. Max 4000 chars. ANDs with the other filters."},"join":{"type":"string","description":"Set to `state` to use the ticker's signals in `q`, `select`, `group_by` and `having`, read as of each event's timestamp at the grain `grain` picks. On the daily grain an event on day D reads D-1's row, never D's close. A signal and a payload field with the same name (`price` on insider and signal events, `cik` on filing) resolve to the signal; spell the field `payload->>'price'`. Needs `q`, `group_by` or a ticker signal in `select`. Values: state: Add the ticker’s signals, read as of each event’s timestamp at the grain `grain` picks (default `auto`, which blends hourly and daily per event).","pattern":"^\\s*([sS][tT][aA][tT][eE])\\s*$"},"grain":{"type":"string","description":"Only with `kind=signal` or `join=state`. With `kind=signal`, the grain the flips are read at: `1m`, `1h` or `1d`, or `auto` (the default), the coarsest grain the signal is stored at. With `join=state`, the grain the ticker's signals are read at: `auto` (default) blends hourly and the last closed daily session per event; see as of a past date. Values: 1m: Minute. With `kind=signal`, the signal turning on and off in the one-minute state. With `join=state`, signals read from the one-minute state at or before each event. 1h: Hour. With `kind=signal`, the signal turning on and off in the hourly state. With `join=state`, signals read from the hourly state at or before each event. 1d: Day. With `kind=signal`, the signal turning on and off in the daily state. With `join=state`, signals read from the last daily session closed before each event. auto: Auto. With `kind=signal`, each signal at its own grain, the coarsest it is stored at (`above_sma_200` at `1d`). With `join=state`, each signal from its freshest grain at or before the event, hourly or the last closed daily session; `group_by` reads use the daily session.","pattern":"^\\s*(1[mM]|1[hH]|1[dD]|[aA][uU][tT][oO])\\s*$","default":"auto"},"select":{"type":"string","description":"Without `group_by`: what each result carries. `id`, `ticker`, `ts` and `kind` always, then the names you list, each at the top level of the result: `payload`, a payload field of the one kind named (`firm`, or `payload->>'firm'`) and with `join=state` a ticker signal. `*` is every field: the whole `payload`, and with `join=state` every signal the read's grain stores. With `group_by`: the rollup's output columns (default: the group keys + `COUNT(*) AS events`), named with `AS` or for you as on `group_by`."},"group_by":{"type":"string","description":"Comma list of rollup keys; it switches the response to rollups. Columns (`kind`, `ticker`), payload fields (`firm`, or the explicit `payload->>'firm'`) and expressions over them all roll up. Name a key with `AS` to choose its JSON key: `payload->>'firm' AS firm`. Un-named keys are named for you: a payload read takes its key (`payload->>'firm'` → `firm`), a function keeps the function's name (`lower(ticker)` → `lower`), and anything else falls back to `group_1`, `group_2`."},"having":{"type":"string","description":"Only with `group_by`. Post-aggregation filter."},"order":{"type":"string","description":"With `group_by`: the rollup sort, a bare column or output name (put expressions in `select` and sort by their alias); a group key's name works too: `group_by=payload->>'firm' AS firm&order=firm`. Default: `events`, or with your own `select`, its last column's alias. A list is sorted by `ts`: `order=ts` is accepted there and changes nothing."},"dir":{"type":"string","description":"A list: `desc` (default) is newest first, `asc` oldest first, paging forward. With `group_by`: the rollup's sort direction. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"limit":{"type":"integer","description":"Page size for a list (default 50): up to 1000, and the rest pages with `next_cursor`. A `group_by` rollup returns every group up to `limit` (default and max 1000) and sets `truncated: true` when there are more. A larger value is clamped to the max, not an error.","default":50},"cursor":{"type":"string","description":"Opaque cursor from the previous response. It carries the filters, `dir` and `select`, so pass it alone. A `q`, `ticker` list or `select` too long to ride in it is kept as a fingerprint instead: send that param again with `cursor`, the same as on the first page (`q_truncated` flags `q`). A missing or different value is a 400 naming the param. Not valid with `group_by`."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request with each param's effective value, in the documented param order: `kind` (a comma string; `all` when you left it out, meaning the six default kinds), `ticker` (a list), `universe`, `from` and `to` (ISO 8601), the kind's own filters (`signal`, `transition`, `merge_gap_seconds`), `q`, `join`, `grain`, `select`, `group_by`, `having`, `order` (rollups), `dir` and `limit`. `q`, `select`, `group_by` and `having` come back in your spelling, not the SQL they compile to. A param you did not send is `null`."},"count":{"type":["number","null"],"description":"The rows in `results` on this page: events, or groups on a rollup."},"results":{"type":["array","null"],"items":{"properties":{"id":{"type":["string","null"]},"ticker":{"type":["string","null"]},"ts":{"type":["string","null"]},"kind":{"type":["string","null"]},"payload":{"type":["object","null"],"anyOf":[{"properties":{"fiscal_period_end":{},"reported_eps":{},"estimated_eps":{},"surprise":{},"surprise_pct":{},"report_time":{"description":"One of: `pre-market`, `post-market`."},"available_at":{},"available_at_source":{"description":"One of: `report_time`, `assumed`."}}},{"properties":{"amount":{},"ex_date":{},"pay_date":{},"record_date":{},"declared_date":{},"dividend_type":{"description":"One of: `CD`, `SC`."},"frequency":{}}},{"properties":{"split_from":{},"split_to":{},"ratio":{}}},{"properties":{"form":{"description":"One of: `10-K`, `20-F`, `40-F`, `10-Q`."},"accession":{},"period_end":{},"period_start":{},"fiscal_year":{},"fiscal_period":{"description":"One of: `FY`, `Q1`, `Q2`, `Q3`, `Q4`, `H1`, `CY`."},"available_at":{},"cik":{},"url":{}}},{"properties":{"executive":{"type":["string","null"]},"title":{"type":["string","null"]},"security_type":{"type":["string","null"]},"action":{"type":["string","null"],"description":"One of: `P`, `S`, `V`, `A`, `D`, `F`, `I`, `M`, `C`, `E`, `H`, `O`, `X`, `G`, `L`, `W`, `Z`, `J`, `K`, `U`."},"shares":{"type":["number","null"]},"price":{"type":["number","null"]},"value":{"type":["number","null"]}}},{"properties":{"event_id":{"type":["string","null"]},"firm":{"type":["string","null"]},"analyst":{"type":["string","null"]},"action":{"type":["string","null"],"description":"One of: `upgrades`, `downgrades`, `maintains`, `reiterates`, `initiates_coverage_on`, `assumes`, `reinstates`, `suspends`, `terminates_coverage_on`."},"rating":{"type":["string","null"]},"previous_rating":{"type":["string","null"]},"price_target":{"type":["number","null"]},"previous_price_target":{"type":["number","null"]},"price_target_action":{"type":["string","null"],"description":"One of: `raises`, `lowers`, `maintains`, `announces`, `adjusts`, `removes`."},"importance":{"type":["number","null"]},"currency":{"type":["string","null"]}}},{"properties":{"fiscal_date":{"type":["string","null"]},"horizon":{"type":["string","null"],"description":"One of: `fiscal quarter`, `fiscal year`."},"old_estimate":{"type":["number","null"]},"new_estimate":{"type":["number","null"]},"change_pct":{"type":["number","null"]},"direction":{"type":["string","null"],"description":"One of: `up`, `down`."},"analyst_count":{"type":["number","null"]}}},{"properties":{"title":{"type":["string","null"]},"source":{"type":["string","null"]},"url":{"type":["string","null"]},"sentiment_score":{"type":["number","null"]},"sentiment":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{"type":["number","null"]}}},{"properties":{"signal":{"type":["string","null"]},"transition":{"type":["string","null"],"description":"One of: `enter`, `exit`."},"price":{"type":["number","null"]},"definition_version":{"type":["number","null"]},"grain":{"type":["string","null"],"description":"One of: `1m`, `1h`, `1d`."}}}]}}},"description":"One result per event (with `select`: `id`, `ticker`, `ts`, `kind` and the named keys), or rollups plus `truncated: true` when an aggregate exceeds `limit`."},"not_found":{"type":["array","null"],"items":{"type":"string"},"description":"With `ticker`, `universe` or `signal`: what you named that does not exist, in request order: the symbols we do not track, an unknown `universe` id, then unknown `signal` names; an empty array when every one was found. A typo here is listed, not read as \"no events\"."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. A `kind=signal` page can hold fewer than `limit` results, or none, and still carry a `next_cursor`: the read covers a long window in steps and returns what it has after about 6 s (`q` or `join=state`) or 10 s (filter params only), so keep paging until `next_cursor` is `null`. A page that read nothing retries a shorter stretch; if three pages in a row read nothing that way, the read answers `503` `unavailable` with `Retry-After` instead of another empty page, and the same `cursor` can be retried."},"truncated":{"description":"Aggregate mode only (`group_by`): `true` when the rollup stopped at its result cap. Aggregate responses are unpaged, so `next_cursor` is absent there."},"q_truncated":{"description":"Only when an oversized `q` could not ride the cursor: resend `q` with `cursor` on later pages."},"_meta":{"description":"With `join=state`: `grain`, the grain the joined state was read at (`auto` or the pin), and `state_blended: true` under `auto`. On any read: `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is, and `plan_limits.grain` when signal flips or the joined state were served at a coarser grain than asked (`signals_not_served` names any signal it could not read at all). Shared keys: see the `_meta` reference."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","results"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/events","route":"/v2/events","paramLocation":{"kind":"query","ticker":"query","universe":"query","from":"query","to":"query","signal":"query","transition":"query","merge_gap_seconds":"query","q":"query","join":"query","grain":"query","select":"query","group_by":"query","having":"query","order":"query","dir":"query","limit":"query","cursor":"query"},"accepts":{"tickers":"query","since":"query","until":"query","interval":"query","firm":"query","action":"query","min_relevance":"query"}},"rail":"events","page":"query","deprecated":{"sunset":"2027-01-12","successor":"tickerbot_query_events"}},{"name":"tickerbot_list_event_kinds","description":"Returns every event kind: what it is, whether it is in the default stream and can be subscribed to, what its `ts` means, and the fields you can name in `q`, `select` and `group_by` when you ask for that kind alone.","inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"count":{"type":["number","null"],"description":"The kinds in `kinds`."},"common_fields":{"type":["array","null"],"description":"The fields every event has, whatever its kind: `id` (stable across reads; use it to drop duplicates), `ticker`, `ts`, `kind`. Each as `name`, `type`, `description`, `nullable`."},"kinds":{"type":["array","null"],"items":{"properties":{"kind":{"type":["string","null"]},"label":{"type":["string","null"]},"description":{"type":["string","null"]},"default":{"type":["boolean","null"]},"subscribable":{"type":["boolean","null"]},"ts":{"type":["string","null"]},"id_rule":{"type":["string","null"]},"history_start":{"type":["string","null"]},"refresh":{"description":"One of: `daily_after_close`, `daily`, `1h`, `15m`."},"fields":{"type":["array","null"]},"filters":{"type":["array","null"]}}},"description":"One entry per kind."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","count","common_fields","kinds"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/events/kinds","route":"/v2/events/kinds","paramLocation":{}},"rail":"events","page":"kinds"},{"name":"tickerbot_subscribe_events","description":"Gets you an alert by webhook when new events of the kinds you choose land, filtered on the event and on the ticker's signals. Each webhook takes one of your plan's webhook slots. One `q` covers the event's fields (with one kind, bare: `firm = 'Goldman Sachs'`) and the ticker's signals at fire time (`market_cap > 1e10`); on a name clash (`price`, `cik`) the ticker signal wins; the event's own value is `payload->>'price'`. Latency is the ingest cadence (analyst ≤1h, corporate kinds daily), not sub-minute.","inputSchema":{"type":"object","properties":{"kind":{"anyOf":[{"type":"string","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])(\\s*,\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN]))*\\s*$"},{"type":"array","items":{"type":"string","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])\\s*$"}}],"description":"Event kinds to fire on, an array or a comma list. `filing` fires when a 10-K, 20-F, 40-F or 10-Q lands (the next morning's EDGAR index read); `estimate_revision` when the nightly consensus refresh moves an EPS estimate, one event per fiscal period and horizon that moved (about 1,000 a night across the market). Values: earnings: Fires on each quarterly earnings report: reported vs estimated EPS and the surprise. dividend: Fires on each cash-dividend declaration. split: Fires on each stock split or reverse split. filing: Fires when a 10-K, 20-F, 40-F or 10-Q lands, from the next morning’s EDGAR index read. insider: Fires on each reported Form 4 transaction by an officer or director. analyst: Fires on each upgrade, downgrade, initiation or price-target change. estimate_revision: Fires when the nightly consensus refresh moves an EPS estimate, one event per fiscal period and horizon that moved (about 1,000 a night across the market)."},"ticker":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"One ticker or a comma list (up to 50). Not combinable with `universe`. Omit both for every ticker."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one is a 400 `universe_not_found` naming it."},"q":{"type":"string","description":"The filter, as on Query events with `join=state`: the event's own fields (`id`, `ticker`, `ts`, `kind`, `payload`, and with one kind its payload fields by bare name) and the ticker's signals at fire time, in one WHERE clause. A payload field and a signal with the same name resolve to the signal, as on Query events: `price` on insider, `cik` on filing. Spell the event's own value `payload->>'price'`. Custom signals are expanded and frozen at creation."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each delivered event carries: `id`, `ticker`, `ts` and `kind` always, then the names you list, at the top level: `payload`, the payload fields of the one kind named, and ticker signals at fire time. Omitted: each event as on Query events (`payload` whole)."},"channel":{"type":"string","description":"Delivery channel: `webhook` (POST to `target_url`), `discord` (an embed at `discord_url`), `in_app` (the dashboard only) or `mobile_push` (to `device_id`). Inferred when omitted: `discord` if `discord_url` is set, else `mobile_push` if `device_id` is set, else `webhook` if `target_url` is set, else `in_app`. See Delivery channels. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"Only with `channel=webhook`. HTTPS URL each delivery is POSTed to."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL (`https://discord.com/api/webhooks/…`). Stored as a posting credential: the create response echoes it back under `channel_config`, but every later read (list, get, deliveries) strips it and sets `channel_config_present: true` instead."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`. An unknown id is a 400 `device_not_found`."},"name":{"type":"string","description":"Display name, up to 80 characters. Defaults to `events: <kinds> · <scope>`."}},"anyOf":[{"required":["kind"]},{"required":["kinds"]}]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"channel_config":{"description":"Returned on create only: the channel-specific delivery settings as stored (e.g. the Discord URL, the device id)."},"signing_secret":{"description":"Returned on create only, and shown once. HMAC key for verifying the `X-Tickerbot-Signature` header on deliveries."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"test_url":{"description":"Returned on create only, when the channel delivers outside the dashboard: the path of `POST /v2/webhooks/{webhook}/test` for this record."},"_meta":{"description":"Returned on create only, and only when the rule or `select` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired","channel_config","signing_secret"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/events/subscribe","route":"/v2/events/subscribe","paramLocation":{"kind":"body","ticker":"body","universe":"body","q":"body","select":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","name":"body"},"accepts":{"kinds":"body","tickers":"body","universe_id":"body","event_q":"body"}},"rail":"events","page":"subscribe"},{"name":"tickerbot_query_news","description":"Queries news with SQL for any ticker or a screen's matches: articles with how each one treats every ticker it mentions, or rollups when you group them. `ticker` (one or a comma list) keeps articles that mention it; add `min_relevance: 0.8` to keep only articles about it. Each article carries `mentions`: per ticker, `relevance` and `sentiment_score`/`sentiment`. Naming `ticker`, `relevance`, `sentiment_score` or `sentiment` in `q`/`select`/`group_by` gives one row per article per mention: `q: ticker = 'NVDA' AND sentiment_score < -0.3` is articles negative about NVDA. `search` is full-text over title and summary. Rollups with group_by/having return `truncated: true` instead of paging.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Full-text search over `title` + `summary`, in websearch grammar: `nvidia earnings` (all words), `\"price target\"` (phrase), `chips OR semiconductors`, `-crypto` (negation). Max 200 chars. ANDs with `q` and the other filters. Language-stemmed English."},"ticker":{"type":"string","description":"One ticker or a comma list (up to 50): articles that mention any of them. Not combinable with `universe`. Per-mention rows still list every ticker an article mentions; put `ticker = 'NVDA'` in `q` for one ticker's rows."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`. Articles that mention any member. Not combinable with `ticker`."},"from":{"type":"string","description":"Earliest `time_published` (inclusive), in strict ISO: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM[:SS]Z`. A bare date starts at 00:00 ET that day."},"to":{"type":"string","description":"Articles strictly before this instant, in the same strict ISO subset as `from` (as on `/v2/events`). A bare `YYYY-MM-DD` means through the end of that day (the ET calendar day), so `from` and `to` on the same date return that day."},"min_relevance":{"type":"number","description":"Only with `ticker` or `universe`. Keeps an article only when it is about one of the tickers, meaning that ticker's `relevance` (0 to 1) is at least this value. `0.8` drops passing mentions. Omitted: every article that mentions them. `400` without a ticker scope; in `q`, filter the mention itself: `ticker = 'NVDA' AND relevance >= 0.8`."},"q":{"type":"string","description":"WHERE clause over news articles. Max 4000 chars. Required unless `search`, `ticker`, `universe`, `from` or `to` is present. Takes every article field under Returns except `mentions`, plus the per-mention fields `ticker`, `relevance`, `sentiment_score` and `sentiment` (one article per mention)."},"select":{"type":"string","description":"Fields or expressions to return (max 2000 chars). Defaults to the article row (no `group_by`) or `<group_by keys>, COUNT(*) AS volume` (with `group_by`). `*` returns every article field under Returns plus `mentions` (on a per-mention row, the mention's four fields too). `mentions` is selectable on its own."},"group_by":{"type":"string","description":"Comma-separated group keys, 1-6 (max 1000 chars); the response becomes rollups. `ticker` rolls up per ticker mentioned. Name a key with `AS` to choose its JSON key; an un-named expression is named for you."},"having":{"type":"string","description":"Only with `group_by`. HAVING clause on the rollup (max 1000 chars)."},"order":{"type":"string","description":"Sort by a bare field name or SELECT alias only (put expressions in `select` and order by their alias). Defaults to `time_published` (articles) or `volume` (rollups; with your own `select` that has no `volume` column, its last column's alias)."},"dir":{"type":"string","description":"Sort direction. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"limit":{"type":"integer","description":"Page size (articles) / max groups (a `group_by` rollup). Articles take up to 1000 and page the rest with `next_cursor`. A rollup does not page: it returns up to `limit` groups, every group up to 1000 by default, and sets `truncated: true` when there are more. A larger value is clamped to the max, not an error.","default":50},"cursor":{"type":"string","description":"From a prior response's `next_cursor`. Send it with the same params as the first page (`limit` may change). It holds the position and pins the read: a page whose params differ from the first page's, or a cursor sent alone, is a 400 naming the param to send."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value, in the documented param order. `ticker` is the ticker scope as a list. A param you did not send is `null`."},"count":{"type":["number","null"],"description":"The rows in `results` on this page: articles, one row per mention on a per-mention read, or groups on a rollup."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor` with the same params. Rollups do not page."},"results":{"type":["array","null"],"items":{"properties":{"id":{"type":["number","null"]},"time_published":{"type":["string","null"]},"title":{"type":["string","null"]},"summary":{},"source":{"type":["string","null"]},"source_domain":{},"category":{},"authors":{},"topics":{},"overall_sentiment_score":{"type":["number","null"]},"overall_sentiment_label":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"tickers":{"type":["array","null"]},"mentions":{"type":["array","null"],"items":{"properties":{"ticker":{"type":["string","null"]},"sentiment_score":{"type":["number","null"]},"sentiment":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{"type":["number","null"]}}}},"banner_image":{},"url":{"type":["string","null"]},"created_at":{},"ticker":{},"sentiment_score":{},"sentiment":{"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{}}},"description":"Articles (one per article per mention when you name a per-mention field), or rollups when you passed `group_by`."},"not_found":{"type":["array","null"],"items":{"type":"string"},"description":"With `ticker` or `universe`: what you named that does not exist: the symbols we do not track, in request order, or an unknown `universe` id; an empty array when every one was found. A typo here is listed, not read as \"no news\"."},"truncated":{"description":"Rollups only (`group_by`): `true` when `limit` cut the group list."},"_meta":{"description":"Only when there is something to disclose: `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is. Shared keys: see the `_meta` reference."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","next_cursor","results"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/news","route":"/v2/news","paramLocation":{"search":"query","ticker":"query","universe":"query","from":"query","to":"query","min_relevance":"query","q":"query","select":"query","group_by":"query","having":"query","order":"query","dir":"query","limit":"query","cursor":"query"},"accepts":{"tickers":"query","since":"query","until":"query"}},"rail":"news","page":"query"},{"name":"tickerbot_search_news","description":"Deprecated: works until 2027-01-12. Same as tickerbot_query_news; call that instead.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Full-text search over `title` + `summary`, in websearch grammar: `nvidia earnings` (all words), `\"price target\"` (phrase), `chips OR semiconductors`, `-crypto` (negation). Max 200 chars. ANDs with `q` and the other filters. Language-stemmed English."},"ticker":{"type":"string","description":"One ticker or a comma list (up to 50): articles that mention any of them. Not combinable with `universe`. Per-mention rows still list every ticker an article mentions; put `ticker = 'NVDA'` in `q` for one ticker's rows."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one answers 200 with no results and its id in `not_found`. Articles that mention any member. Not combinable with `ticker`."},"from":{"type":"string","description":"Earliest `time_published` (inclusive), in strict ISO: `YYYY-MM-DD` or `YYYY-MM-DDTHH:MM[:SS]Z`. A bare date starts at 00:00 ET that day."},"to":{"type":"string","description":"Articles strictly before this instant, in the same strict ISO subset as `from` (as on `/v2/events`). A bare `YYYY-MM-DD` means through the end of that day (the ET calendar day), so `from` and `to` on the same date return that day."},"min_relevance":{"type":"number","description":"Only with `ticker` or `universe`. Keeps an article only when it is about one of the tickers, meaning that ticker's `relevance` (0 to 1) is at least this value. `0.8` drops passing mentions. Omitted: every article that mentions them. `400` without a ticker scope; in `q`, filter the mention itself: `ticker = 'NVDA' AND relevance >= 0.8`."},"q":{"type":"string","description":"WHERE clause over news articles. Max 4000 chars. Required unless `search`, `ticker`, `universe`, `from` or `to` is present. Takes every article field under Returns except `mentions`, plus the per-mention fields `ticker`, `relevance`, `sentiment_score` and `sentiment` (one article per mention)."},"select":{"type":"string","description":"Fields or expressions to return (max 2000 chars). Defaults to the article row (no `group_by`) or `<group_by keys>, COUNT(*) AS volume` (with `group_by`). `*` returns every article field under Returns plus `mentions` (on a per-mention row, the mention's four fields too). `mentions` is selectable on its own."},"group_by":{"type":"string","description":"Comma-separated group keys, 1-6 (max 1000 chars); the response becomes rollups. `ticker` rolls up per ticker mentioned. Name a key with `AS` to choose its JSON key; an un-named expression is named for you."},"having":{"type":"string","description":"Only with `group_by`. HAVING clause on the rollup (max 1000 chars)."},"order":{"type":"string","description":"Sort by a bare field name or SELECT alias only (put expressions in `select` and order by their alias). Defaults to `time_published` (articles) or `volume` (rollups; with your own `select` that has no `volume` column, its last column's alias)."},"dir":{"type":"string","description":"Sort direction. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$","default":"desc"},"limit":{"type":"integer","description":"Page size (articles) / max groups (a `group_by` rollup). Articles take up to 1000 and page the rest with `next_cursor`. A rollup does not page: it returns up to `limit` groups, every group up to 1000 by default, and sets `truncated: true` when there are more. A larger value is clamped to the max, not an error.","default":50},"cursor":{"type":"string","description":"From a prior response's `next_cursor`. Send it with the same params as the first page (`limit` may change). It holds the position and pins the read: a page whose params differ from the first page's, or a cursor sent alone, is a 400 naming the param to send."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value, in the documented param order. `ticker` is the ticker scope as a list. A param you did not send is `null`."},"count":{"type":["number","null"],"description":"The rows in `results` on this page: articles, one row per mention on a per-mention read, or groups on a rollup."},"next_cursor":{"type":["string","null"],"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor` with the same params. Rollups do not page."},"results":{"type":["array","null"],"items":{"properties":{"id":{"type":["number","null"]},"time_published":{"type":["string","null"]},"title":{"type":["string","null"]},"summary":{},"source":{"type":["string","null"]},"source_domain":{},"category":{},"authors":{},"topics":{},"overall_sentiment_score":{"type":["number","null"]},"overall_sentiment_label":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"tickers":{"type":["array","null"]},"mentions":{"type":["array","null"],"items":{"properties":{"ticker":{"type":["string","null"]},"sentiment_score":{"type":["number","null"]},"sentiment":{"type":["string","null"],"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{"type":["number","null"]}}}},"banner_image":{},"url":{"type":["string","null"]},"created_at":{},"ticker":{},"sentiment_score":{},"sentiment":{"description":"One of: `Bearish`, `Somewhat-Bearish`, `Neutral`, `Somewhat-Bullish`, `Bullish`."},"relevance":{}}},"description":"Articles (one per article per mention when you name a per-mention field), or rollups when you passed `group_by`."},"not_found":{"type":["array","null"],"items":{"type":"string"},"description":"With `ticker` or `universe`: what you named that does not exist: the symbols we do not track, in request order, or an unknown `universe` id; an empty array when every one was found. A typo here is listed, not read as \"no news\"."},"truncated":{"description":"Rollups only (`group_by`): `true` when `limit` cut the group list."},"_meta":{"description":"Only when there is something to disclose: `history_from` (`YYYY-MM-DD`): the first date the read starts at when you sent no start date, with `plan_limits.history` saying where more history is. Shared keys: see the `_meta` reference."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","next_cursor","results"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/news","route":"/v2/news","paramLocation":{"search":"query","ticker":"query","universe":"query","from":"query","to":"query","min_relevance":"query","q":"query","select":"query","group_by":"query","having":"query","order":"query","dir":"query","limit":"query","cursor":"query"},"accepts":{"tickers":"query","since":"query","until":"query"}},"rail":"news","page":"query","deprecated":{"sunset":"2027-01-12","successor":"tickerbot_query_news"}},{"name":"tickerbot_subscribe_news","description":"Gets you an alert by webhook when a new article matches your search, tickers or SQL filter, with how it treats each ticker it mentions. Each webhook takes one of your plan's webhook slots. Takes Query news's filters (search, ticker, universe, min_relevance, q); one of search/ticker/universe/q is required, since the whole market is about 6,000 articles a weekday. Fires as new matching articles land; each article fires once. Each delivery is `event: \"news.fired\"` with `articles`, each the Query news row (or `select`) plus `mentions`.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Full-text search over `title` + `summary`, as on Query news."},"ticker":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"One ticker or a comma list (up to 50): articles that mention any of them. Not combinable with `universe`."},"universe":{"type":"string","description":"Scope to a built-in universe (`top_10`, `top_100`) or one of your own, by id. An unknown one is a 400 `universe_not_found` naming it. Articles that mention any member fire."},"min_relevance":{"type":"number","description":"Only with `ticker` or `universe`. Only articles about one of the tickers (its `relevance` at least this value, 0 to 1)."},"q":{"type":"string","description":"The filter, as on Query news: article fields and the per-mention fields `ticker`, `relevance`, `sentiment_score` and `sentiment`. An article fires once when any of its mentions matches."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The article fields each delivered article carries, besides `id` and `mentions` (always sent). Names only. Omitted: the Query news default row."},"channel":{"type":"string","description":"Delivery channel: `webhook` (POST to `target_url`), `discord` (an embed at `discord_url`), `in_app` (the dashboard only) or `mobile_push` (to `device_id`). Inferred when omitted: `discord` if `discord_url` is set, else `mobile_push` if `device_id` is set, else `webhook` if `target_url` is set, else `in_app`. See Delivery channels. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"Only with `channel=webhook`. HTTPS URL each delivery is POSTed to."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL (`https://discord.com/api/webhooks/…`). Stored as a posting credential: the create response echoes it back under `channel_config`, but every later read (list, get, deliveries) strips it and sets `channel_config_present: true` instead."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`. An unknown id is a 400 `device_not_found`."},"name":{"type":"string","description":"Display name, up to 80 characters. Defaults to `news: <scope> · <search or q>`."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"channel_config":{"description":"Returned on create only: the channel-specific delivery settings as stored (e.g. the Discord URL, the device id)."},"signing_secret":{"description":"Returned on create only, and shown once. HMAC key for verifying the `X-Tickerbot-Signature` header on deliveries."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"test_url":{"description":"Returned on create only, when the channel delivers outside the dashboard: the path of `POST /v2/webhooks/{webhook}/test` for this record."},"_meta":{"description":"Returned on create only, and only when the rule or `select` named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired","channel_config","signing_secret"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/news/subscribe","route":"/v2/news/subscribe","paramLocation":{"search":"body","ticker":"body","universe":"body","min_relevance":"body","q":"body","select":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","name":"body"},"accepts":{"tickers":"body","universe_id":"body"}},"rail":"news","page":"subscribe"},{"name":"tickerbot_list_universes","description":"Lists every universe you can use: your own ticker lists and the built-in ones. `kind: builtin` lists the built-in universes (top_10, top_100); omit it for yours; `builtin,custom` lists both. Use a slug as `universe` on scan, signal and subscribe tools.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Only universes whose id, name or description contains this text (case-insensitive). Results are ranked across built-in and your own universes: an exact id or name match first, then an id or name that starts with the term, then one that contains it, then descriptions that have it as a whole word, then descriptions that contain it; list order within each rank. Paging a search never repeats or skips."},"kind":{"type":"string","description":"Which universes to list: `builtin` (`top_10`, `top_100`), `custom` (your own) or both as a comma list. Leave it out for your own; from the cut-off on Deprecations it lists both. Values: builtin: A built-in universe, the same for every account: `top_10` and `top_100`. custom: One of your own universes.","pattern":"^\\s*([bB][uU][iI][lL][tT][iI][nN]|[cC][uU][sS][tT][oO][mM])(\\s*,\\s*([bB][uU][iI][lL][tT][iI][nN]|[cC][uU][sS][tT][oO][mM]))*\\s*$"},"limit":{"type":"integer","description":"Page size. Max 1000.","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}}},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"query":{"type":["object","null"],"description":"Your request echoed, each param with its effective value: `search` (`null` when not sent), `kind` (a list; the default when you left it out) and `limit`."},"count":{"type":["number","null"],"description":"The universes in this page."},"next_cursor":{"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`."},"universes":{"type":["array","null"],"description":"The universes in scope, built-ins first, then yours newest first. Every result carries `kind` (`builtin` or `custom`)."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","query","count","next_cursor","universes"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/universes","route":"/v2/universes","paramLocation":{"search":"query","kind":"query","limit":"query","cursor":"query"},"accepts":{"owner":"query"}},"rail":"universes","page":"list"},{"name":"tickerbot_create_universe","description":"Saves a named list of tickers to scope screens and subscriptions.","inputSchema":{"type":"object","properties":{"tickers":{"type":"array","items":{"type":"string"},"description":"Ticker symbols, up to 10,000. Validated against the tickers we track. `[]` is accepted: an empty universe you can fill later via PATCH."},"name":{"type":"string","description":"Display name, up to 80 characters. Display only: the `id` is what references the universe."},"id":{"type":"string","description":"Optional slug: the universe's permanent handle everywhere (`?universe=`, subscribe `universe`, CRUD path). Pattern `^[a-z][a-z0-9_]{0,62}$`: starts with a lowercase letter, then lowercase letters/digits/underscore, 63 chars max; the value is trimmed and lowercased before validation. `top_10` and `top_100` are reserved for built-in universes and rejected with 400. Must be unique within your account. Generated (`u_…`) if omitted."},"description":{"type":"string","description":"Free-form notes, up to 500 characters. Stored as `\"\"` when omitted."}},"required":["tickers","name"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The slug: the universe's handle in `?universe=`."},"name":{"type":["string","null"],"description":"Display label."},"description":{"type":["string","null"],"description":"Free-form notes; `\"\"` when unset."},"tickers":{"type":["array","null"],"description":"Members, after this call."},"size":{"type":["number","null"],"description":"Member count."},"kind":{"type":["string","null"],"description":"Always `custom` here: a universe you create or edit is yours. One of: `builtin`, `custom`."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"effective_at":{"description":"Built-in universes only, in epoch seconds; absent on yours."},"next_rebalance_at":{"description":"Built-in universes only, in epoch seconds; absent on yours."},"rebalance_method":{"description":"Built-in universes only; absent on yours."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","description","tickers","size","kind","created_at","updated_at"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/universes","route":"/v2/universes","paramLocation":{"tickers":"body","name":"body","id":"body","description":"body"}},"rail":"universes","page":"create"},{"name":"tickerbot_get_universe","description":"Returns one universe: a built-in (`top_10`, `top_100`) or one you own.","inputSchema":{"type":"object","properties":{"universe":{"type":"string","description":"Universe slug: a built-in (`top_10`, `top_100`) or one of yours."}},"required":["universe"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The slug: the universe's handle in `?universe=`."},"name":{"type":["string","null"],"description":"Display label."},"description":{"type":["string","null"],"description":"Free-form notes; `\"\"` when unset."},"tickers":{"type":["array","null"],"description":"Members."},"size":{"type":["number","null"],"description":"Member count."},"kind":{"type":["string","null"],"description":"Whose universe it is. One of: `builtin`, `custom`."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"effective_at":{"type":["number","null"],"description":"Built-in universes only: when this membership took effect (epoch seconds)."},"next_rebalance_at":{"type":["number","null"],"description":"Built-in universes only: when membership is next recomputed (epoch seconds)."},"rebalance_method":{"type":["string","null"],"description":"Built-in universes only: how membership is chosen."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","description","tickers","size","kind","created_at","updated_at"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/universes/{universe}","route":"/v2/universes/:id","paramLocation":{"universe":"path"},"accepts":{"id":"path"},"pathAliases":{"id":"universe"}},"rail":"universes","page":"get"},{"name":"tickerbot_update_universe","description":"Updates one of your universes: its name, description or members. `tickers` replaces the whole list; `add`/`remove` adjust it. Built-in universes cannot be edited.","inputSchema":{"type":"object","properties":{"universe":{"type":"string","description":"Universe slug."},"tickers":{"type":"array","items":{"type":"string"},"description":"Replace the full ticker list (up to 10,000; validated against the tickers we track). Does not combine with `add`/`remove` (400)."},"add":{"type":"array","items":{"type":"string"},"description":"Add these tickers (deduplicated)."},"remove":{"type":"array","items":{"type":"string"},"description":"Remove these tickers."},"name":{"type":"string","description":"New label. Non-empty, max 80 characters."},"description":{"type":"string","description":"New notes. Max 500 characters."}},"required":["universe"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The slug: the universe's handle in `?universe=`."},"name":{"type":["string","null"],"description":"Display label."},"description":{"type":["string","null"],"description":"Free-form notes; `\"\"` when unset."},"tickers":{"type":["array","null"],"description":"Members, after this call."},"size":{"type":["number","null"],"description":"Member count."},"kind":{"type":["string","null"],"description":"Always `custom` here: a universe you create or edit is yours. One of: `builtin`, `custom`."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"effective_at":{"description":"Built-in universes only, in epoch seconds; absent on yours."},"next_rebalance_at":{"description":"Built-in universes only, in epoch seconds; absent on yours."},"rebalance_method":{"description":"Built-in universes only; absent on yours."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","description","tickers","size","kind","created_at","updated_at"],"additionalProperties":true},"endpoint":{"method":"PATCH","path":"/v2/universes/{universe}","route":"/v2/universes/:id","paramLocation":{"universe":"path","tickers":"body","add":"body","remove":"body","name":"body","description":"body"},"accepts":{"id":"path"},"pathAliases":{"id":"universe"}},"rail":"universes","page":"update"},{"name":"tickerbot_delete_universe","description":"Permanently deletes one of your universes. A universe any of your webhooks still uses answers 409 universe_referenced; force=true deletes it, and those webhooks are disabled at their next evaluation.","inputSchema":{"type":"object","properties":{"universe":{"type":"string","description":"Universe slug."},"force":{"type":"boolean","description":"A universe that any of your webhooks references (active or disabled) refuses to delete with `409 universe_referenced`, listing them in `referencing_webhooks`. Pass `force=true` to delete anyway.","default":false}},"required":["universe"]},"endpoint":{"method":"DELETE","path":"/v2/universes/{universe}","route":"/v2/universes/:id","paramLocation":{"universe":"path","force":"query"},"accepts":{"id":"path"},"pathAliases":{"id":"universe"}},"rail":"universes","page":"delete"},{"name":"tickerbot_list_webhooks","description":"Lists every webhook on your account, newest first.","inputSchema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by status: `active`, `disabled` or both as a comma list. Omit for all. Values: active: The subscription is live and being evaluated. disabled: Turned off; `disabled_reason` says why (When a webhook is disabled).","pattern":"^\\s*([aA][cC][tT][iI][vV][eE]|[dD][iI][sS][aA][bB][lL][eE][dD])(\\s*,\\s*([aA][cC][tT][iI][vV][eE]|[dD][iI][sS][aA][bB][lL][eE][dD]))*\\s*$"},"limit":{"type":"integer","description":"Page size. Max 1000.","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}}},"outputSchema":{"type":"object","properties":{"as_of":{"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"count":{"description":"The webhooks in this page."},"next_cursor":{"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`."},"webhooks":{"description":"Your subscriptions, newest first, each with its `subscription_origin` and health fields. `signing_secret` is stripped: it is shown only on create."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","count","next_cursor","webhooks"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/webhooks","route":"/v2/webhooks","paramLocation":{"status":"query","limit":"query","cursor":"query"}},"rail":"webhooks","page":"list"},{"name":"tickerbot_get_webhook","description":"Returns one webhook's current state.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id, from a subscribe or from List webhooks."}},"required":["webhook"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"channel_config":{"description":"Mobile-push webhooks only: `{ device_id }`, the device deliveries go to."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired"],"additionalProperties":true},"endpoint":{"method":"GET","path":"/v2/webhooks/{webhook}","route":"/v2/webhooks/:id","paramLocation":{"webhook":"path"},"accepts":{"id":"path"},"pathAliases":{"id":"webhook"}},"rail":"webhooks","page":"get"},{"name":"tickerbot_update_webhook","description":"Edits a webhook in place; send only the fields you want to change. The trigger takes the filters of the subscribe that made the webhook (subscription_origin.type: scan q/universe/select/order/dir; ticker q/select; signal condition/universe/select/order/dir; event kind/ticker/universe/q/select; news search/ticker/universe/min_relevance/q/select), validated like a new subscribe; a change to the filters fires only on new matches (what already matches or already happened does not fire), while an edit of select/order/dir keeps what already matched. enabled=true turns a disabled webhook back on. Unknown fields are a 400.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."},"search":{"type":"string","description":"Only with news webhooks. The full-text search, as on Subscribe to news."},"kind":{"anyOf":[{"type":"string","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])(\\s*,\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN]))*\\s*$"},{"type":"array","items":{"type":"string","pattern":"^\\s*([dD][iI][vV][iI][dD][eE][nN][dD]|[sS][pP][lL][iI][tT]|[iI][nN][sS][iI][dD][eE][rR]|[aA][nN][aA][lL][yY][sS][tT]|[eE][aA][rR][nN][iI][nN][gG][sS]|[fF][iI][lL][iI][nN][gG]|[eE][sS][tT][iI][mM][aA][tT][eE]_[rR][eE][vV][iI][sS][iI][oO][nN])\\s*$"}}],"description":"Only with event webhooks. The kinds to fire on, as on Subscribe to events. Values: earnings: Fires on each quarterly earnings report: reported vs estimated EPS and the surprise. dividend: Fires on each cash-dividend declaration. split: Fires on each stock split or reverse split. filing: Fires when a 10-K, 20-F, 40-F or 10-Q lands, from the next morning’s EDGAR index read. insider: Fires on each reported Form 4 transaction by an officer or director. analyst: Fires on each upgrade, downgrade, initiation or price-target change. estimate_revision: Fires when the nightly consensus refresh moves an EPS estimate, one event per fiscal period and horizon that moved (about 1,000 a night across the market)."},"condition":{"type":"string","description":"Only with signal webhooks. The bound, in Get a signal's grammar (`<30`)."},"ticker":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Only with event or news webhooks. The symbols, one or a comma list. Replaces a `universe` scope."},"universe":{"type":"string","description":"Only with scan, signal, event or news webhooks. The universe to scope to; `null` for the whole market. On event and news webhooks it replaces a `ticker` scope."},"min_relevance":{"type":"number","description":"Only with news webhooks. The least relevance (0–1) a scoped ticker needs; the webhook needs a `ticker` or `universe` scope."},"q":{"type":"string","description":"Only with scan, ticker, event or news webhooks. The filter, in the grammar of the subscribe that made the webhook. On an event webhook it replaces the whole filter. On a ticker webhook send the condition alone, or the `q` a read returns (`ticker = 'NVDA' AND (…)`): the webhook's own ticker scope is not added twice. A change to the filters (`q`, `condition`, `universe`, `kind`, `ticker`, `search`, `min_relevance`) fires only on new matches; an edit of `select`, `order` or `dir` keeps what already matched."},"select":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"What each delivery carries, as on the subscribe that made the webhook; `null` for the default."},"order":{"type":"string","description":"Only with scan or signal webhooks. The signal each delivery's match lists are sorted by."},"dir":{"type":"string","description":"Only with scan or signal webhooks. The sort direction for `order`. Values: asc: Ascending: smallest or earliest first. desc: Descending: largest or most recent first.","pattern":"^\\s*([aA][sS][cC]|[dD][eE][sS][cC])\\s*$"},"channel":{"type":"string","description":"Moves the webhook to another channel: `webhook` (with `target_url`), `discord` (with `discord_url`), `in_app` or `mobile_push` (with `device_id`). Inferred from `discord_url` or `device_id` when you send one of those alone. Values: webhook: POST the payload to an HTTPS endpoint you own, signed with `X-Tickerbot-Signature`. discord: Post to a Discord channel via its webhook URL. Delivered as a Discord embed, never HMAC-signed: the URL is itself the credential. in_app: Deliver to the in-app feed only; nothing goes out, so there is no `test_url`. mobile_push: Push to a registered device. Requires a `device_id` from Register a device.","pattern":"^\\s*([wW][eE][bB][hH][oO][oO][kK]|[dD][iI][sS][cC][oO][rR][dD]|[iI][nN]_[aA][pP][pP]|[mM][oO][bB][iI][lL][eE]_[pP][uU][sS][hH])\\s*$"},"target_url":{"type":"string","description":"New https:// delivery URL. Alone, it moves a webhook between HTTPS (`target_url`) and in-app delivery (`null` or empty); a Discord or mobile-push webhook sends `channel: \"webhook\"` with it."},"discord_url":{"type":"string","description":"Only with `channel=discord`. Discord incoming-webhook URL. Never returned after this call: reads show `channel_config_present: true`."},"device_id":{"type":"string","description":"Only with `channel=mobile_push`. Device to notify, from `POST /v2/devices/register`."},"cadence":{"type":"string","description":"When the webhook runs: `realtime` on every refresh of your data (When webhooks run), `nyse_open` once a day at the 9:30 AM ET open. Event and news webhooks take none. Values: realtime: Runs on every refresh of your data and fires when a ticker starts matching (When webhooks run). The default. nyse_open: Runs once a day at the 9:30 AM ET open, on NYSE trading days.","pattern":"^\\s*([rR][eE][aA][lL][tT][iI][mM][eE]|[nN][yY][sS][eE]_[oO][pP][eE][nN])\\s*$"},"name":{"type":"string","description":"New display name. Non-empty, max 80 characters."},"enabled":{"type":"boolean","description":"`false` turns the webhook off. `true` turns a disabled webhook back on: your webhook limit is checked and the trigger is checked again. A plain re-enable starts clean and fires once for every current match; after a change to the trigger's filters (in this call or while it was off) it fires only on new matches."}},"required":["webhook"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"channel_config":{"description":"Mobile-push webhooks only: `{ device_id }`, the device deliveries go to."},"_meta":{"description":"Only when a new trigger named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired"],"additionalProperties":true},"endpoint":{"method":"PATCH","path":"/v2/webhooks/{webhook}","route":"/v2/webhooks/:id","paramLocation":{"webhook":"path","search":"body","kind":"body","condition":"body","ticker":"body","universe":"body","min_relevance":"body","q":"body","select":"body","order":"body","dir":"body","channel":"body","target_url":"body","discord_url":"body","device_id":"body","cadence":"body","name":"body","enabled":"body"},"accepts":{"kinds":"body","tickers":"body","universe_id":"body","columns":"body","fields":"body","id":"path"},"pathAliases":{"id":"webhook"}},"rail":"webhooks","page":"update"},{"name":"tickerbot_enable_webhook","description":"Deprecated: works until 2027-01-12, then is removed. Turns a disabled webhook back on (a webhook disabled after repeated delivery failures, or one you turned off). It is tickerbot_update_webhook with enabled=true: call that instead.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."}},"required":["webhook"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"type":["string","null"],"description":"The webhook id (`wh_…`), the handle for every other call on this record."},"name":{"type":["string","null"],"description":"Your label for the subscription."},"q":{"type":["string","null"],"description":"The stored predicate. Custom signals appear expanded: the SQL is frozen at creation. On an event webhook, the whole filter (the event's fields and the ticker's signals); `null` when it fires on every event. On a news webhook, the Query news `q`, or `null`."},"select":{"description":"The signals each delivered match carries, after `ticker`; `null` means the scan default row plus the signals the rule uses in `q` and `order`. On a news webhook, the article fields each delivered article carries."},"order":{"type":["string","null"],"description":"Sort signal for each delivery's match lists: `market_cap` unless you chose one, so a broad alert lists the same top 100 names each time. `null` on event and news webhooks."},"dir":{"type":["string","null"],"description":"Sort direction for those lists: `desc` unless you chose one. `null` on event and news webhooks. One of: `asc`, `desc`."},"universe":{"description":"Universe the trigger is scoped to, or `null` for the whole market."},"channel":{"type":["string","null"],"description":"Where deliveries go. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"Your HTTPS endpoint; `null` on every channel except `webhook`."},"status":{"type":["string","null"],"description":"Whether it is live. `disabled_reason` says why a webhook is disabled. One of: `active`, `disabled`."},"subscription_origin":{"type":["object","null"],"description":"Which subscribe route created it: `type` (`scan`/`signal`/`ticker`/`event`/`news`), its `ref` (the signal, ticker or event kinds; `\"q\"` on a scan webhook) and the `condition` in display form."},"created_at":{"type":["number","null"],"description":"Creation timestamp (epoch seconds)."},"updated_at":{"type":["number","null"],"description":"Last modification timestamp (epoch seconds)."},"last_fired":{"description":"When a delivery last went out (epoch seconds); `null` if it never has."},"cadence":{"type":["string","null"],"description":"Scan, signal and ticker webhooks only: when the trigger runs, `realtime` on every refresh of your data or `nyse_open` once a day at the market open. Event and news webhooks fire as rows land. One of: `realtime`, `nyse_open`."},"last_match_set":{"type":["array","null"],"description":"Scan, signal and ticker webhooks only: tickers matching at the last evaluation, the set the next run is diffed against, which is what makes firing edge-triggered."},"next_eval_at":{"type":["number","null"],"description":"When the evaluator will next consider this subscription (epoch seconds)."},"last_evaluated_at":{"type":["number","null"],"description":"Scan, signal and ticker webhooks only: when it was last evaluated (epoch seconds); `null` until the first run."},"kind":{"description":"Event webhooks only: the kinds subscribed. One of: `earnings`, `dividend`, `split`, `filing`, `insider`, `analyst`, `estimate_revision`."},"ticker":{"description":"Event and news webhooks only: the symbols it is scoped to, or `null` for the universe or the whole market."},"last_eval_error_at":{"description":"When the last evaluation error happened (epoch seconds); `null` on a healthy hook."},"last_error":{"description":"The last evaluation error; `null` on a healthy hook. The answer to \"why is my webhook not firing?\"."},"search":{"description":"News webhooks only: the full-text search it fires on, or `null`."},"min_relevance":{"description":"News webhooks only: the least `relevance` a scoped ticker needs, or `null`."},"consecutive_failures":{"description":"Deliveries in a row that failed after the full retry ladder; resets on any success. Informational: disabling goes by time, not count (When delivery fails)."},"last_success_at":{"type":["number","null"],"description":"When a delivery last reached your endpoint, in epoch seconds (`created_at` until the first one does)."},"failing_since":{"description":"When the current failure streak began (epoch seconds); `null` while deliveries are succeeding."},"channel_config_present":{"description":"Discord and mobile-push webhooks: `true` when delivery settings are stored. The Discord URL itself is never returned after create."},"disabled_reason":{"description":"Disabled webhooks only: why it was turned off. Turn it back on with `PATCH /v2/webhooks/{webhook}` and `enabled: true`. One of: `user_disabled`, `delivery_failure`, `evaluation_failure`, `plan_downgrade`, `subscription_canceled`."},"disabled_last_status_code":{"description":"After a `delivery_failure`: the HTTP status your endpoint last returned."},"disabled_last_error":{"description":"After a `delivery_failure` or `evaluation_failure`: the error that disabled it; `null` when your endpoint answered with an HTTP status (see `disabled_last_status_code`)."},"disable_email_sent_at":{"description":"When we emailed you about the disable (epoch seconds)."},"disabled_explanation":{"description":"After an `evaluation_failure`: what changed and what to use instead, for example the new name of a renamed signal."},"disabled_at":{"description":"After an `evaluation_failure`, `plan_downgrade` or `subscription_canceled`: when it was disabled (epoch seconds)."},"channel_config":{"description":"Mobile-push webhooks only: `{ device_id }`, the device deliveries go to."},"_meta":{"description":"Only when a new trigger named a signal under its pre-2026-09-07 spelling: `deprecated_signals` lists each one (`requested`, `use`, `note`). The stored rule carries the current name."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","name","q","select","order","dir","universe","channel","target_url","status","subscription_origin","created_at","updated_at","last_fired"],"additionalProperties":true},"endpoint":{"method":"PATCH","path":"/v2/webhooks/{webhook}","route":"/v2/webhooks/:id","paramLocation":{"webhook":"path"},"pathAliases":{"id":"webhook"},"accepts":{"id":"path"},"fixedBody":{"enabled":true}},"rail":"webhooks","page":"update","deprecated":{"sunset":"2027-01-12","successor":"tickerbot_update_webhook"}},{"name":"tickerbot_delete_webhook","description":"Deletes a webhook and its delivery history.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."}},"required":["webhook"]},"endpoint":{"method":"DELETE","path":"/v2/webhooks/{webhook}","route":"/v2/webhooks/:id","paramLocation":{"webhook":"path"},"accepts":{"id":"path"},"pathAliases":{"id":"webhook"}},"rail":"webhooks","page":"delete"},{"name":"tickerbot_list_webhook_deliveries","description":"Lists a webhook's recent deliveries: what was sent and what came back.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."},"status":{"type":"string","description":"Filter by delivery status (one or a comma list). Values: pending: Queued or mid-retry; not yet accepted by your target. delivered: Your target answered 2xx. permanent_failure: Gave up: the retry schedule ran out, or the destination refused it for good (a Discord target answered 4xx, or the mobile device is gone). A test fire is never retried.","pattern":"^\\s*([pP][eE][nN][dD][iI][nN][gG]|[dD][eE][lL][iI][vV][eE][rR][eE][dD]|[pP][eE][rR][mM][aA][nN][eE][nN][tT]_[fF][aA][iI][lL][uU][rR][eE])(\\s*,\\s*([pP][eE][nN][dD][iI][nN][gG]|[dD][eE][lL][iI][vV][eE][rR][eE][dD]|[pP][eE][rR][mM][aA][nN][eE][nN][tT]_[fF][aA][iI][lL][uU][rR][eE]))*\\s*$"},"from":{"type":"string","description":"Only deliveries created at or after this moment: `YYYY-MM-DD` or a UTC timestamp (`YYYY-MM-DDTHH:MM:SSZ`); a date-only value starts at the beginning of that UTC day."},"to":{"type":"string","description":"Window end (deliveries created up to this moment): same value grammar as `from`. A date-only value covers that whole UTC day. A timestamp is included until 2027-01-12 and exclusive from then, as everywhere else (Deprecations). `from` after `to` is a 400. See Time windows."},"limit":{"type":"integer","description":"Page size. Max 1000.","default":50},"cursor":{"type":"string","description":"The previous response's `next_cursor`. Send it with the same params as the first page (`limit` may change); a page whose params differ is a 400 naming the param."}},"required":["webhook"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"count":{"type":["number","null"],"description":"The deliveries in this page."},"next_cursor":{"description":"Opaque token for the next page; `null` on the last page. Pass it back as `cursor`."},"deliveries":{"type":["array","null"],"items":{"properties":{"id":{},"webhook_id":{},"event":{"description":"One of: `webhook.fired`, `events.fired`, `news.fired`."},"status":{"description":"One of: `pending`, `delivered`, `permanent_failure`."},"attempt":{},"last_status_code":{},"last_error":{},"channel":{"description":"One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{},"body_string":{},"created_at":{},"delivered_at":{},"next_attempt_at":{},"expires_at":{},"redelivery_of":{},"test":{}}},"description":"Deliveries, newest first. Every row carries every field below; times are epoch seconds."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","count","next_cursor","deliveries"],"additionalProperties":false},"endpoint":{"method":"GET","path":"/v2/webhooks/{webhook}/deliveries","route":"/v2/webhooks/:id/deliveries","paramLocation":{"webhook":"path","status":"query","from":"query","to":"query","limit":"query","cursor":"query"},"accepts":{"since":"query","until":"query","id":"path"},"pathAliases":{"id":"webhook"}},"rail":"webhooks","page":"deliveries"},{"name":"tickerbot_redeliver_webhook_delivery","description":"Resends a past delivery, with the exact body it carried, to the webhook's current target. The webhook must be active (409 otherwise); take delivery ids from tickerbot_list_webhook_deliveries. Test fires cannot be resent.","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."},"delivery":{"type":"string","description":"The delivery to resend, from `GET /v2/webhooks/{webhook}/deliveries`."}},"required":["webhook","delivery"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"description":"The new delivery's id (`dlv_…`), listed on the deliveries route with its outcome."},"webhook_id":{"description":"The webhook it belongs to."},"event":{"description":"What fired. One of: `webhook.fired`, `events.fired`, `news.fired`."},"status":{"description":"`pending`: queued, sent on the next delivery pass with the full retry ladder. One of: `pending`, `delivered`, `permanent_failure`."},"attempt":{"description":"Attempts made so far."},"last_status_code":{"description":"The HTTP status your endpoint returned on the last attempt; `null` when it could not be reached, before the first attempt, and on in-app deliveries."},"last_error":{"description":"Why the last attempt failed when your endpoint could not be reached (a network error or the 10-second timeout); `null` when it answered (see `last_status_code`) or on success. Discord and mobile-push deliveries also describe a rejected request here."},"channel":{"description":"Where it went. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"The HTTPS endpoint it was sent to; `null` on every channel except `webhook`."},"body_string":{"description":"The exact JSON body, as sent."},"created_at":{"description":"When the resend was queued (epoch seconds)."},"delivered_at":{"description":"When your endpoint accepted it (epoch seconds); `null` until then."},"next_attempt_at":{"description":"When the next attempt is due, while `pending` (epoch seconds); `null` on a failed test fire, which is never retried."},"expires_at":{"description":"When it leaves the 90-day delivery history (epoch seconds); `null` on rows older than the field."},"redelivery_of":{"description":"The original delivery's id, even when you resend a resend. The original's id is the `X-Tickerbot-Delivery-Id` your endpoint receives."},"test":{"description":"`true` on a test fire."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","webhook_id","event","status","attempt","last_status_code","last_error","channel","target_url","body_string","created_at","delivered_at","next_attempt_at","expires_at","redelivery_of","test"],"additionalProperties":false},"endpoint":{"method":"POST","path":"/v2/webhooks/{webhook}/deliveries/{delivery}/redeliver","route":"/v2/webhooks/:id/deliveries/:delivery_id/redeliver","paramLocation":{"webhook":"path","delivery":"path"},"accepts":{"id":"path","delivery_id":"path"},"pathAliases":{"id":"webhook","delivery_id":"delivery"}},"rail":"webhooks","page":"redeliver"},{"name":"tickerbot_test_webhook","description":"Sends a sample delivery to your endpoint, instantly: the same shape, headers and signature as a real fire. One-shot: a failed test never retries and never auto-disables the webhook. 400 for an in-app webhook (nothing external to send to).","inputSchema":{"type":"object","properties":{"webhook":{"type":"string","description":"Webhook id."}},"required":["webhook"]},"outputSchema":{"type":"object","properties":{"as_of":{"type":["string","null"],"description":"Server time this response was assembled (ISO 8601) (`as_of`)."},"id":{"description":"The delivery id (`dlv_…`). Your endpoint receives it in `X-Tickerbot-Delivery-Id` (a resend sends the original's)."},"webhook_id":{"description":"The webhook it belongs to."},"event":{"description":"What fired. One of: `webhook.fired`, `events.fired`, `news.fired`."},"status":{"description":"Where the delivery stands. One of: `pending`, `delivered`, `permanent_failure`."},"attempt":{"description":"Attempts made so far."},"last_status_code":{"description":"The HTTP status your endpoint returned on the last attempt; `null` when it could not be reached, before the first attempt, and on in-app deliveries."},"last_error":{"description":"Why the last attempt failed when your endpoint could not be reached (a network error or the 10-second timeout); `null` when it answered (see `last_status_code`) or on success. Discord and mobile-push deliveries also describe a rejected request here."},"channel":{"description":"Where it went. One of: `webhook`, `discord`, `in_app`, `mobile_push`."},"target_url":{"description":"The HTTPS endpoint it was sent to; `null` on every channel except `webhook`."},"body_string":{"description":"The exact JSON body, as sent."},"created_at":{"description":"When it was queued (epoch seconds)."},"delivered_at":{"description":"When your endpoint accepted it (epoch seconds); `null` until then."},"next_attempt_at":{"description":"When the next attempt is due, while `pending` (epoch seconds); `null` on a failed test fire, which is never retried."},"expires_at":{"description":"When it leaves the 90-day delivery history (epoch seconds); `null` on rows older than the field."},"redelivery_of":{"description":"On a resend: the original delivery's id; `null` otherwise."},"test":{"description":"`true` on a test fire."},"delivered":{"description":"Whether your endpoint accepted the test (2xx within the timeout)."},"elapsed_ms":{"description":"Round-trip time of the test."},"_advisories":{"type":["object","null"],"description":"Present only when the response carried a warning: `deprecated` (since, sunset_on, successor, warning; on a deprecated tool, successor names the tool to call), `rate_limit` (warning, retry_after_seconds, limit, remaining, reset_epoch_s) or `monthly_quota` (warning, limit, remaining, reset_epoch_s)."}},"required":["as_of","id","webhook_id","event","status","attempt","last_status_code","last_error","channel","target_url","body_string","created_at","delivered_at","next_attempt_at","expires_at","redelivery_of","test","delivered","elapsed_ms"],"additionalProperties":true},"endpoint":{"method":"POST","path":"/v2/webhooks/{webhook}/test","route":"/v2/webhooks/:id/test","paramLocation":{"webhook":"path"},"accepts":{"id":"path"},"pathAliases":{"id":"webhook"}},"rail":"webhooks","page":"test"}]}