authenticated
campaigns

Targeting Health

Return targeting health metrics, summed across every variant for the agent.

The agent detail page renders this card at the bottom of the Performance tab; users want it to reflect the whole agent (e.g. Mollie across all region × trade variants), not just the oldest campaign. We aggregate by summing each metric across every campaign slug:

  • eligible_pool / starting_pool / pool_pct: sum of each variant's latest snapshot.
  • net_pool_change / burn_rate: sum of per-variant deltas vs. each variant's snapshot from ~7 days ago (so a variant with stale snapshots doesn't poison the rest).
  • reintroduction_rate: sum of per-variant reintroductions for the next 7 days.
  • evaluated_at: most recent evaluated_date across variants.
get/campaigns/targeting-health/{agent_v2_id}

Request

  • Base URL
    https://api-docs.upsmith.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

agent_v2_idstring required

Headers

organization-idstring nullable
x-user-idstring nullable
timezonestring
x-actor-emailstring nullable
x-request-sourcestring nullable
x-operation-idstring nullable
x-commit-messagestring nullable
x-confirmation-idstring nullable
x-chat-idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.