# Netlify · `list_sites`

List Netlify sites accessible to the connected credential.

- **Service**: `netlify`
- **Action**: `list_sites`
- **Action id**: `netlify.list_sites`
- **Required scopes**: netlify.read

## Inspect the schema

Always fetch the authoritative input/output schema before building a payload — fields and defaults can change upstream:

```bash
oo connector schema "netlify" --action "list_sites"
```

## Run

```bash
oo connector run "netlify" --action "list_sites" --data '{}' --json
```

Replace `{}` with a JSON object that matches the input schema. The response is `{ "data": ..., "meta": { "executionId": "..." } }`.
