cURL
curl --request GET \ --url https://api.promptmetrics.dev/template \ --header 'Authorization: Bearer <token>'
{ "folders": [ { "_id": "<string>", "workspace_id": "<string>", "parent_id": "<string>", "name": "<string>", "description": "<string>", "is_folder": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "prompts": [ { "_id": "<string>", "workspace_id": "<string>", "parent_id": "<string>", "name": "<string>", "description": "<string>", "is_folder": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
name
updated_at
asc
desc
List of templates and folders
Show child attributes