search
search
Everything a client reads to answer one question, in one request
Changed onSearch, each result's read and edges, the repeal listing, the counterparts of the results' clashes and repeals, their documents (no text), the curations of each clash side, the source types, the rules (in pot) and the POT's related open gaps.
The engine gathers; it does not judge. Each section is the body of its standalone route. A section whose reads fail is named in meta.partial; only search failing fails this.
post/pots/{pot_id}/ask-context
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)
Request body
Example request
{
"filters": {
"domain": "architecture"
},
"min_pot_score": 0.4,
"query": "How does POT Index propagate through edges?",
"top_k": 10
}Response
Successful Response
Example response
{
"pot": {
"constitution": {
"approved_by": "system",
"fact_count": 3,
"facts": [
{
"content": "SciPot builds memory infrastructure for AI agents",
"id": "const_001",
"level": "CONSTITUTION",
"pot_score": 1
}
],
"last_updated": "2026-01-06T10:30:45Z",
"version": "1.0"
},
"created_at": "2026-01-06T10:30:45.123456Z",
"description": "A POT about SciPot itself",
"id": "018d1e8c-7b29-7a3e-8c1d-5e9a1c2d3e4f",
"name": "SciPot Meta-POT",
"slug": "scipot-pot",
"updated_at": "2026-01-06T10:30:45.123456Z",
"workspace_id": "550e8400-e29b-41d4-a716-446655440000"
}
}Changes
- info
endpoint added
- info