knowledge
Preload Knowledge Source
Trigger asynchronous preload of a knowledge source.
This endpoint records a domain event via the neoqueue outbox pattern. The actual loading happens asynchronously via the outbox dispatcher.
To track progress, poll GET /knowledge/{id} and check the loading_status field:
- unloaded: Not yet loaded
- loading: Currently being loaded
- loaded: Successfully loaded
- failed: Loading failed
post/api/v1/knowledge/{knowledge_source_id}/preload
Request
- Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
- URL: https://api.gnosari.com/api/v1/knowledge/{knowledge_source_id}/preload
- Auth: one of:
- HTTP bearer
- API key in header X-AUTH-TOKEN
Path parameters
knowledge_source_idinteger required
Query parameters
forcestring
Force reload even if already loaded
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.