Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. Target an API Definition for a shard

Target an API Definition for a shard

In your API definition, add a tags section to the root of the API Definition:

```
"tags": ["health"]
```

This will set the tags for the API and when the API is loaded by a gateway, these tags will be transferred in to the analytics data set.