# Declared agents, the report and the limits

## Declared agents

An agent that signs its requests can be told apart from one that does not. Your server passes the request's method, authority, path and the three signature headers:

```js
const res = await fetch("https://shield.praecise.com/verify-agent", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    site: "ps_...", secret: process.env.SHIELD_SECRET,
    method: "GET", authority: "shop.example", path: "/prices",
    headers: { signature, "signature-input": signatureInput, "signature-agent": signatureAgent },
  }),
});
// { ok: true, class: "declared_agent", agent: "<host>", keyid }  or  { ok: false, class: "undeclared", reason }
```

The check has not met a real agent yet.

## The report

With the site secret, `GET /counts?site=ps_...` and `GET /report?site=ps_...` (`Authorization: Bearer <site secret>`) give the counts kept per site and UTC day: challenges, people, people by touch, below the line, failed, verified, refused, declared agents, unsigned or bad agents. The report puts the last seven days in plain sentences, with what to do next.

## What Shield does not do

- It is early and unproven.
- A touch is not proof of a human: the device is not attested yet.
- An agent driving a real browser passes as a person.
- The signature check for declared agents has not met a real agent yet.
- There are no edge rules and no certificates.
- One instance; counts are kept on its disk.
