# GET /auto-schedules

**Resource:** [Auto Schedules](./auto-schedules.md)  
**Scopes:** `schedules:read`  
**Write operation:** no

List all auto schedules for the workspace.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `limit` | query | number | no | Items 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/auto-schedules" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response example

```json
{
  "data": [
    {
      "id": "a1b2c3d4-...",
      "name": "Daily Staff Digest",
      "is_active": true,
      "cron_expression": "0 9 * * 1-5",
      "timezone": "Australia/Sydney",
      "audience_type": "users",
      "audience_filter": {},
      "automation_id": "b2c3d4e5-...",
      "next_run_at": "2026-04-21T23:00:00+00:00",
      "last_run_at": "2026-04-18T23:00:00+00:00",
      "run_count": 5,
      "max_runs": null,
      "end_at": null,
      "created_at": "2026-04-01T00:00:00Z",
      "updated_at": "2026-04-18T23:00:00Z"
    }
  ],
  "pagination": { "limit": 25, "has_more": false, "next_cursor": null },
  "meta": { "credits_remaining": 9990, "url": "https://app.trustpager.com/auto/schedules" }
}
```

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