Force-enqueue a single source id into the embedding refresh lane

View as Markdown
Queues one source id for embedding refresh.

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

Query parameters

contentSourceTypeenumOptional
Required unified content partition to act on, for example entity, person, or newsArticle.
sourceIdstringRequired
Unified content embedding source id to enqueue for refresh
forceSimilaritybooleanOptionalDefaults to true
Also refreshes the similarity index when true

Response

OK
enqueuedinteger
Number of source ids accepted into the refresh lane
kindstring

Refresh kind: fresh, stale-similarity, stale-embedding, owner-reconcile

Errors

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