Getting Started
Audit Logs
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
Views
List all views
Retrieves a list of all views for the current project, ordered by most recently updated.
GET
/
v1
/
views
curl --request GET \
--url https://api.lunary.ai/v1/views
[
{
"id": "1234abcd",
"name": "LLM Conversations",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": {
"id": "ID",
"content": "Content"
},
"icon": "chat",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T12:00:00Z"
}
]
Response
200 - application/json
Successful response
The response is of type object[]
.
curl --request GET \
--url https://api.lunary.ai/v1/views
[
{
"id": "1234abcd",
"name": "LLM Conversations",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": {
"id": "ID",
"content": "Content"
},
"icon": "chat",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T12:00:00Z"
}
]