> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/using-octoxlabs/tag-a-device.md).

# Tag a Device

After creating queries and investigating devices and adherence to policies, you can perform actions, such as Tag, on a single selected device or in bulk of selected devices.

You can use the tags in future queries, for example:

<figure><img src="/files/CNMEP9rhdZXvNkM7ZKnd" alt=""><figcaption></figcaption></figure>

### How to Tag a Device﻿ <a href="#how-to-tag-a-device" id="how-to-tag-a-device"></a>

To tag a device:

1. Open the Devices page and run a saved query or run your own query.
2. Select one or multiple device record checkboxes. Once at least one device is selected, Actions is displayed above the query results table.
3. Click Actions and then click Tag. The Tag Devices dialog opens.

<figure><img src="/files/EUSXtQIMCOkhRS90FxZC" alt=""><figcaption></figcaption></figure>

5. Apply new or existing tags to the selected devices. The list of selected tags is applied to all selected devices. Therefore, tagging may result in the removal of existing tags from one or from several of the selected devices. Refer to Working with Tags to learn more about using tags.
6. Click Save.

### Asset Profile - Tags Tab﻿

You can use the Tags tab in the Asset Profile page to add and to edit tags associated with a device. This tab displays the list of tags associated with the device.

<figure><img src="/files/6GPxfaWm5uiuNy8ZoFPz" alt=""><figcaption></figcaption></figure>

To edit the device tags, click Manage Tags. Select the tags to be associated with the device and clear tags you wish to unassociate from the device.

To learn more about the Asset Profile, see the Asset Profile page.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.octoxlabs.com/using-octoxlabs/tag-a-device.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
