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

# List sections

> List sections in an Asana project in display order.

`listSections` discovers section GIDs for task placement and preserves project order.

```ts automations/list-asana-sections.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { listSections } from "automate.ax/asana"

export default automation("List Asana sections", () => {
  onHttpRequest({ scope: "automation" })
  listSections({ projectId: "project-gid" })
})
```

`projectId` is required. `limit` is 1–100 and defaults to `100`; `offset` continues pagination; optional `account` defaults to the project binding.

Returns `Signal<{ sections: AsanaSection[]; pageInfo: { nextOffset?: string } }>`; each section includes its `id`, name/type, optional creation timestamp, and optional project reference.
