Skip to main content
GET
/
template
/
prompts
List prompts only
curl --request GET \
  --url https://api.promptmetrics.dev/template/prompts \
  --header 'Authorization: Bearer <token>'
{
  "responseData": {
    "data": [
      {
        "_id": "64fd123abc",
        "name": "Customer Support Prompt",
        "description": "Handles customer queries",
        "is_folder": false
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

workspace_id
string
required

Response

List of prompt templates

responseData
object