> ## 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 apivizplan

> POST /viz/plan — return the execution plan for a spec.

Same authentication, visibility, readiness, and no-leak rules as
POST /viz/safe-viz-spec/validate/ and POST /viz/cost/estimate/.
On failure: the common ``{is_valid: false, errors: [{path,
error}]}`` envelope.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/viz/plan/
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/plan/:
    post:
      tags:
        - api
      description: |-
        POST /viz/plan — return the execution plan for a spec.

        Same authentication, visibility, readiness, and no-leak rules as
        POST /viz/safe-viz-spec/validate/ and POST /viz/cost/estimate/.
        On failure: the common ``{is_valid: false, errors: [{path,
        error}]}`` envelope.
      operationId: api_viz_plan_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: {}

````