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

> List current JobNimbus activities with cursor pagination.

`jobNimbus.listActivities` list current JobNimbus activities with cursor pagination.

```ts automations/jobnimbus-list-activities.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { jobNimbus } from "automate.ax/jobnimbus"

export default automation("List activities", () => {
  onDashboardRun({ title: "List activities" })
  jobNimbus.listActivities({ pageSize: 100, sort: "-createdAt" })
})
```

## Inputs

`pageSize` defaults to 100 and accepts 1–200. Filter by activity type, creator, primary record, or relationship depth; pass `cursor` from the previous result. Sort ascending or descending by creation time. Optional second argument `{ account }` selects a named JobNimbus binding.

## Output

Returns `{ data: JobNimbusActivity[], pagination: { nextCursor, pageSize } }`.
