> ## 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 event type

> Retrieves one personal Cal.com event type.

`calcom.getEventType` retrieves one personal Cal.com event type.

```ts automations/get-event-type.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { calcom } from "automate.ax/calcom"

export default automation("Get event type", () => {
  markSignificant(calcom.getEventType({ eventTypeId: 23 }))
})
```

## Input

Pass these fields:

| Field         | Type      | Required | Description             |
| ------------- | --------- | -------- | ----------------------- |
| `eventTypeId` | `integer` | Yes      | Must be greater than 0. |

## Output

The action removes the outer Cal.com status envelope. The result is either a personal event type or a team event type. Team results add team ownership, hosts, and assignment configuration; do not assume those fields after retrieving a personal event type.

Cal.com enforces account role, plan, and availability requirements. Provider rejections surface as structured action failures with the HTTP status and any `Retry-After` delay.
