GET
/
v1
/
views
/
{id}
curl --request GET \
  --url https://api.lunary.ai/v1/views/{id}
{
  "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"
}

Path Parameters

id
string
required

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
any[]
icon
string
Example:

"chat"

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

"llm"

projectId
string
Example:

"project123"

ownerId
string
Example:

"user456"

updatedAt
string
Example:

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