:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(signals): note manual scout runs consume the daily run budget (#67338)
Andrew Maguire71081ddaedef
diff --git a/products/signals/backend/scout_harness/views.py b/products/signals/backend/scout_harness/views.pyindex a2096ae22a30..0b6687e2901e 100644--- a/products/signals/backend/scout_harness/views.py+++ b/products/signals/backend/scout_harness/views.py@@ -1533,9 +1533,11 @@ class SignalScoutConfigViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewSet):"The run executes asynchronously on the worker and inherits every guard the scheduled ""path has: it is forbidden if scouts are not enabled for the project (403), and skipped ""if the project is over its Signals credits quota or daily run budget (429) or a run for "- "this scout is already in progress (409). A manual run does not change the scout's "- "schedule or `last_run_at`. A disabled scout can still be run this way (to test before "- "enabling). Returns immediately with the workflow id — poll the scout's runs for the result."+ "this scout is already in progress (409). A manual run counts against the same daily run "+ "budget as scheduled runs, so repeated manual runs of the same scout can exhaust the "+ "project's daily allowance. A manual run does not change the scout's schedule or "+ "`last_run_at`. A disabled scout can still be run this way (to test before enabling). "+ "Returns immediately with the workflow id — poll the scout's runs for the result."),operation_id="signals_scout_config_run",)diff --git a/products/signals/frontend/generated/api.ts b/products/signals/frontend/generated/api.tsindex fb466e3c6be2..3fba66e963b5 100644--- a/products/signals/frontend/generated/api.ts+++ b/products/signals/frontend/generated/api.ts@@ -504,7 +504,7 @@ export const getSignalsScoutConfigRunUrl = (projectId: string, id: string) => {}/**- * Dispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.+ * Dispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run counts against the same daily run budget as scheduled runs, so repeated manual runs of the same scout can exhaust the project's daily allowance. A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.* @summary Run a scout now*/export const signalsScoutConfigRun = async (diff --git a/products/signals/mcp/tools.yaml b/products/signals/mcp/tools.yamlindex f0cf7e9acd35..24fce26df025 100644--- a/products/signals/mcp/tools.yaml+++ b/products/signals/mcp/tools.yaml@@ -536,10 +536,12 @@ tools:description: >Dispatch one on-demand run of a scout by its config `id`, regardless of its schedule — useful to test ascout right after authoring it, or to refresh its findings on demand. The run executes asynchronously and- inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota and- 409 if a run for this scout is already in progress. A manual run does not change the scout's schedule, and a- disabled scout can still be run this way (to test before enabling). Returns the workflow id immediately —- poll `signals-scout-runs-list` for the resulting run and its findings.+ inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota or its+ daily scout-run budget, and 409 if a run for this scout is already in progress. A manual run counts against+ the same daily run budget the scheduled runs draw from, so avoid triggering repeated runs of the same scout+ in a short window — each one consumes the project's scout-run allowance for the day. A manual run does not+ change the scout's schedule, and a disabled scout can still be run this way (to test before enabling).+ Returns the workflow id immediately — poll `signals-scout-runs-list` for the resulting run and its findings.signals-scout-runs-emission-reports:operation: signals_scout_runs_emission_reportsenabled: truediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 696e396cf5b1..9fc1d2d99249 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -6844,7 +6844,7 @@}},"signals-scout-run-now": {- "description": "Dispatch one on-demand run of a scout by its config `id`, regardless of its schedule — useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously and inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota and 409 if a run for this scout is already in progress. A manual run does not change the scout's schedule, and a disabled scout can still be run this way (to test before enabling). Returns the workflow id immediately — poll `signals-scout-runs-list` for the resulting run and its findings.",+ "description": "Dispatch one on-demand run of a scout by its config `id`, regardless of its schedule — useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously and inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota or its daily scout-run budget, and 409 if a run for this scout is already in progress. A manual run counts against the same daily run budget the scheduled runs draw from, so avoid triggering repeated runs of the same scout in a short window — each one consumes the project's scout-run allowance for the day. A manual run does not change the scout's schedule, and a disabled scout can still be run this way (to test before enabling). Returns the workflow id immediately — poll `signals-scout-runs-list` for the resulting run and its findings.","category": "Signals","feature": "signals","summary": "Run a scout now",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex d3763fcac3a7..185a5200c26a 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -7355,7 +7355,7 @@}},"signals-scout-run-now": {- "description": "Dispatch one on-demand run of a scout by its config `id`, regardless of its schedule — useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously and inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota and 409 if a run for this scout is already in progress. A manual run does not change the scout's schedule, and a disabled scout can still be run this way (to test before enabling). Returns the workflow id immediately — poll `signals-scout-runs-list` for the resulting run and its findings.",+ "description": "Dispatch one on-demand run of a scout by its config `id`, regardless of its schedule — useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously and inherits the scheduled path's guards: it returns 429 if the project is over its Signals credits quota or its daily scout-run budget, and 409 if a run for this scout is already in progress. A manual run counts against the same daily run budget the scheduled runs draw from, so avoid triggering repeated runs of the same scout in a short window — each one consumes the project's scout-run allowance for the day. A manual run does not change the scout's schedule, and a disabled scout can still be run this way (to test before enabling). Returns the workflow id immediately — poll `signals-scout-runs-list` for the resulting run and its findings.","category": "Signals","feature": "signals","summary": "Run a scout now",diff --git a/services/mcp/src/generated/signals/api.ts b/services/mcp/src/generated/signals/api.tsindex 651a7696dcf8..86cd147a8800 100644--- a/services/mcp/src/generated/signals/api.ts+++ b/services/mcp/src/generated/signals/api.ts@@ -464,7 +464,7 @@ export const SignalsScoutConfigDestroyParams = /* @__PURE__ */ zod.object({})/**- * Dispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.+ * Dispatch one on-demand run of this scout immediately, regardless of its schedule. Useful to test a scout right after authoring it, or to refresh its findings on demand. The run executes asynchronously on the worker and inherits every guard the scheduled path has: it is forbidden if scouts are not enabled for the project (403), and skipped if the project is over its Signals credits quota or daily run budget (429) or a run for this scout is already in progress (409). A manual run counts against the same daily run budget as scheduled runs, so repeated manual runs of the same scout can exhaust the project's daily allowance. A manual run does not change the scout's schedule or `last_run_at`. A disabled scout can still be run this way (to test before enabling). Returns immediately with the workflow id — poll the scout's runs for the result.* @summary Run a scout now*/export const SignalsScoutConfigRunParams = /* @__PURE__ */ zod.object({