Knowledge
Refresh sources
Re-fetch existing source IDs so Fini can detect upstream changes and update linked knowledge.
POST
Use this route when the upstream content behind existing sources has changed and you want Fini to re-fetch those sources.
Refreshing sources is the first step in the knowledge-refresh workflow. After the refresh completes, use List sources with
changed=true, then call Bulk generate knowledge on those changed source IDs.Headers
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs write scope.application/jsonBody parameters
Existing source IDs to requeue for refresh.
Response
The response is a top-level array of source IDs accepted for refresh.Source IDs that were queued for refresh.
Raw-file sources cannot be refreshed through this route. Delete and re-upload them instead.
Errors
400 Bad Request
400 Bad Request
The request body is malformed,
documentIds is missing or empty, one of the source IDs does not exist, or you tried to refresh a raw-file source.401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
write scope, or the source IDs belong to a different workspace.500 Internal Server Error
500 Internal Server Error
Fini failed while queueing or processing the refresh. Retry once, then inspect the affected IDs in List sources.

