> ## 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 sequences

> Search Apollo sequences by a name substring with explicit pagination.

`searchSequences` returns one page of sequences from the connected workspace.

```ts automations/search-apollo-sequences.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { searchSequences } from "automate.ax/apollo"

export default automation("Find an Apollo sequence", () => {
  onHttpRequest({ scope: "automation" })
  searchSequences({ name: "Outbound", page: 1, perPage: 50 })
})
```

`name` is an optional substring. `page` defaults to `1`; `perPage` defaults to
`100` and is limited to 1–100. Optional `account` selects the binding. Returns
`{ sequences: ApolloSequence[]; pagination: ApolloPagination }`. Keep a
sequence `id` and pass `{ id }` to later actions to skip exact-name resolution.
