from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.tags.list(request={
"page_size": 50,
})
# Handle response
print(res)[
{
"id": "<string>",
"name": "<string>",
"color": "red"
}
]Retrieve a list of tags for the authenticated workspace.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.tags.list(request={
"page_size": 50,
})
# Handle response
print(res)[
{
"id": "<string>",
"name": "<string>",
"color": "red"
}
]Default authentication mechanism
The field to sort the tags by.
name, createdAt The order to sort the tags by.
asc, desc The search term to filter the tags by.
IDs of tags to filter by.
The page number for pagination.
x > 01
The number of items per page.
0 < x <= 10050
Was this page helpful?