Get web knowledge source links
Changed onThis endpoint returns a paginated list of links that were indexed from a web knowledge source. This is useful for understanding what content the AI copilot has access to from web sources. Corresponds to liveblocks.getWebKnowledgeSourceLinks.
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/ai/copilots/{copilotId}/knowledge/web/{knowledgeSourceId}/links
- Auth: none declared
Path parameters
ID of the AI copilot
ID of the knowledge source
Query parameters
A limit on the number of links to be returned. The limit can range between 1 and 100, and defaults to 20.
A cursor used for pagination. Get the value from the nextCursor response of the previous page.
Response
Success. Returns the list of web knowledge source links.
Example response
{
"nextCursor": null,
"data": [
{
"id": "ksl_abc123",
"url": "https://docs.example.com/getting-started",
"status": "ready",
"createdAt": "2024-06-01T12:00:00.000Z",
"lastIndexedAt": "2024-06-01T12:00:00.000Z"
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
response property
nextCursorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
the response property
became required for the status - info
the response property
became required for the status
- breaking
- info
endpoint added
- info