Stay organized with collections
Save and categorize content based on your preferences.
Version 4.0.25.14 (latest)
Get Cached Project Validation Results
Returns the cached results of a previous project validation calculation, if any.
Returns http status 204 No Content if no validation results exist.
Validating the content of all the files in a project can be computationally intensive
for large projects. Use this API to simply fetch the results of the most recent
project validation rather than revalidating the entire project from scratch.
A value of "stale": true in the response indicates that the project has changed since
the cached validation results were computed. The cached validation results may no longer
reflect the current state of the project.
[[["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,["# Cached Project Validation Results\n\nVersion 4.0.25.14 (latest)\n\n### Get Cached Project Validation Results\n\nReturns the cached results of a previous project validation calculation, if any.\nReturns http status 204 No Content if no validation results exist.\n\nValidating the content of all the files in a project can be computationally intensive\nfor large projects. Use this API to simply fetch the results of the most recent\nproject validation rather than revalidating the entire project from scratch.\n\nA value of `\"stale\": true` in the response indicates that the project has changed since\nthe cached validation results were computed. The cached validation results may no longer\nreflect the current state of the project.\n\nRequest\n-------\n\nGET /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[ProjectValidationCache](/looker/docs/reference/looker-api/latest/types/ProjectValidationCache) \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 \nstale \n*lock* \nboolean \nIf true, the cached project validation results are no longer accurate because the project has changed since the cached results were calculated\n\n### 204: Deleted\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### 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"]]