List all views
curl --request GET \
--url https://api.lunary.ai/v1/views \
--header 'Authorization: Bearer <token>'[
{
"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"
}
]Views
List all views
Retrieves a list of all views for the current project, ordered by most recently updated.
GET
/
v1
/
views
List all views
curl --request GET \
--url https://api.lunary.ai/v1/views \
--header 'Authorization: Bearer <token>'[
{
"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"
}
]Authorizations
Use a project private API key via Authorization: Bearer <key>.
Response
200 - application/json
Successful response
Example:
"1234abcd"
Example:
"LLM Conversations"
Example:
[
"AND",
{
"id": "models",
"params": { "models": ["gpt-4"] }
}
]
Example:
"chat"
Available options:
llm, thread, trace Example:
"llm"
Example:
"project123"
Example:
"user456"
Example:
"2023-04-01T12:00:00Z"