Create insights view

Create a new insights view in a workspace

Request

This endpoint expects an object.
namestringRequired1-120 characters
configobjectRequired
project_idstringOptionalformat: "uuid"

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

project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

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.

typeenumOptional
Allowed values:
descriptionstringOptional0-1000 characters

Response headers

Locationstring

Response

Created
namestring1-120 characters
configobject
idstringRead-onlyformat: "uuid"
workspace_idstringRead-only
project_idstringformat: "uuid"

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

slugstringRead-only
typeenum
Allowed values:
scopeenumRead-only
Allowed values:
descriptionstring0-1000 characters
created_bystringRead-only
last_updated_bystringRead-only
created_atdatetimeRead-only
last_updated_atdatetimeRead-only