Import a view

This endpoint allows you to import an existing view into your organization. It's intended for one-time migrations rather than ongoing view management.
Unlike the standard API, this endpoint supports importing views with full editability, allowing you to modify views that were previously created elsewhere.
Note:
This endpoint is not recommended for Infrastructure-as-Code (IaC) workflows. Using it in IaC scenarios can cause configuration drift and inconsistencies between your source configuration and the imported view state.
Importing a view without an id will create a new view and return the created asset with a generated id.
Importing a view with an existing id (metadata>dash0Extensions>id) will override the corresponding view definition. In case there is no view with the given id a new view will be created.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
^[a-zA-Z0-9_-]{3,26}$

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Body Params
string
enum
required
Allowed:
metadata
object
required
spec
object
required
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json