Knowledge bases
Knowledge bases
List knowledge bases
GET
The knowledge bases of the workspace in a region, newest first.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
limit?LimitMaximum number of items returned, at most 200
Range
1 <= value <= 200Default
50offset?OffsetNumber of items skipped before the first one returned
Range
0 <= valueDefault
0region*RegionsRegion whose knowledge bases are listed: besg (Europe) or usnv (United States)
Value in
"besg""usnv"search?|Only knowledge bases whose name contains this text
Default
nullfolder_id?|Only the knowledge bases of this folder
Default
nullOK
application/json- response
data*array<>has_more*Has MoreWhether more items follow this page: request the next one with offset + limit
limit*Limitoffset*Offsetcurl -X GET 'https://api.stacksync.com/v1/workspaces/0/knowledge-bases?region=besg'{ "data": [ { "knowledge_base_id": "<knowledge_base_id>", "name": "<name>", "resource_id": "<resource_id>", "region": "<region>", "is_shared_with_workspace": false, "folder_id": "<folder_id>", "created_time": "2027-01-15T09:00:00Z", "last_modified_time": "2027-01-15T09:00:00Z" } ], "has_more": false, "limit": 0, "offset": 0}