Stay organized with collections
Save and categorize content based on your preferences.
Version 4.0.25.14 (latest)
Validate Project
Performs lint validation of all lookml files in the project.
Returns a list of errors found, if any.
Validating the content of all the files in a project can be computationally intensive
for large projects. For best performance, call validate_project(project_id) only
when you really want to recompute project validation. To quickly display the results of
the most recent project validation (without recomputing), use project_validation_results(project_id)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Validate Project\n\nVersion 4.0.25.14 (latest)\n\n### Validate Project\n\nPerforms lint validation of all lookml files in the project.\nReturns a list of errors found, if any.\n\nValidating the content of all the files in a project can be computationally intensive\nfor large projects. For best performance, call `validate_project(project_id)` only\nwhen you really want to recompute project validation. To quickly display the results of\nthe most recent project validation (without recomputing), use `project_validation_results(project_id)`\n\nRequest\n-------\n\nPOST /projects/{project_id}/validate \nDatatype \nDescription \nRequest \nHTTP Request \npath \nHTTP Path \nExpand HTTP Path definition... \nproject_id \nstring \nProject Id \nquery \nHTTP Query \nExpand HTTP Query definition... \nfields \nstring \nRequested fields\n\nResponse\n--------\n\n### 200: Project validation results\n\nDatatype \nDescription \n(object) \n[ProjectValidation](/looker/docs/reference/looker-api/latest/types/ProjectValidation) \nerrors \n[ProjectError](/looker/docs/reference/looker-api/latest/types/ProjectError)\\[\\] \nExpand ProjectError definition... \ncode \n*lock* \nstring \nA stable token that uniquely identifies this class of error, ignoring parameter values. Error message text may vary due to parameters or localization, but error codes do not. For example, a \"File not found\" error will have the same error code regardless of the filename in question or the user's display language \nseverity \n*lock* \nstring \nSeverity: fatal, error, warning, info, success \nkind \n*lock* \nstring \nError classification: syntax, deprecation, model_configuration, etc \nmessage \n*lock* \nstring \nError message which may contain information such as dashboard or model names that may be considered sensitive in some use cases. Avoid storing or sending this message outside of Looker \nfield_name \n*lock* \nstring \nThe field associated with this error \nfile_path \n*lock* \nstring \nName of the file containing this error \nline_number \n*lock* \ninteger \nLine number in the file of this error \nmodel_id \n*lock* \nstring \nThe model associated with this error \nexplore \n*lock* \nstring \nThe explore associated with this error \nhelp_url \n*lock* \nstring \nA link to Looker documentation about this error \nparams \n*lock* \nobject \nError parameters \nsanitized_message \n*lock* \nstring \nA version of the error message that does not contain potentially sensitive information. Suitable for situations in which messages are stored or sent to consumers outside of Looker, such as external logs. Sanitized messages will display \"(?)\" where sensitive information would appear in the corresponding non-sanitized message \nproject_digest \n*lock* \nstring \nA hash value computed from the project's current state \nmodels_not_validated \n[ModelsNotValidated](/looker/docs/reference/looker-api/latest/types/ModelsNotValidated)\\[\\] \nExpand ModelsNotValidated definition... \nname \n*lock* \nstring \nModel name \nproject_file_id \n*lock* \nstring \nProject file \ncomputation_time \n*lock* \nnumber \nDuration of project validation in seconds\n\n### 400: Bad Request\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 404: Not Found\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 422: Validation Error\n\nDatatype \nDescription \n(object) \n[ValidationError](/looker/docs/reference/looker-api/latest/types/ValidationError) \nmessage \n*lock* \nstring \nError details \nerrors \n[ValidationErrorDetail](/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\\[\\] \nExpand ValidationErrorDetail definition... \nfield \n*lock* \nstring \nField with error \ncode \n*lock* \nstring \nError code \nmessage \n*lock* \nstring \nError info message \ndocumentation_url \n*lock* \nstring \nDocumentation link \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 429: Too Many Requests\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\nExamples\n--------\n\n### Ruby\n\n\n### TypeScript"]]