# Events in a collection
List events belonging to a collection, with the collection membership metadata and an inline event summary for each row.

GET /collections/:slug/events

## Path Parameters
- slug (string, required): The collection slug

## Query Parameters
- limit (number, required): Items per page (1-100, default 50).
- after (string): Opaque cursor from a previous response's `cursor` field; returns the next page.

## Authorization
read:collections

## Request Examples

### curl
```curl
curl -H "Authorization: Bearer INTERVALS_PARTNER_API_KEY" \
  https://api.intervals.run/collections/lakefront-race-series/events?limit=20
```

### JavaScript
```javascript
const slug = "lakefront-race-series";
const res = await fetch(
  `https://api.intervals.run/collections/${slug}/events`,
  {
  headers: { Authorization: "Bearer INTERVALS_PARTNER_API_KEY" },
  }
);
const { data } = await res.json();
```

## Responses

### 200 (200)
```json
{
  "data": [
    {
      "collectionId": "c14abc789def012",
      "eventId": "e72tuv901wxy234",
      "displayOrder": 1,
      "event": {
        "id": "e72tuv901wxy234",
        "name": "Lakefront 5K - June 14",
        "slug": "lakefront-5k-june-14",
        "type": "race",
        "date": "2025-06-14",
        "organizationId": "k57abc123def456",
        "temporalStatus": "future"
      }
    }
  ],
  "hasMore": false
}
```

### 404 (404)
```json
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Collection not found"
  }
}
```