cURL
curl --request POST \ --url https://x8ki-letl-twmt.n7.xano.io/api:meta/workspace/{workspace_id}/table/{table_id}/index/vector \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "fields": [ { "name": "name", "op": "vector_ip_ops" } ] } '
{ "id": "<string>" }
Options include vector_ip_ops (Inner Product), vector_cosine_ops (Cosine), vector_l1_ops (L1 Distance), vector_l2_ops (L2 Distance)
vector_ip_ops
vector_cosine_ops
vector_l1_ops
vector_l2_ops
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Success!
Was this page helpful?