Ads

Sync ad platforms

Pulls fresh numbers from each connected platform (or the ones named) and reruns attribution.

POSThttps://traceeai.com/api/v1/ads/sync

CLI:tracee ads sync·MCP:adsaction sync

Authorizations

  • Authorizationstringheaderrequired

    Bearer <key>: a personal key (tracee login or Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.

Headers

  • Tracee-Workspacestring

    For a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.

    uuid

Body

application/json
  • platformsstring[]

    The platforms

    up to 6 items

    Available options:googlemetalinkedintiktokredditpinterest

  • daysinteger

    Window ending today; 30 by default

    1–731

  • connection_idstring

    One account, from GET /api/v1/ads/accounts

    uuid

Response

  • 200Done.

    The action's result, exactly as the MCP tool returns it to agents. A next field, when present, names the endpoint that follows up.