# For a page of the site

`GET /public/protection` · Rivier · hosting

For a page of the site: whether Protection is on and, if so, the address of Shield's script and the site key it names. Public; a browser key may read it.

- Scope: hosting:read
- Sdk: hosting.protection.script
- Cli: hosting protection script

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/public/protection' \
  -H 'Authorization: Bearer $KEY'
```
