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

> Emitted when the user opens the template metadata editor.

## Event Properties

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

<Tabs>
  <Tab title="Public Payload">
    | Field          | Type                | Description                             |
    | -------------- | ------------------- | --------------------------------------- |
    | `templateId`   | `string`            | Identifier of the template being edited |
    | `templateType` | `"personal"`        | Type of template                        |
    | `source`       | `"template_detail"` | Where the edit was initiated            |

    #### Example

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

  <Tab title="Confidential Payload">
    | Field          | Type                | Description                             |
    | -------------- | ------------------- | --------------------------------------- |
    | `templateId`   | `string`            | Identifier of the template being edited |
    | `templateType` | `"personal"`        | Type of template                        |
    | `source`       | `"template_detail"` | Where the edit was initiated            |

    #### Example

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