Bellaso Agent API

Tools backed by the signal_cac module


Signal CAC by channel

POST
https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp
/api/v1/tools/get_signal_cac
Bearer (ck_ endpoint token)

Cost per attributed conversion from Signal's spend-attribution mart, by date, attribution model, channel and campaign: spend, credited_conversions and CAC. Use it for "what does a conversion cost by channel" once Signal is tracking conversions. Rows exist ONLY where credited conversions join ad spend on matching campaign names, so an empty result is a valid state — it means nothing has joined yet, not that CAC is zero and not that the tool failed. Because credit is split by attribution model, always state which model a CAC figure comes from. Requires the Signal spend/CAC mart: without the entitlement this returns a plan refusal rather than empty rows.

Signal CAC by channel › Request Body

start_date
​string · pattern: ^\d{4}-\d{2}-\d{2}$

Since date, YYYY-MM-DD (default: 90 days ago). The window always runs from here through the latest available day; there is no end_date.

Signal CAC by channel › Responses

The tool ran

ok
​boolean · const · required
Const value:
tool
​string · required
data
​required

The tool's payload — byte-identical to what the same tool returns over MCP.