Contexts

Semantically-close context candidates (pgvector cosine + tag Jaccard overlap)

Degrades gracefully to tag-overlap-only ranking when the focal context has no embedding; returns an empty list when it has neither embedding nor tags.

get/api/contexts/{id}/related

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/contexts/{id}/related
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

idinteger required

Query parameters

limitinteger
minScorenumber

Response

Ranked candidates (empty array when there is no signal to rank on).

idinteger
namestring
typestring
descriptionstring
lifecyclestring
scorenumber
vector_scorenumber nullable
tag_overlapnumber
shared_tagsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.