# Retrieve form statistics

`GET /v1/forms/{id}/stats`

Requires an API key with the `forms:read` scope. [About keys and scopes](/docs/api/authentication)

Submission counters for one form.

## Path parameters

- `id` (string, required, uuid)

## Returns

Returns `200 OK` with a `FormSubmissionStats` in `data`. Otherwise returns an error; [Errors](/docs/api/errors) lists every code and which to retry.

- `total` (integer, required, min 0, max 9007199254740991) — All submissions.
- `created` (integer, required, min 0, max 9007199254740991) — Submissions that created a contact.
- `updated` (integer, required, min 0, max 9007199254740991) — Submissions that updated an existing contact.
- `honeypot` (integer, required, min 0, max 9007199254740991) — Submissions caught as bots by the honeypot field.
- `pending` (integer, required, min 0, max 9007199254740991) — Double opt-in submissions still waiting for their confirmation link.
- `views` (integer, required, min 0, max 9007199254740991) — Loads of the public form.
- `submitRate` (number | null, required, min 0) — Submissions, less honeypot catches, per view; `null` before the first view.

## Example

```bash
curl https://api.kirora.io/v1/forms/018f2a4e-6b1c-7d3e-9f40-37386ae05a6b/stats \
  -H "Authorization: Bearer $KIRORA_API_KEY"
```

Response `200`:

```json
{
  "data": {
    "total": 0,
    "created": 0,
    "updated": 0,
    "honeypot": 0,
    "pending": 0,
    "views": 0,
    "submitRate": 0
  }
}
```
