Skip to main content
GET
This endpoint is for the VIP plan only. Other plans get a 403. See Plan access.
List the knowledge items in a workspace, newest first. Each item shows the agents that use it. The text of a text item is not in the list. Get the item to read it.
workspaceId is required for account-scoped API keys and taken from the key for workspace-scoped keys. See Workspace ID and Request Scope.

Query Parameters

string
The workspace. Required for an account-scoped key.
string
Only items of this type: website, text or file.
number
default:"50"
Items per page, from 1 to 100.
number
default:"0"
Items to skip, up to 100,000.

Response

array
The items on this page. Each has id, workspaceId, name, type, websiteUrl, fileUrl, fileName, agents, createdAt and updatedAt.
array
The agents that use the item. Each has id, name and type (voice, chat or web).
number
How many items match, across all pages.
boolean
true when there is another page.