tickerbot_update_custom_signal
Update a custom signal you own — its expression, description, or name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | No | 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 verbatim, not its expansion. | |
| signal | Yes | Custom signal slug (the signal name). A built-in name answers 404 — built-ins are read-only. | |
| new_name | No | New slug — renames the signal and changes its API handle everywhere (same validation as create). Refused while other custom signals reference the current name. `name` is accepted as an alias (new_name wins when both are sent), but new_name is the unambiguous spelling since the URL already carries the current name. | |
| description | No | New description. Not derived from `expr` — change both if the prose describes a threshold you are moving. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Server time this response was assembled (ISO 8601). | |
| signal | Yes | The stored signal: `name`, `kind` (`custom`), `description`, `expr` (your predicate as stored), `created_at`, `updated_at`. |