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

# Get task

> Get one Apollo task by ID or exact title.

`getTask` resolves one task by stable ID, exact title, or `{ id }`.

```ts automations/get-apollo-task.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { getTask } from "automate.ax/apollo"

export default automation("Get an Apollo task", () => {
  onHttpRequest({ scope: "automation" })
  getTask({ task: { id: "task-id" } })
})
```

`task` is required and optional `account` selects the Apollo binding. Returns an
`ApolloTask` with stable IDs, type, status, priority, due time, title/note,
contact, creator and assignee metadata when supplied by Apollo.
