Skip to content
Navigation

Semantic entity search within a space's graph

Semantic search over the entities in a space. JSON body: text (1-2000 chars, required — the natural-language query), optional topK (1-100) to cap results, optional types (non-empty array of organization | person | location | identifier | date | amount | other) to restrict to entity kinds. Returns { matches }, each { id, type, name, score } ranked by similarity (higher score = closer). Requires space:read on :spaceId; missing access surfaces as a 404.

POST
https://api.cloudraker.com/spaces/{spaceId}/ontology/search
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Request body JSON required

  • text
    string
    required
    maxLength: 2000 · minLength: 1
  • topK
    optional
    integer
    maximum: 100 · minimum: 1
  • types
    optional
    array of
    organization
    or
    person
    or
    location
    or
    identifier
    or
    date
    or
    amount
    +1 more

Returns

200

Ranked entity matches.

JSON
  • matches
    array of
    object
    required
    • id
      string
      required
    • type
      string
      required
    • name
      string
      required
    • score
      number
      required

      Similarity in [-1, 1]; higher is closer.

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

Type to search…

↑↓ navigate↵ selectEsc close