curl -X POST \
-H "X-Admin-Secret: your_admin_secret" \
"https://api.gildea.ai/v1/admin/refresh"
{
"status": "ok",
"materialized_views": {
"views_refreshed": 5,
"views": [
"mv_entity_profile",
"mv_entity_co_occurrence",
"mv_theme_overview",
"mv_entity_weekly_counts",
"mv_corpus_weekly_counts"
]
},
"embeddings": {
"units_embedded": 42
}
}
Refresh materialized views and embed new text units
curl -X POST \
-H "X-Admin-Secret: your_admin_secret" \
"https://api.gildea.ai/v1/admin/refresh"
{
"status": "ok",
"materialized_views": {
"views_refreshed": 5,
"views": [
"mv_entity_profile",
"mv_entity_co_occurrence",
"mv_theme_overview",
"mv_entity_weekly_counts",
"mv_corpus_weekly_counts"
]
},
"embeddings": {
"units_embedded": 42
}
}
X-Admin-Secret header. This is not available to regular API key holders.
curl -X POST \
-H "X-Admin-Secret: your_admin_secret" \
"https://api.gildea.ai/v1/admin/refresh"
{
"status": "ok",
"materialized_views": {
"views_refreshed": 5,
"views": [
"mv_entity_profile",
"mv_entity_co_occurrence",
"mv_theme_overview",
"mv_entity_weekly_counts",
"mv_corpus_weekly_counts"
]
},
"embeddings": {
"units_embedded": 42
}
}