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

> Retrieve metadata for an accessible Google Calendar.

`getCalendar` gets provider-wide calendar metadata. Use it for title, timezone,
location, owner, conference support, and default behavior; use `getCalendarListEntry`
for the connected user's display and subscription settings.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { getCalendar } from "automate.ax/google-calendar"

export default automation("Inspect the team calendar", () => {
  onHttpRequest({ scope: "automation" })

  getCalendar({ calendar: "Team Calendar" })
})
```

## Inputs

`calendar?: string` accepts an exact visible title or ID and defaults to
`"primary"`. `account` optionally selects the Google account.

## Output

Returns `Signal<Calendar>` with `id`, `summary`, optional `description`,
`location`, `timeZone`, `dataOwner`, `accessRole`, colors, list visibility,
selection and deletion flags, `primary`, `autoAcceptInvitations`,
`conferenceSolutionTypes`, `defaultReminders`, `notifications`, and optional
`summaryOverride`. List-only fields use neutral defaults when the provider's
calendar resource does not supply them.
