Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

List Tags

get/v1/tags/

Get the list of all agent tags that have been created.

Query ParametersExpand Collapse
after: optional string

Tag cursor for pagination. Returns tags that come after this tag in the specified sort order

before: optional string

Tag cursor for pagination. Returns tags that come before this tag in the specified sort order

limit: optional number

Maximum number of tags to return

name: optional string

Filter tags by name

order: optional "asc" or "desc"

Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse alphabetical order

Accepts one of the following:
"asc"
"desc"
order_by: optional "name"

Field to sort by

Accepts one of the following:
"name"
Deprecatedquery_text: optional string

Filter tags by text search. Deprecated, please use name field instead

List Tags
curl https://api.letta.com/v1/tags/ \
    -H "Authorization: Bearer $LETTA_API_KEY"
[
  "string"
]
Returns Examples
[
  "string"
]