# Recommendations Progress History

Returns a time series of recommendation statuses over time, showing the progression from available to in-progress to implemented.

## Request

```
GET /v1/recommendations/progress-history
```

### Query Parameters

| Parameter | Type   | Required | Default | Description                                                   |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------- |
| `range`   | string | **Yes**  | —       | Time range: `7d` (7 days), `1m` (1 month), or `3m` (3 months) |

## Response

### Success (200 OK)

```json
{
  "history": [
    {
      "date": "2026-03-01",
      "available": 15,
      "inProgress": 3,
      "implemented": 18
    },
    {
      "date": "2026-03-08",
      "available": 12,
      "inProgress": 5,
      "implemented": 20
    },
    {
      "date": "2026-03-15",
      "available": 10,
      "inProgress": 4,
      "implemented": 23
    }
  ]
}
```

### Fields

| Field                   | Type    | Description                            |
| ----------------------- | ------- | -------------------------------------- |
| `history`               | array   | Time series of recommendation statuses |
| `history[].date`        | string  | Date of the data point                 |
| `history[].available`   | integer | Recommendations available for action   |
| `history[].inProgress`  | integer | Recommendations in progress            |
| `history[].implemented` | integer | Recommendations completed              |

## Examples

### curl

```bash
curl "https://app.limy.ai/api/v1/recommendations/progress-history?range=3m" \
  -H "X-API-Key: YOUR_API_KEY"
```

### Python

```python
response = requests.get(
    f"https://app.limy.ai/api/v1/recommendations/progress-history",
    headers={"X-API-Key": API_KEY},
    params={"range": "3m"}
)

for point in response.json()['history']:
    total = point['available'] + point['inProgress'] + point['implemented']
    pct = point['implemented'] / total * 100 if total else 0
    print(f"{point['date']}: {point['implemented']}/{total} implemented ({pct:.0f}%)")
```

### JavaScript

```javascript
const response = await fetch(
  `https://app.limy.ai/api/v1/recommendations/progress-history?range=3m`,
  { headers: { 'X-API-Key': API_KEY } }
);

const { history } = await response.json();
history.forEach(h => {
  const total = h.available + h.inProgress + h.implemented;
  console.log(`${h.date}: ${h.implemented}/${total} implemented`);
});
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-reference.limy.ai/analytics/summary/progress-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
