Strategy

Update a Strategy Bet

patch/v1/workspaces/{workspaceId}/strategy/bets/{betId}

Request

  • Base URL: https://api.maevesocial.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.maevesocial.com/v1/workspaces/{workspaceId}/strategy/bets/{betId}
  • Auth: HTTP bearer

Path parameters

betIdstring required
workspaceIdstring uuid required

Workspace UUID.

Request body

kind'vs' | 'threshold' | 'manual' nullable
metricIdstring nullable
startDatestring date nullable
resolveDatestring date nullable
subjectType'format' | 'pillar' | 'channel' nullable
comparator'above' | 'below' nullable
targetValuenumber nullable
claimstring nullable
reasonstring nullable
colorstring nullable

Response

Updated Strategy Bet

metaunknown required

Example response

{
  "data": {
    "id": "11111111-1111-4111-8111-111111111111",
    "workspaceId": "22222222-2222-4222-8222-222222222222",
    "kind": "threshold",
    "metricId": "reach",
    "unit": "count",
    "comparator": "above",
    "claim": "Reels beat carousels on reach",
    "valueA": 42000,
    "valueB": 38000,
    "targetValue": 50000,
    "startDate": "2026-06-01",
    "resolveDate": "2026-06-30",
    "reason": "Reels have been trending up all month.",
    "color": "#2F6BFF",
    "predictionSummary": {
      "yes": 3,
      "no": 1,
      "total": 4
    },
    "computed": {
      "phase": "live",
      "startDate": "2026-06-01",
      "resolveDate": "2026-06-30",
      "totalDays": 29,
      "elapsedPct": 0.5,
      "daysLeft": 14,
      "winning": true,
      "lean": {
        "key": "winning",
        "label": "Winning",
        "tone": "good"
      }
    },
    "lastRefreshedAt": "2026-06-17T00:00:00.000Z",
    "createdAt": "2026-06-17T00:00:00.000Z",
    "updatedAt": "2026-06-17T00:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.