apply_signal_actions

Monitoring & Reporting Write

Apply the pre-staged fixes for a signal (executes on the ad platform)

Endpoint

POST https://api.adspirer.ai/api/v1/tools/apply_signal_actions/execute

Headers

Description

Apply the pre-staged fixes for a signal (executes on the ad platform). **What it does:** - Executes ONLY the actions a monitor already staged for approval (pause/budget) for this signal - Does NOT free-form change campaigns — to do something different, use the normal campaign tools **When to use:** - After `get_signal_briefing`, the user says "apply the staged actions" / "approve them" **IMPORTANT:** approved actions execute IMMEDIATELY and are irreversible in the moment.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
signal_idstring requiredID of the signal/monitor whose pre-staged actions to apply
action_idsarray optionalSpecific pre-staged action IDs to apply. Omit to apply ALL pending for this signal.

Example request

{
  "arguments": {
    "signal_id": "string",
    "action_ids": [
      "string"
    ]
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for apply_signal_actions)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "apply_signal_actions"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "apply_signal_actions"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "apply_signal_actions",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai