# List Event Types

`lawmatics_list-event-types` · Lawmatics MCP tool · Event Types

List event types from Lawmatics with optional pagination and sorting.

## Input

- **page** `integer` (> 0) — Page number (1-based)
- **sortBy** `string` (enum: "id", "created_at", "updated_at", "name") — Column to sort by
- **sortOrder** `string` (enum: "asc", "desc") — Sort direction; ascending or descending

## Output

- **eventTypes** `array` (required) — Event types on this page of results
  - **[]** `object`
    - **id** `string` (required) — Lawmatics event type ID
    - **name** `string` (required) — Event type name
    - **duration** `number` (required) — Default event duration in minutes
    - **createdAt** `string` (required) — When the event type was created, as an ISO 8601 timestamp
    - **updatedAt** `string` (required) — When the event type was last updated, as an ISO 8601 timestamp
- **pagination** `object | null` (required) — Pagination metadata from the API response; null when the endpoint returns no meta envelope
  - **totalPages** `number | null` (required) — Total number of pages available; null if not reported
  - **limitPerPage** `number | null` (required) — Maximum event types returned per page; null if not reported
  - **totalEntries** `number | null` (required) — Total number of event types across all pages; null if not reported
