Describe a virtual view's columns.
POST/api/v1/virtual-views/{virtual_view_id}/describeanalytics:read
For numeric and date columns: the minimum and maximum. For the others: up to 1,000 distinct values.
| Scope | analytics:read |
| Asynchronous | No |
| MCP tool | describe_virtual_view |
| Portal permissions | view_virtual_view_statistics, execute_virtual_views, view_virtual_view_results |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
virtual_view_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | VirtualViewDescribeInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json VirtualViewDescription |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
VirtualViewColumnStatistics
| Field | Type | Required | Description |
|---|---|---|---|
distinct_count | integer | Required | ≥ -2147483648; ≤ 2147483647 |
distinct_values | array of string | Required | |
max | string or null | Required | |
min | string or null | Required | |
name | string | Required | |
type | string | Required | datetime, numeric or categorical. |
VirtualViewDescribeInput
| Field | Type | Required | Description |
|---|---|---|---|
columns | array of string | Optional | The columns to describe; a column the view does not have is left out. |
context | any | Optional | Values for the inputs the view asks for, keyed by name, as a JSON object. |
VirtualViewDescription
| Field | Type | Required | Description |
|---|---|---|---|
columns | array of VirtualViewColumnStatistics | Required |