cag
cag
Pre-load CAG cache
Changed onExplicitly warm up the CAG cache for a POT.
This loads:
- All Constitution facts (Layer 1)
- Facts with POT Score >= threshold (Layer 2)
Useful for:
- Pre-loading cache before expected queries
- Ensuring cache is ready for low-latency responses
- Verifying cache initialization works correctly
post/pots/{pot_id}/cag/warm
Request
- Base URLhttps://api.scipot.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
pot_idstring required
POT identifier (UUID or slug)
Response
Cache warmed (or already warm)
Example response
{
"cache_stats": {
"certainty_size": 47,
"constitution_size": 5,
"initialized_at": "2026-01-20T10:30:00Z",
"total_size": 52
},
"status": "warmed"
}Changes
- info
endpoint deprecated
- info
- info
added the non-success response with the status
- info