Skip to content

Search workspace Knowledge from a published page

GET
/v1/data/{artifactId}/knowledge/search
curl --request GET \
--url 'https://shareout.site/v1/data/example/knowledge/search?q=example&full=1' \
--header 'Authorization: Bearer <token>'

What sdk.knowledge.search(q, { limit, full }) calls from inside a page. Only a signed-in internal member of the page’s own workspace gets results, and each passage is re-checked against what that person may see. Same result shape as the workspace search.

artifactId
required
string
q
required
string
limit
integer
full
string
Allowed values: 1

1 returns each passage whole instead of a ~700-character snippet.

{ query, ... } cited passages

q missing, or not a GET.

Not signed in.

Not an internal member of the page’s workspace, or the page is not in a workspace.

Knowledge is not enabled for this workspace.