For the complete documentation index, see llms.txt. This page is also available as Markdown.

Suggestions

Search business concept suggestions (KNN)

post

Returns business concept versions ranked by vector similarity to the supplied source resource.

Requires the suggestions index to be enabled for the tenant. No additional permission is checked at this endpoint; the results are filtered by the caller's concept visibility rules as part of the KNN search.

Request body:

  • resource (required) – Source resource to find similar concepts for.

  • k, similarity, num_candidates (optional) – kNN tuning parameters.

If the suggestions index is disabled, the endpoint returns 403 Forbidden, regardless of the caller's permissions.

Body

KNN vector search for business concept suggestions. Requires a source resource (type and id) from which the service generates an embedding. Optional parameters override similarity search behavior.

collection_namestringOptional

Embedding collection to search. When omitted, the service uses its configured default collection.

kinteger · min: 1 · max: 100Optional

Number of nearest neighbors to return (1-100)

Default: 10
num_candidatesinteger · min: 1Optional

Number of candidates for ANN search

Default: 100
similaritynumber · max: 1Optional

Cosine similarity threshold (0.0-1.0)

Default: 0.6
Responses
200

Suggestions list

application/json
post/api/business_concept_versions/suggestions
POST /api/business_concept_versions/suggestions HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "k": 10,
  "num_candidates": 100,
  "resource": {
    "id": 123,
    "type": "structures"
  },
  "similarity": 0.6
}
{
  "data": [
    {
      "business_concept_id": 55,
      "id": 101,
      "name": "Customer Segmentation",
      "similarity": 0.92,
      "updated_at": "2026-05-22T10:00:00Z"
    },
    {
      "business_concept_id": 56,
      "id": 102,
      "name": "User Clustering",
      "score": 0.88,
      "updated_at": "2026-05-22T09:50:00Z"
    }
  ]
}

Last updated