# List a page's imports

One page's import history, newest first: each run's file, counts, error and per-row results, plus how many of the rows it made are STILL on the page — which is what says whether an undo is worth anything. `limit` defaults to 10 and is capped at 50. This read also ADVANCES the page's oldest running import job by a chunk, because there is no background worker: a job whose wizard was closed moves on when somebody comes looking for it, and one abandoned long enough is settled failed here.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/imports`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "actorUserId": 1.5,
      "createdAt": "string",
      "failed": 1.5,
      "fileName": "string",
      "finishedAt": "string",
      "id": "",
      "imported": 1.5,
      "results": [
        {
          "id": "",
          "row": 1.5
        }
      ],
      "standing": 1.5,
      "status": "string",
      "total": 1.5
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
