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"
}Path Parameters
Stringified UUIDv4. See RFC 4112
Pattern:
[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}Was this page helpful?