Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Create insights view

POST/v1/private/insights-viewsCreate insights view

Create a new insights view in a workspace

Request body

application/json
objectDashboard_Write
configobjectrequired
descriptionstring

maxLength 1000 · minLength 0

namestringrequired

maxLength 120 · minLength 1

project_idstring · uuid

Project ID. Takes precedence over project_name when both are provided.

project_namestring

For project scope, specify either project_id or project_name. If project_name is provided and the project does not exist, it will be created. Ignored when project_id is provided. If neither is provided, the dashboard is created at workspace level.

pattern (?s)^\s*(\S.*\S|\S)\s*$

typestring

one of "multi_project", "experiments"

Example request
{
  "config": {},
  "description": "string",
  "name": "string",
  "project_id": "00000000-0000-0000-0000-000000000000",
  "project_name": "string",
  "type": "experiments"
}

Responses

201Createdapplication/json

Headers

Location
objectDashboard_Public
configobjectrequired
created_atstring · date-time
created_bystring
descriptionstring

maxLength 1000 · minLength 0

idstring · uuid
last_updated_atstring · date-time
last_updated_bystring
namestringrequired

maxLength 120 · minLength 1

project_idstring · uuid

Project ID. Takes precedence over project_name when both are provided.

scopestring

one of "workspace", "insights"

slugstring
typestring

one of "multi_project", "experiments"

workspace_idstring
Example response
{
  "config": {},
  "created_at": "2026-06-09T00:00:00Z",
  "created_by": "string",
  "description": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "last_updated_at": "2026-06-09T00:00:00Z",
  "last_updated_by": "string",
  "name": "string",
  "project_id": "00000000-0000-0000-0000-000000000000",
  "scope": "insights",
  "slug": "string",
  "type": "experiments",
  "workspace_id": "string"
}
Documentation menu