Creates a new dashboard view with the provided details.
curl --request POST \
--url https://api.lunary.ai/v1/views \
--header 'Content-Type: application/json' \
--data '{
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"icon": "chart",
"type": "llm"
}'
{
"id": "5678efgh",
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": [],
"icon": "chart",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T14:30:00Z"
}
Successful response
The response is of type object
.
curl --request POST \
--url https://api.lunary.ai/v1/views \
--header 'Content-Type: application/json' \
--data '{
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"icon": "chart",
"type": "llm"
}'
{
"id": "5678efgh",
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": [],
"icon": "chart",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T14:30:00Z"
}
Creates a new dashboard view with the provided details.
curl --request POST \
--url https://api.lunary.ai/v1/views \
--header 'Content-Type: application/json' \
--data '{
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"icon": "chart",
"type": "llm"
}'
{
"id": "5678efgh",
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": [],
"icon": "chart",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T14:30:00Z"
}
Successful response
The response is of type object
.
curl --request POST \
--url https://api.lunary.ai/v1/views \
--header 'Content-Type: application/json' \
--data '{
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"icon": "chart",
"type": "llm"
}'
{
"id": "5678efgh",
"name": "New LLM View",
"data": [
"AND",
{
"id": "models",
"params": {
"models": [
"gpt-4"
]
}
}
],
"columns": [],
"icon": "chart",
"type": "llm",
"projectId": "project123",
"ownerId": "user456",
"updatedAt": "2023-04-01T14:30:00Z"
}