Templates

List all templates

List all the prompt templates in your project, along with their versions. Useful for usecases where you might want to pre-load all the templates in your application.

GET
/v1/templates
curl --request GET \
  --url https://api.lunary.ai/v1/templates \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json'

Responses

200

Successful response

Questions? We're here to help.

Email