Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules/
.env.local
.env.*.local
.env.test
.mcp.json

# IDE files
.vscode/
Expand Down
220 changes: 220 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3560,6 +3560,12 @@
"source_site": {
"type": "string"
},
"threshold": {
"description": "Optional normalized relevance threshold. Results below this semantic relevance floor are excluded before injection packaging.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"token_budget": {
"maximum": 50000,
"minimum": 100,
Expand Down Expand Up @@ -3696,12 +3702,32 @@
"description": "Memory metadata persisted on the row, including caller-supplied verbatim metadata (set via /v1/memories/ingest/quick with skip_extraction=true) and core-generated metadata (e.g. cmo_id, memberMemoryIds, headline). Mirrors the shape /v1/memories/list and /v1/memories/:id return.",
"type": "object"
},
"ranking_score": {
"description": "Composite ranking/debug score. It is not normalized and may be outside the [0,1] relevance range.",
"type": [
"number",
"null"
]
},
"relevance": {
"description": "Normalized relevance value used for threshold filtering; clamped to the [0,1] range.",
"type": [
"number",
"null"
]
},
"score": {
"type": [
"number",
"null"
]
},
"semantic_similarity": {
"type": [
"number",
"null"
]
},
"similarity": {
"type": [
"number",
Expand Down Expand Up @@ -3836,9 +3862,93 @@
},
"type": "array"
},
"filter_decisions": {
"items": {
"properties": {
"decision": {
"enum": [
"kept",
"filtered"
],
"type": "string"
},
"id": {
"type": "string"
},
"namespace": {
"type": [
"string",
"null"
]
},
"ranking_score": {
"description": "Composite ranking/debug score. It is not normalized and may be outside the [0,1] relevance range.",
"type": "number"
},
"reason": {
"type": "string"
},
"relevance": {
"description": "Normalized relevance value used for threshold filtering; clamped to the [0,1] range.",
"type": "number"
},
"semantic_similarity": {
"type": "number"
},
"source_kind": {
"enum": [
"integration",
"local"
],
"type": "string"
},
"source_site": {
"type": "string"
},
"threshold": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"source_site",
"source_kind",
"namespace",
"semantic_similarity",
"ranking_score",
"relevance",
"threshold",
"decision",
"reason"
],
"type": "object"
},
"type": "array"
},
"filtered_candidate_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"query_text": {
"type": "string"
},
"relevance_filter_reason": {
"type": "string"
},
"relevance_filter_source": {
"type": "string"
},
"relevance_threshold": {
"type": [
"number",
"null"
]
},
"skip_repair": {
"type": "boolean"
},
Expand Down Expand Up @@ -4091,6 +4201,12 @@
"source_site": {
"type": "string"
},
"threshold": {
"description": "Optional normalized relevance threshold. Results below this semantic relevance floor are excluded before injection packaging.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"token_budget": {
"maximum": 50000,
"minimum": 100,
Expand Down Expand Up @@ -4227,12 +4343,32 @@
"description": "Memory metadata persisted on the row, including caller-supplied verbatim metadata (set via /v1/memories/ingest/quick with skip_extraction=true) and core-generated metadata (e.g. cmo_id, memberMemoryIds, headline). Mirrors the shape /v1/memories/list and /v1/memories/:id return.",
"type": "object"
},
"ranking_score": {
"description": "Composite ranking/debug score. It is not normalized and may be outside the [0,1] relevance range.",
"type": [
"number",
"null"
]
},
"relevance": {
"description": "Normalized relevance value used for threshold filtering; clamped to the [0,1] range.",
"type": [
"number",
"null"
]
},
"score": {
"type": [
"number",
"null"
]
},
"semantic_similarity": {
"type": [
"number",
"null"
]
},
"similarity": {
"type": [
"number",
Expand Down Expand Up @@ -4367,9 +4503,93 @@
},
"type": "array"
},
"filter_decisions": {
"items": {
"properties": {
"decision": {
"enum": [
"kept",
"filtered"
],
"type": "string"
},
"id": {
"type": "string"
},
"namespace": {
"type": [
"string",
"null"
]
},
"ranking_score": {
"description": "Composite ranking/debug score. It is not normalized and may be outside the [0,1] relevance range.",
"type": "number"
},
"reason": {
"type": "string"
},
"relevance": {
"description": "Normalized relevance value used for threshold filtering; clamped to the [0,1] range.",
"type": "number"
},
"semantic_similarity": {
"type": "number"
},
"source_kind": {
"enum": [
"integration",
"local"
],
"type": "string"
},
"source_site": {
"type": "string"
},
"threshold": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"source_site",
"source_kind",
"namespace",
"semantic_similarity",
"ranking_score",
"relevance",
"threshold",
"decision",
"reason"
],
"type": "object"
},
"type": "array"
},
"filtered_candidate_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"query_text": {
"type": "string"
},
"relevance_filter_reason": {
"type": "string"
},
"relevance_filter_source": {
"type": "string"
},
"relevance_threshold": {
"type": [
"number",
"null"
]
},
"skip_repair": {
"type": "boolean"
},
Expand Down
Loading
Loading