Skip to main content

list tags

list tags. Requires a Bearer session valid Bearer session.
1 min read
get/tags/profiles/{studioId}
Request example
Response
get/tags/profiles/{studioId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.

Query parameters

domainScopestring#
Filter domainScope (pickers = general + scope; with domainScopeExact=true = that scope only).
domainScopeExactstring#
If true, domainScope is an exclusive match (admin /tags list).
sortBystring#
Sort field (createdAt, name, linkCount).
orderBystring#
Sort direction (asc, desc).
favoriteTagsstring#
Favorites only when true.
unusedOnlystring#
Unused tags only when true.
hasTasksstring#
Tags linked to tasks.
hasProjectsstring#
Tags linked to projects.
hasDescriptionstring#
Tags with a description.
pageinteger#
Page (offset pagination).
pageSizeinteger#
Page size.
cursorstring#
Filter cursor.
limitinteger#
Filter limit.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
namestringrequired#
descriptionstring#
colorstring#
createdBystringrequired#
isFavoritebooleanrequired#
domainScopestring#
linkCountintegerrequired#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#
metaobject#
Show child attributes
next_cursorstring#
has_moreboolean#
pageinteger#
current page (1-based) when the list uses page pagination.
page_sizeinteger#
Page size when the list uses page pagination.
totalinteger#
Total items matching the filter.
total_pagesinteger#
Total pages for the current page size.