Skip to content
Navigation

Get one entity and its grounded mentions in a space

Returns { entity, mentions } for a single entity in a space's graph. entity (or null if the id is unknown in this space) carries id, type, name, key. mentions are the grounded occurrences: each has fileId, text, and best-effort grounding — page + bbox ({x,y,width,height}) for documents, or startSeconds/endSeconds/speaker for audio transcripts (fields are null when not applicable). Requires space:read on :spaceId; missing access surfaces as a 404.

GET
https://api.cloudraker.com/spaces/{spaceId}/ontology/entities/{entityId}
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • entityId
    string
    required

Returns

200

The entity (or null) and its grounded mentions.

JSON
  • entity
    required

    Null when the id is unknown in this graph.

    Any of the following:

    • object
      • id
        string
        required
      • type
        string
        required
      • name
        string
        required
      • key
        string | null
        required
    • null
  • mentions
    array of
    object
    required
    • fileId
      string
      required
    • page
      required

      0-based page, for documents.

      Any of the following:

      • integer
      • null
    • bbox
      required

      Any of the following:

      • OntologyBBox
        • x
          number
          required
        • y
          number
          required
        • width
          number
          required
        • height
          number
          required
      • null
    • text
      string
      required
    • startSeconds
      number | null
      required

      For audio transcripts.

    • endSeconds
      number | null
      required
    • speaker
      string | null
      required

Type to search…

↑↓ navigate↵ selectEsc close