# Release tag

## Available Fields

| Field     |
| --------- |
| `id`      |
| `release` |
| `tag_key` |
| `value`   |

***

## Examples

### Get all tags by release commit

```bash
GET "https://api.balena-cloud.com/v7/release_tag?\$filter=release/commit%20eq%20'<COMMIT>'" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" 
```

### Create a new release tag

```bash
POST "https://api.balena-cloud.com/v7/release_tag" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" \
--data '{
    "release": "<RELEASE ID>",
    "tag_key": "<KEY>",
    "value": "<VALUE>"
}'
```


---

# Agent Instructions: 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:

```
GET https://docs.balena.io/reference/api/resources/release_tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
