> ## Documentation Index
> Fetch the complete documentation index at: https://braintrust.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a blank monitoring view via API

export const plans_0 = "Any"

export const deployments_0 = "Any"

export const data_plane_version_0 = undefined

export const use_case_0 = "Use case - Creating a new monitoring view with no pre-populated charts"

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

## Summary

**Goal:** Create a blank monitoring view with no pre-populated charts using the Views API.

**Features:** POST `/v1/view` endpoint, Monitor page.

## Configuration steps

### Create a blank view via API

POST to `/v1/view` with an empty `custom_charts` layout. Replace placeholder values with your actual IDs and desired view name.

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
curl --request POST \
  --url https://api.braintrust.dev/v1/view \
  --header 'Authorization: Bearer <your-api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "object_type": "org_project",
    "object_id": "<your-org-id>",
    "name": "<view-name>",
    "view_type": "monitor",
    "options": {
      "viewType": "monitor",
      "options": {
        "projectId": "<your-project-id>",
        "type": "project"
      }
    },
    "view_data": {
      "custom_charts": {
        "layout": {
          "type": "linear",
          "order": []
        },
        "charts": {},
        "version": "0.0.0"
      }
    }
  }'
```

The `view_data.custom_charts.charts` object must be empty (`{}`) and `layout.order` must be an empty array (`[]`) to produce a view with no charts.
