# Check an analytics query being written **POST** `/v1/query/analytics-draft` **Operation ID**: `checkAnalyticsDraft` **Summary**: Check an analytics query being written Checks request constraints and server limits for an analytics draft. When those pass, translates the whole query once and reports its first SQL failure. Diagnostics name the field when it is known, or the query as a whole. Draft feedback is advisory; submission still validates against the actual table and engine. The query is deliberately not bean-validated on the way in, so incomplete drafts receive diagnostics rather than a rejected request. ## Tags - Query Parsing ## Request Body **Content-Type**: `application/json` **Schema**: `AnalyticsDraftRequest` ## Responses ### 200 Diagnostics for the analytics draft. - **Content-Type**: `application/json` / `AnalyticsDraftResponse` ### 400 The query is missing. ### 401 Unauthorized ### 403 The caller cannot view the requested dataset.