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

> Get Apollo's complete stored record for an organization.

`getOrganization` loads complete company data. An ID lookup costs one credit;
an exact name or domain first performs an additional one-credit search page.

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

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

`organization` accepts a plain ID, `{ id }`, `{ domain }`, or `{ name }`.
Optional `account` selects the binding. Returns `ApolloOrganization` with
identity, domain, website, social, industry, location, phone, revenue, funding,
headcount, technology, and description fields when available. Prefer `{ id }`
to avoid the extra search and ambiguity.
