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

> Search projects by name in an Asana workspace.

`asana.searchProjects` searches projects by name in an Asana workspace.

```ts automations/asana-search-projects.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { asana } from "automate.ax/asana"

export default automation("Search projects", () => {
  onDashboardRun({ title: "Search projects" })
  asana.searchProjects({ workspaceId: "workspace-gid", text: "launch" })
})
```

Provide `workspaceId` and non-empty `text`. Optional `teamId` and `completed` narrow results. `limit` defaults to `100`. Asana doesn't support offset pagination for project search. Optional second argument `{ account }` selects a named Asana binding.

Returns the matching `projects`.
