Find nearest embedding neighbors by source id

View as Markdown
Returns nearest embedding neighbors for one source id.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

OR
X-API-Keystring

Admin API key for system-to-system write operations

OR
X-Client-Secretstring

Client secret for read-only service-to-service access (no writes)

Query parameters

contentSourceTypeenumOptional
Required unified content partition to act on, for example entity, person, or newsArticle.
sourceIdstringRequired
Unified content embedding source id of the query row
targetTypeenumRequired

Content partition to search against for nearest-neighbor matches

limitintegerOptionalDefaults to 10

Maximum nearest neighbors to return; values above 100 are clamped

Response

OK

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error