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

> Search Apollo workspace tasks with explicit pagination.

`searchTasks` returns one explicit page of Apollo tasks without hiding provider
pagination.

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

export default automation("List Apollo tasks", () => {
  onHttpRequest({ scope: "automation" })
  searchTasks({ page: 1, perPage: 50, sortBy: "due_at" })
})
```

`page` defaults to `1`; `perPage` defaults to `100` and is limited to 1–100.
`openFactorNames?: string[]` filters task queues and `sortBy?: string` passes an
Apollo-native task field. Optional `account` selects the binding. Returns
`{ tasks: ApolloTask[]; pagination: ApolloPagination }`.
