ViewResponse
Data returned for View. Required fields are id, name, category, tables, schema, item.
Server-assigned unique identifier
Resource name
alias object
URL-safe short handle
- string
- null
Resource type tag
Allowed values: view, materialized.
Possible values: [view, materialized]
viewcollection_id object
Parent collection ID
- string
- null
folder_id object
Identifier of the containing folder.
- string
- null
tags object
Classification labels
- string[]
- null
description object
Resource description
- string
- null
Mandatory marking ids this resource requires; read-only — set via the marking guard endpoints, not Create/PATCH.
[]created_at object
Creation timestamp (Unix ms)
- integer
- null
updated_at object
Last update timestamp (Unix ms)
- integer
- null
owners object[]
Users and groups that own the resource.
"user.
Possible values: [user, group, public]
avatar_url object
- string
- null
avatar_config object
- object
- null
email object
- string<email>
- null
my_share_scope object
How the current caller received access to the resource.
- string
- null
Possible values: [owner, grant, admin]
tables object[]required
Backing resources. tables[0] is the primary FROM clause; non-primary entries are introduced by a matching ViewJoin.
SQL alias used in column references
Backing resource category
Possible values: [dataset, source]
Identifier of the dataset or source used by this view table.
joins object
Joins between tables (length = len(tables) - 1 when set)
- object[]
- null
alias of the ViewTable this join introduces
Allowed Join Kind values. Values: inner, left, right, full.
Possible values: [inner, left, right, full]
inneron object[]required
AND'd binary conditions
left objectrequired
Join condition operand. Exactly one of column / expression set.
column object
Backing column reference in 'alias.col' form
- string
- null
expression object
SQL fragment when the operand is a computed expression
- string
- null
right objectrequired
Join condition operand. Exactly one of column / expression set.
column object
Backing column reference in 'alias.col' form
- string
- null
expression object
SQL fragment when the operand is a computed expression
- string
- null
Allowed Join Operator values. Values: eq, ne, gt, gte, lt, lte.
Possible values: [eq, ne, gt, gte, lt, lte]
eqschema objectrequired
Output Arrow schema. field names define the projection — columns not present here are dropped from the view output.
Output Arrow schema. field names define the projection — columns not present here are dropped from the view output.
column_masks object
Derivation rule per output column (key = schema_ field name). Missing entries default to passthrough on the same-named primary backing column.
- object
- null
row_filters object
WHERE clause applied on the backing tables
- RowFilter
- null
Possible values: [and, or]
andconditions object[]
Nested conditions (leaf RowFilterCondition or group RowFilter)
- RowFilterCondition
- Option 2
conditionconditionColumn name to filter on
Allowed Row Filter Operator values. Values: eq, ne, gt, gte, lt, lte, in, not_in, and 4 more.
Possible values: [eq, ne, gt, gte, lt, lte, in, not_in, between, like, is_null, is_not_null]
value object
Filter value. Single value for scalar operators, list for 'in'/'not_in', 2-element list for 'between'. Omit for 'is_null'/'is_not_null'.
- Option 1
- null
group_by object
GROUP BY keys (subset of schema_ field names)
- string[]
- null
having object
HAVING clause (requires group_by)
- RowFilter
- null
Possible values: [and, or]
andconditions object[]
Nested conditions (leaf RowFilterCondition or group RowFilter)
- RowFilterCondition
- Option 2
conditionconditionColumn name to filter on
Allowed Row Filter Operator values. Values: eq, ne, gt, gte, lt, lte, in, not_in, and 4 more.
Possible values: [eq, ne, gt, gte, lt, lte, in, not_in, between, like, is_null, is_not_null]
value object
Filter value. Single value for scalar operators, list for 'in'/'not_in', 2-element list for 'between'. Omit for 'is_null'/'is_not_null'.
- Option 1
- null
{
"id": "string",
"name": "string",
"alias": "string",
"category": "string",
"type": "view",
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string",
"markings": [
"string"
],
"created_at": 0,
"updated_at": 0,
"owners": [
{
"id": "string",
"type": "user",
"display_name": "string",
"avatar_url": "string",
"avatar_config": {},
"email": "user@example.com"
}
],
"my_share_scope": "owner",
"tables": [
{
"alias": "string",
"type": "dataset",
"resource": "string"
}
],
"joins": [
{
"target": "string",
"kind": "inner",
"on": [
{
"left": {
"column": "string",
"expression": "string"
},
"right": {
"column": "string",
"expression": "string"
},
"operator": "eq"
}
]
}
],
"schema": {},
"column_masks": {},
"row_filters": {
"kind": "and",
"conditions": [
{
"kind": "condition",
"column": "string",
"operator": "eq"
},
null
]
},
"group_by": [
"string"
],
"having": {
"kind": "and",
"conditions": [
{
"kind": "condition",
"column": "string",
"operator": "eq"
},
null
]
}
}