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

# Post apivizsafe viz specvalidate

> POST /viz/safe-viz-spec/validate — full validation pipeline.

Runs structural and semantic checks against the referenced
dataset version (which must be visible to the caller).
Returns 200 with `{is_valid: true, errors: []}` on success or
400 with `{is_valid: false, errors: [{path, error}]}` on failure.

Hidden-field references receive the same generic "field not found"
error as missing fields — never reveal that a field exists but is
policy-blocked (the no-leak rule).



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/viz/safe-viz-spec/validate/
openapi: 3.0.3
info:
  title: Console API
  version: 1.0.0
  description: Central control plane API for the Dataerai platform.
servers:
  - url: https://{server}
    description: Your Dataerai deployment (the API is served under /api)
    variables:
      server:
        default: your-deployment.dataerai.com
        description: Host of your Dataerai deployment
security: []
paths:
  /api/viz/safe-viz-spec/validate/:
    post:
      tags:
        - api
      description: |-
        POST /viz/safe-viz-spec/validate — full validation pipeline.

        Runs structural and semantic checks against the referenced
        dataset version (which must be visible to the caller).
        Returns 200 with `{is_valid: true, errors: []}` on success or
        400 with `{is_valid: false, errors: [{path, error}]}` on failure.

        Hidden-field references receive the same generic "field not found"
        error as missing fields — never reveal that a field exists but is
        policy-blocked (the no-leak rule).
      operationId: api_viz_safe_viz_spec_validate_create
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
          application/x-www-form-urlencoded:
            schema:
              type: object
              additionalProperties: {}
          multipart/form-data:
            schema:
              type: object
              additionalProperties: {}
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: ''
        '400':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: ''
      security:
        - cookieAuthCsrfExempt: []
components: {}

````