---
title: "Get Learning Log"
method: GET
path: "/api/growth/learning-log"
tags: ["Growth Journey"]
---

# Get Learning Log

`GET /api/growth/learning-log`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/growth/learning-log`
- Auth: none declared. Required headers: `authorization`

soeru があなたから学んだルールを返す (#339)。

voice_codex (現在 state) × 直近 weeks 週の編集 (証拠) を突き合わせて
「使わなくなった (forbidden)」「選ぶようになった (preferred)」ルールを
最大 8 件返す。各ルールに前後ペアと「学習後に何件で適用されたか」が付く。

レスポンス例:
    {
      "period": {"start": "...", "end": "...", "weeks": 4},
      "summary": {"edit_count": 23, "generation_count": 156, ...},
      "learnings": [
        {
          "kind": "forbidden",
          "rule": "あなたの",
          "headline": "「あなたの」を控えるようになりました",
          "evidence_count": 3,
          "sample_pairs": [{before, after, edited_at}, ...],
          "application_applied": 142, "application_total": 156
        }
      ],
      "fallback_signatures": [...]  // learnings が空の時だけ
    }

## Query parameters

- `weeks` integer: lookback window in weeks

## Headers

- `x-shop-id` string, nullable: Optional shop ID
- `authorization` string, required: Bearer <token>

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
