Views

Get a View

Retrieve a single view by its ID.

GET
/v2/views/{view_id}
x-api-key<token>

Authenticate using API Key in request header

In: header

Path Parameters

view_id*string

Unique identifier of the view

Response Body

application/json

curl -X GET "https://api.bem.ai/v2/views/string"
{
  "viewID": "string",
  "name": "string",
  "description": "string",
  "displayType": "table",
  "currentVersionNum": 0,
  "columns": [
    {
      "name": "string",
      "valueSchemaPath": [
        "string"
      ],
      "displayOrderIndex": 0
    }
  ],
  "filters": [
    {
      "columnName": "string",
      "filterType": "equals_string",
      "string": "string",
      "number": 0.1
    }
  ],
  "aggregations": [
    {
      "name": "string",
      "function": "count",
      "aggregateColumnName": "string",
      "groupByColumnName": "string"
    }
  ],
  "functions": [
    {
      "id": "string",
      "name": "string"
    }
  ]
}