Currently, it only returns TagID. The same field is also used as a filter in the Graphql Query.
Another approach, in this case, could be to fetch tag data by tag path, once you fetch the TagID from the GraphQL response
https://{$HOSTNAME}/content/cq:tags/{$TAG_PATH}.json
For example, tagID returned in Graphql response:-
"tags": [
"wknd-shared:region/emea"
]
Now the tag path can be formed like this
https://{$HOSTNAME}/content/cq:tags/wknd-shared/region/emea.json
it returns
{
"jcr:created": "Thu Jul 07 2022 10:42:40 GMT+0000",
"jcr:createdBy": "admin",
"sling:resourceType": "cq/tagging/components/tag",
"jcr:title": "EMEA",
"jcr:description": "Europe, Middle East and Africa",
"jcr:primaryType": "cq:Tag"
}
This would return the title and other metadata related to the Tag.
Hope this helps.
Regards,
Nitesh