Error
A valid request URL is required to generate request examples{
"results": {
"invalidatedAt": "2023-11-07T05:31:56Z",
"projectUuid": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Projects
Invalidate results cache
Invalidate every cached query result in the project. The next run of each chart, dashboard tile or API query executes against the warehouse and repopulates the cache. Query history and existing result files are kept. Requires project admin access.
Call this from a data pipeline once a dbt run or load finishes, e.g.
curl -X POST -H "Authorization: ApiKey $LIGHTDASH_API_KEY" "$LIGHTDASH_URL/api/v1/projects/$PROJECT_UUID/results-cache/invalidate"
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
results-cache
/
invalidate
Error
A valid request URL is required to generate request examples{
"results": {
"invalidatedAt": "2023-11-07T05:31:56Z",
"projectUuid": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Was this page helpful?