Skip to main content
GET
/
template
/
folders
/
{workspace_id}
List folders only
curl --request GET \
  --url https://api.promptmetrics.dev/template/folders/{workspace_id} \
  --header 'Authorization: Bearer <token>'
{
  "responseData": [
    {
      "_id": "folder_1",
      "name": "Marketing",
      "is_folder": true
    }
  ]
}

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

Response

200 - application/json

Folder list

responseData
object[]