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: <api-key>'
{
  "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

SDK API key in format: pm_

Path Parameters

workspace_id
string
required

Query Parameters

status
enum<string>
Available options:
ACTIVE,
INACTIVE

Response

Tags retrieved

responseData
object
message
string