Re-learn the corpus, even at unchanged versions
const url = 'https://shareout.site/v1/workspaces/example/knowledge/reindex';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"artifactIds":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/workspaces/example/knowledge/reindex \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "artifactIds": [ "example" ] }'Owner/admin of the workspace, or an instance admin. Re-chunks every live, non-held page and File (or only artifactIds) with the current chunker, through the normal ingest path (metered the same way). Once per workspace per 10 minutes; at most 300 sources per call (remaining says how many are left).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID or slug.
Request Body
Section titled “Request Body”object
Examplegenerated
{ "artifactIds": [ "example" ]}Responses
Section titled “Responses”Queued
object
Requested ids that are not live, eligible sources of this workspace
Examplegenerated
{ "queued": 1, "remaining": 1, "skipped": [ "example" ]}Bad body (VALIDATION_ERROR)
Access denied
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}Knowledge is off (KNOWLEDGE_DISABLED)
Rate limit reached (RATE_LIMIT_EXCEEDED on publish / account creation / AI routes, RATE_LIMITED on the data plane). Wait for Retry-After / reset.
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}