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
Views
List all views
Retrieves a list of all views for the current project, ordered by most recently updated.
/v1/views
curl --request GET \
--url https://api.lunary.ai/v1/views \
--header 'Authorization: Bearer <api_key>' \
--header 'Content-Type: application/json'
Example response:
[
{
"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"
}
]
Responses
200
Successful response