Introduction
Status
Runs
Export runs data
Get runs
Get run usage statistics
Get a specific run
Get related runs
Generate an export token
Ingest run events
Update run feedback
Update run score
Update run tags
Update run visibility
Delete a run
Templates
Get the latest version
List all templates
Get a specific template
Create a new template
Create a new version
Update a template version
Update a template
Delete a template
Models
List models
Create a new model
Update a model
Delete a model
Datasets
List datasets
Get prompt by ID
Get prompt variation by ID
Get dataset by ID or slug
Create a new dataset
Create a new prompt
Create a new prompt variation
Update a prompt
Update a prompt variation
Update a dataset
Delete a prompt
Delete a prompt variation
Delete a dataset
Users
List project users
Get a specific user
Delete a specific user
Views
List all views
Get a specific view
Create a new view
Update a view
Delete a view
Templates
Delete a template
/v1/templates/id
curl --request DELETE \
--url https://api.lunary.ai/v1/templates/{id} \
--header 'Authorization: Bearer <api_key>' \
--header 'Content-Type: application/json' \
--data '{}'
Parameters
Name | Located In | Required | Schema |
---|---|---|---|
id | path | Yes | string |
Responses
204
Successful deletion