# GET /lead-gen/saved-searches

**Resource:** [Lead Generation](./lead-gen.md)  
**Scopes:** `lead-gen:read`  
**Write operation:** no

List all active (non-archived) saved search configurations. Returns the most recently updated first.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `limit` | query | number | no | Max results per page (default 25, max 100) |
| `after` | query | string | no | Cursor for next page |

## Request example

```bash
curl -X GET \
  "https://api.trustpager.com/functions/v1/api/v1/lead-gen/saved-searches" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response example

```json
{
  "data": [
    {
      "id": "7d05612a-...",
      "name": "Sydney Electricians",
      "search_query": "electricians",
      "location": "Sydney, NSW",
      "max_results": 100,
      "run_count": 5,
      "last_run_at": "2026-04-16T10:00:00Z",
      "is_archived": false
    }
  ],
  "pagination": { "limit": 25, "has_more": false, "next_cursor": null }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`