Skip to main content
GET
/
tags
/
list
/
{workspace_id}
List Tags
curl --request GET \
  --url https://api.promptmetrics.dev/tags/list/{workspace_id} \
  --header 'Authorization: Bearer <token>'
{
  "responseData": {
    "tags": [
      {
        "_id": "<string>",
        "name": "<string>",
        "workspace_id": "<string>",
        "status": "ACTIVE",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Query Parameters

status
enum<string>
Available options:
ACTIVE,
INACTIVE

Response

Tags retrieved

responseData
object
message
string