# Response attributes

## Response parameters

#### Namespace `data`

| Parameter               | Type          | Values                                                                                                                  |
|:------------------------|---------------|-------------------------------------------------------------------------------------------------------------------------|
| `id`                    | String        | ID of the metadata record.                                                                                              |
| `type`                  | String        | `metadata`                                                                                                              |
| `attributes`            | Object        | Attributes object. See below.                                                                                           |
| `attributes.key`        | String        | Key of the key-value pair.                                                                                              |
| `attributes.values.[]`  | MetadataValue | An array of metadata values. See the [MetadataValue section](#metadatavalue) below for attribute details.               |
| `attributes.team_name`  | String        | The team this metadata belongs to.                                                                                      |
| `attributes.owner_id`   | String        | ID of the owner.                                                                                                        |
| `attributes.owner_type` | String        | Type of the owner, possible values are `Monitor`, `Heartbeat`, `Incident`, `WebhookIntegration`, `EmailIntegration`, `IncomingWebhook`, or `CallRouting`. |

### MetadataValue

| Parameter  | Type   | Values                                                                                                                                                                                                                                                                                                            |
|:-----------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `type`     | String | Type of the metadata value, possible values are `String`, `User`, `Team`, `Policy`, `Schedule`, `SlackIntegration`, `LinearIntegration`, `JiraIntegration`, `MicrosoftTeamsWebhook`, `ZapierWebhook`, `NativeWebhook`, or `PagerDutyWebhook`. Default: `String`. |
| `value`    | String | String value of the metadata value object. Used only if `type` is `String`.                                                                                                                                                                                                                                       |
| `item_id`  | String | ID of the item referenced by the metadata value. Used with all types except `String`. A `name` or an `email` attribute (see below) can be used instead when creating or updating metadata values.                                                                                                                 |
| `name`     | String | Name of the referenced item. Used with all types except `String`.                                                                                                                                                                                                                                                 |
| `email`    | String | Email of the user referenced by the metadata value. Used with `User` type.                                                                                                                                                                                                                                        |