Getting Started
Audit Logs
Checklists
Datasets
- GETList datasets
- POSTCreate a new dataset
- GETGet dataset by ID or slug
- DELDelete a dataset
- PATCHUpdate a dataset
- POSTCreate a new prompt
- GETGet prompt by ID
- DELDelete a prompt
- PATCHUpdate a prompt
- GETGet prompt variation by ID
- DELDelete a prompt variation
- PATCHUpdate a prompt variation
- POSTCreate a new prompt variation
Evals
Runs
Templates
Checklists
Update a checklist
Update an existing checklist’s slug and/or data.
PATCH
/
v1
/
checklists
/
{id}
curl --request PATCH \
--url https://api.lunary.ai/v1/checklists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"slug": "updated-checklist-slug",
"data": {
"items": [
{
"name": "Run tests",
"completed": true
},
{
"name": "Update documentation",
"completed": true
},
{
"name": "Deploy to production",
"completed": false
}
]
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"type": "<string>",
"data": {},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the checklist to update
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
curl --request PATCH \
--url https://api.lunary.ai/v1/checklists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"slug": "updated-checklist-slug",
"data": {
"items": [
{
"name": "Run tests",
"completed": true
},
{
"name": "Update documentation",
"completed": true
},
{
"name": "Deploy to production",
"completed": false
}
]
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"type": "<string>",
"data": {},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.