Refresh access token using refresh token.
Supports two token sources:
- Cookie:
sm_refresh_token(browser flows) - Request body:
refresh_tokenfield (programmatic SDK clients)
Returns new access and refresh tokens.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/auth/refresh" \ -H "Content-Type: application/json" \ -d '{}'{
"access_token": "string",
"refresh_token": "string",
"token_type": "bearer",
"expires_in": 3600
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Reflect On Memories
Reflect on memory patterns and key concepts. Analyzes memory content to identify key concepts, top entities, and dominant topics. Results are cached for 5 minutes to reduce compute load. Returns: - key_concepts: Frequently occurring terms with counts - top_entities: Named entities extracted from memories - dominant_topics: Main topic categories - cached: Whether this result came from cache - cache_expires_in: Seconds until cache expires
Reinforce Decision
Record supporting evidence for a decision.