List the labels the user has created for organizing chats. Filter chats by label via GET /v1/chats/search with labelID.
List labels
import os
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop(
access_token=os.environ.get("BEEPER_ACCESS_TOKEN"), # This is the default and can be omitted
)
labels = client.labels.list()
print(labels)[
{
"id": "id",
"name": "name"
}
]Returns Examples
[
{
"id": "id",
"name": "name"
}
]