Source: https://seerepo.com/docs/api-pending
Markdown source: https://seerepo.com/docs/api-pending.md
Description: What's pending in a repo, in four figures: what its agents say, what there is to fix, what's left of its plans and what waits for you.

# What's pending

`GET https://seerepo.com/api/v1/repos/:repo/pending`

The four figures of the repo's front page, with the same count:

- **What its agents say**: the open tasks of `norte/planes/hallazgos.md`, where agents write what they find wrong, missing or too much.
- **What there is to fix**: Salud's one number.
- **What's left of its plans**: the open tasks of its plans, apart from the findings and from archived plans.
- **What waits for you**: the open tasks marked for the owner, with 🧑 or «(you)», «(owner)», «(tú)» or «(dueño)» in their words. What an agent can't do alone: a click on a payment, a sign-in, a decision.

## Request

| Parameter | Where | Description |
|---|---|---|
| `repo` | path | The repo's id, or owner/name with %2F. |

## Response

| Field | Type | Description |
|---|---|---|
| `data.agents.findings` | number | Open tasks in `norte/planes/hallazgos.md`. |
| `data.agents.reports` | number | Only in SeeRepo's own repo: the reports to SeeRepo still open. 0 elsewhere. |
| `data.agents.total` | number | The two together. |
| `data.fix` | number | Salud's one number. |
| `data.serious`, `data.firstSerious` | number, object\|null | How many of them are serious, and the first of those (`key`, `kind`): what's next in a plan is weighed against it. |
| `data.plans` | number | Open tasks of its plans. |
| `data.yours` | number | Open tasks marked for the owner. |

## Errors

| Status | Code | When |
|---|---|---|
| 404 | `not_found` | No repo with that id or name in this account. |
