Lunary API Reference home page
Search...
Ctrl K
Support
Dashboard
Dashboard
Search...
Navigation
Templates
Delete a template
Documentation
API Reference
Getting Started
Introduction
Audit Logs
GET
Retrieve audit logs
Checklists
GET
List all checklists
POST
Create a new checklist
GET
Get a specific checklist
DEL
Delete a checklist
PATCH
Update a checklist
Datasets
GET
List datasets
POST
Create a new dataset
GET
Get dataset by ID or slug
DEL
Delete a dataset
PATCH
Update a dataset
POST
Create a new prompt
GET
Get prompt by ID
DEL
Delete a prompt
PATCH
Update a prompt
GET
Get prompt variation by ID
DEL
Delete a prompt variation
PATCH
Update a prompt variation
POST
Create a new prompt variation
Evals
GET
List evaluations
POST
Create a new evaluation
GET
Get evaluation by ID
DEL
Delete an evaluation
PATCH
Update an evaluation
POST
Run the evaluation
POST
Create a criterion
GET
Get criterion by ID
DEL
Delete a criterion
PATCH
Update a criterion
GET
List results for an evaluation
GET
Get a single result
Users
GET
List project users
GET
Get a specific user
DEL
Delete a specific user
Models
GET
List models
POST
Create a new model
DEL
Delete a model
PATCH
Update a model
Playground Endpoints
GET
List all playground endpoints
POST
Create a playground endpoint
GET
Get a playground endpoint
PUT
Update a playground endpoint
DEL
Delete a playground endpoint
Runs
GET
Get runs
GET
Get run usage statistics
GET
Export runs data
GET
Get a specific run
DEL
Delete a run
PATCH
Update run visibility
PATCH
Update run tags
PATCH
Update run feedback
PATCH
Update run score
GET
Get related runs
POST
Ingest run events
Templates
GET
Get the latest version
PATCH
Update a template version
GET
List all templates
POST
Create a new template
GET
Get a specific template
DEL
Delete a template
PATCH
Update a template
POST
Create a new version
Test
POST
Test endpoint for playground API testing
POST
Test endpoint with authentication check
Views
GET
List all views
POST
Create a new view
GET
Get a specific view
DEL
Delete a view
PATCH
Update a view
Delete a template
cURL
Copy
curl
--request
DELETE
\
--url
https://api.lunary.ai/v1/templates/{id}
Templates
Delete a template
DELETE
/
v1
/
templates
/
{id}
Try it
Delete a template
cURL
Copy
curl
--request
DELETE
\
--url
https://api.lunary.ai/v1/templates/{id}
Path Parameters
​
id
string
required
Response
204
Successful deletion
Get a specific template
Update a template
Assistant
Responses are generated using AI and may contain mistakes.