GET
/
v1
/
views
List all 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

id
string
Example:

"1234abcd"

name
string
Example:

"LLM Conversations"

data
array
Example:
[
"AND",
{
"id": "models",
"params": { "models": ["gpt-4"] }
}
]
columns
object
icon
string
Example:

"chat"

type
enum<string>
Available options:
llm,
thread,
trace
Example:

"llm"

projectId
string
Example:

"project123"

ownerId
string
Example:

"user456"

updatedAt
string<date-time>
Example:

"2023-04-01T12:00:00Z"