---
title: "uptimeify_tag"
description: "Look up one tag by id or by name (exactly one). Fails when no or several visible tags match the name."
---

Look up one tag by `id` or by `name` (exactly one). Fails when no or several visible tags match the name.

## Example Usage

```terraform
data "uptimeify_tag" "production" {
  name = "production"
}

data "uptimeify_tag" "by_id" {
  id = "42"
}
```

## Schema

### Optional

- `id` (String) Numeric id or public id.
- `name` (String)

### Read-Only

- `color` (String)
- `created_at` (String)
- `customer_id` (Number)
- `public_id` (String)
- `updated_at` (String)
