Skip to main content

Nearest Neighbors By Ids

POST 

/v1/project/data/get/nearest_neighbors/by_id

Nearest Neighbors By Ids

Request

Body

required

    atlas_index_id Atlas Index Id (string)required

    Unique atlas index id

    datum_ids

    object

    The datum ids to query.

    anyOf

  • Array [

  • string

  • ]

  • atom_ids

    object

    The atom ids to query.

    anyOf

  • Array [

  • string

  • ]

  • k K (integer)

    Default value: 4

    The number of neighbors to return

Responses

Successful Response

Schema

    neighbors array[]required

    nested list of nearest neighbors

    distances array[]required

    distances of the neighbors to queries

Loading...