See Stacksync in action with a solution architect. Book a demo ↗
Knowledge bases

Knowledge bases

Get a knowledge base

GET
/v1/workspaces/{workspace_id}/knowledge-bases/{knowledge_base_id}

The knowledge base and its settings.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

knowledge_base_id*string

The knowledge base.

Formatuuid

Query Parameters

region*Regions

Region of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them

Value in"besg""usnv"

Response Body

OK

application/json
  1. response

A knowledge base, which genies answer from

knowledge_base_id*Knowledge Base Id
name*Name
resource_id*Resource Id
region*Region
is_shared_with_workspace*Is Shared With Workspace
folder_id*string|null
created_time*Created Time
Formatdate-time
last_modified_time*Last Modified Time
Formatdate-time
Get a knowledge base
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/knowledge-bases/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'
{  "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"}