Knowledge
Get knowledge folders
Return the current knowledge-tree snapshot, optionally scoped to one agent.
GET
Use this route to inspect the current knowledge folders snapshot in the workspace.
Headers
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs read scope.Query parameters
Optional agent ID. When supplied, Fini returns the tree scoped to that agent’s attached folders.
Response
Returns a knowledge folders snapshot object. See Organize knowledge for the shared snapshot fields.The workspace-API-key response includes
id, createdAt, updatedAt, and snapshotObjV2.Errors
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
read scope.The snapshot is empty
The snapshot is empty
This usually means the workspace has no folders yet, or no folders attached to the
botId you requested.
