← Artifacts & connectors

netlify

Netlify

Official CLI · netlify

Reads
visitors, pageviews, top sources, bandwidth.
Locators
Site name or deploy URL.
Evidence for a linked target
Netlify CLI result, deploy metadata, or Netlify Analytics for the site.
Official docs
https://docs.netlify.com/cli/get-started/

Usage

Agent command: superdense reward docs connectors --connector netlify

# netlify — usage

Use the official `netlify` CLI to confirm the deploy and surface site info; read
Netlify Analytics for traffic.

```bash
# Site status and latest deploy
netlify status
netlify api listSiteDeploys --data '{"site_id":"<id>"}'
```

**Reward dimensions:** visitors, pageviews, top sources.
**Locators:** site name, deploy URL.

Install

Agent command: superdense reward docs connectors --connector netlify --section install

Install the official **netlify** CLI and authenticate it for the account that owns the artifact.

Use the vendor's official installation guide rather than a copy here, so steps stay current:

- https://docs.netlify.com/cli/get-started/#installation

Once installed and authenticated, the `usage` section shows how to read metrics.

Troubleshoot

Agent command: superdense reward docs connectors --connector netlify --section troubleshoot

If a `netlify` call fails, the fastest fix is usually re-auth or a version bump.

Check, in order:

1. **Auth** — confirm you are logged in to the right account/scope.
2. **Version** — update netlify to the latest release.
3. **Permissions** — confirm the account can see the resource.

For anything deeper, use the official troubleshooting docs:

- https://docs.netlify.com/cli/get-started/