> ## Documentation Index
> Fetch the complete documentation index at: https://cofounder.appeeky.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Decision Log

> Browse the agent's full track record — what it proposed, what you applied, what happened.

```
GET /v1/cofounder/decision-log?appId=...
```

See [Decision Log capability](../capabilities/decision-log) for the conceptual overview and the underlying SQL view.

## GET

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl "https://api.appeeky.com/v1/cofounder/decision-log?appId=6479581124&lookbackDays=60" \
  -H "X-API-Key: $KEY"
```

Query params:

| Param          | Required | Default | Description  |
| -------------- | -------- | ------- | ------------ |
| `appId`        | Yes      | —       | Apple App ID |
| `lookbackDays` | No       | 60      | Max 365      |

Response:

```jsonc theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "data": {
    "decisions": [
      {
        "actionId": "uuid",
        "actionType": "asc_metadata_update",
        "title": "Update subtitle (en-US)",
        "status": "applied",
        "proposedAt": "2026-04-12T08:00:00Z",
        "appliedAt": "2026-04-12T08:42:00Z",
        "outcomeSummary": "Subtitle change deployed.",
        "measuredOutcome": "downloads +63.0% | ASO 38 → 41"
      },
      {
        "actionId": "uuid",
        "actionType": "linear_issue",
        "title": "Investigate v3.2.1 crash on launch",
        "status": "applied",
        "proposedAt": "2026-04-19T08:00:00Z",
        "appliedAt": "2026-04-19T09:14:00Z",
        "outcomeSummary": "Issue created and assigned.",
        "measuredOutcome": null
      },
      {
        "actionId": "uuid",
        "actionType": "asc_metadata_update",
        "title": "Update keywords (en-US)",
        "status": "proposed",
        "proposedAt": "2026-04-26T08:00:00Z",
        "appliedAt": null,
        "outcomeSummary": null,
        "measuredOutcome": null
      }
    ]
  }
}
```

## Field meanings

* **`measuredOutcome`** is populated when both `metric_before` and `metric_after` exist on the linked episode. The agent tries to write the "after" snapshot during a 14-day follow-up.
* **`outcomeSummary`** is the human-readable summary written when the action was applied (e.g., "Issue created and assigned").
* **`status`** mirrors the action lifecycle: `proposed`, `approved`, `applied`, `rejected`, `superseded`.

## Use cases

* **Build a decisions UI** in your dashboard
* **Export to CSV** for retrospectives
* **Compute ROI** by summing `measuredOutcome` deltas per `actionType`
* **Decide what to auto-approve** by looking at applied actions with consistently positive outcomes
