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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Search events

> Search Google Calendar event text across provider pages.

`searchEvents` runs Google Calendar's free-text search and follows provider
pages internally. Use it for bounded discovery; use `listEvents` when you need
page or sync tokens.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { searchEvents } from "automate.ax/google-calendar"

export default automation("Find customer reviews", () => {
  onHttpRequest({ scope: "automation" })

  searchEvents({
    calendar: "Customer Meetings",
    query: "quarterly review",
    timeMin: "2026-08-01T00:00:00Z",
    singleEvents: true,
    limit: 50,
  })
})
```

## Inputs

`query` is required. `limit` defaults to `100` and accepts 1–10,000. The
optional `calendar`, `eventTypes`, `includeDeleted`, `privateExtendedProperty`,
`sharedExtendedProperty`, `singleEvents`, `timeMin`, `timeMax`, `timeZone`, and
`updatedMin` filters match [List events](/reference/integrations/google-calendar/actions/list-events#inputs).
`account` selects the Google account.

## Output

Returns `Signal<CalendarEvent[]>`, capped at `limit`; see [Get event](/reference/integrations/google-calendar/actions/get-event#output). Search uses Google's event-field text matching rather than exact title matching.
