> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overflow.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Common Patterns

## Request and Response Structure

### Pagination

All collection endpoints support offset-style pagination via limit & page query parameters. For example: `?limit=25&page=2`.

### Filtering & Sorting

* Date range: `minimumUpdatedDate`, `maximumUpdatedDate`
* Status filters: e.g. `statusBucket[]=PENDING&statusBucket[]=CONFIRMED`
* Sorting: `sortBy` + `sortDirection`

### Response Envelope

Successful responses for collection endpoints share a common structure:

```json theme={null}
{
  "data": [ /* array of resources */ ],
  "totalCount": 100 // total resources count
}
```

### Error Handling

| Code | Meaning                 | Retry? |
| ---- | ----------------------- | ------ |
| 400  | Validation / bad input  | ❌      |
| 401  | Invalid API credentials | ❌      |
| 404  | Resource not found      | ❌      |
| 429  | Rate limited            | ⏳      |
| 500  | Server error            | ✅      |
