> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# template.metadataEditDismissed

> Emitted when the user dismisses the template metadata editor without saving.

## Event Properties

| Field          | Value                              |
| -------------- | ---------------------------------- |
| `event`        | `"template.metadataEditDismissed"` |
| `confidential` | `boolean`                          |
| `payload`      | `object`                           |

<Tabs>
  <Tab title="Public Payload">
    | Field               | Type                | Description                                         |
    | ------------------- | ------------------- | --------------------------------------------------- |
    | `templateId`        | `string`            | Identifier of the template whose edit was dismissed |
    | `templateType`      | `"personal"`        | Type of template                                    |
    | `source`            | `"template_detail"` | Where the dismiss occurred                          |
    | `hasUnsavedChanges` | `boolean`           | Whether the user had unsaved changes                |

    #### Example

    ```json theme={null}
    {
      "event": "template.metadataEditDismissed",
      "confidential": false,
      "payload": {
        "templateId": "template_1",
        "templateType": "personal",
        "source": "template_detail",
        "hasUnsavedChanges": true
      }
    }
    ```
  </Tab>

  <Tab title="Confidential Payload">
    | Field               | Type                | Description                                         |
    | ------------------- | ------------------- | --------------------------------------------------- |
    | `templateId`        | `string`            | Identifier of the template whose edit was dismissed |
    | `templateType`      | `"personal"`        | Type of template                                    |
    | `source`            | `"template_detail"` | Where the dismiss occurred                          |
    | `hasUnsavedChanges` | `boolean`           | Whether the user had unsaved changes                |

    #### Example

    ```json theme={null}
    {
      "event": "template.metadataEditDismissed",
      "confidential": true,
      "payload": {
        "templateId": "template_1",
        "templateType": "personal",
        "source": "template_detail",
        "hasUnsavedChanges": true
      }
    }
    ```
  </Tab>
</Tabs>
