Skip to content
Navigation

List the entities extracted from one file, within a space

Returns { entities } — every entity the given :fileId contributes to the space graph, with its id, type, name, and the file-local mentions (each with page + bbox for documents or startSeconds/endSeconds/speaker for audio, null where inapplicable). Entities are limited to those seen in this document. Requires space:read on :spaceId; missing access surfaces as a 404.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • fileId
    string
    required

Returns

200

The file's entities with their in-file grounded mentions.

JSON
  • entities
    array of
    object
    required
    • id
      string
      required
    • type
      string
      required
    • name
      string
      required
    • mentions
      array of
      object
      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