Skip to main content
GET
Use this route to inspect the current knowledge folders snapshot in the workspace.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs read scope.

Query parameters

string
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

The API key is missing, malformed, revoked, or invalid.
The API key does not include the read scope.
This usually means the workspace has no folders yet, or no folders attached to the botId you requested.