v1
Sync
Get Sync Tiers
Return initial Tier 0 (goals/OKRs/use-cases --> tier 0 memories) and Tier 1 (hot memories) for the requesting user/workspace.
This is a minimal initial implementation to enable SDK integration. It uses simple heuristics and will be enhanced with analytics-driven selection.
post/v1/sync/tiers
Request body
Example request
{
"embed_limit": 200,
"embed_model": "sbert",
"external_user_id": "external_user_abc",
"include_embeddings": false,
"max_tier0": 300,
"max_tier1": 1000,
"user_id": "internal_user_123",
"workspace_id": "workspace_123"
}Response
Tier assignments returned
Example response
{
"code": 200,
"has_more": false,
"status": "success",
"tier0": [
{
"content": "Improve API performance",
"id": "goal_123",
"metadata": {
"class": "goal",
"sourceType": "papr"
},
"topics": [
"performance",
"api"
],
"type": "goal"
}
],
"tier1": [
{
"content": "Customer complained about slow API response times",
"id": "memory_456",
"metadata": {
"sourceType": "papr"
},
"topics": [
"customer",
"api",
"performance"
],
"type": "text"
}
],
"transitions": []
}