POST
/
embeddings
/
search
{
  "status": 200,
  "message": "Similarity search successfully performed.",
  "data": {
    "nearest_neighbors": {
      "21": {
        "metadata": {
          "foo3": "bar4"
        },
        "rank": 2
      },
      "45": {
        "metadata": {
          "foo7": "bar8"
        },
        "rank": 4
      },
      "54": {
        "metadata": {
          "foo": "bar"
        },
        "rank": 0
      },
      "63": {
        "metadata": {
          "foo5": "bar6",
          "hello": "world"
        },
        "rank": 3
      },
      "98": {
        "metadata": {
          "foo1": "bar2",
          "bar": "baz"
        },
        "rank": 1
      }
    }
  }
}

Authorizations

X-Eigen-API-Key
string
header
required

Body

application/json

Response

The k-nearest embeddings returned in an array along with their rank (0 is nearest).

The response is of type object.