Skip to content

Embed what the multilingual index is missing

POST
/v1/workspaces/{workspaceId}/knowledge/vectors/backfill
curl --request POST \
--url https://shareout.site/v1/workspaces/example/knowledge/vectors/backfill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reset": true }'

Owner/admin of the workspace, or an instance admin. Re-embeds the workspace’s stored passages, notes and pages into KNOWLEDGE_VECTORS_V2 with the configured model — only what is missing — as one paced Workflow (a second call within 30 minutes joins it). Without Workflows it runs a bounded pass inline; call again until done. Metered as knowledge_embedding. reset forgets what was written first (after recreating the index).

workspaceId
required
string

Workspace ID or slug.

Media typeapplication/json
object
reset
boolean

Example generated

{
"reset": true
}

Ran inline (no Workflows) — { started false, inline true, done, embedded }

Started — { started true, instance }

Access denied

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}

The multilingual index is not configured (NOT_CONFIGURED)