Skip to main content
GET
/
api
/
core
/
knowledge_sources
Get knowledge sources that the user has update permissions for, excluding web search sources.
curl --request GET \
  --url https://api.example.com/api/core/knowledge_sources \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "file_source_type": "agent-builder",
    "permissions_type": "personal",
    "retrieval_k": 100
  }
]

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Query Parameters

use_case_id
string | null

Optional use case ID to include directly linked knowledge sources

Response

Successful Response

id
string
required
file_source_type
enum<string>
required

Represents the type of file sources that are within the knowledge source.

Available options:
agent-builder,
cloud-bucket,
external-web-search,
disa-agent,
one-losp-agent,
sap-btp-agent,
direct-url
permissions_type
enum<string>
required

Enumeration for the different permissions types associated with knowledge sources

Available options:
personal,
managed
retrieval_k
integer
default:100
Required range: x <= 100