v1
latestOpenAPI 3.1.02026-07-2331110.2 KBKnowledge Bases
Knowledge Base Resources
List Resources
List files in the knowledge base with optional cursor pagination.
get/v1/knowledge-bases/{knowledge_base_id}/resources
Path parameters
knowledge_base_idstring uuid required
Query parameters
cursorstring nullable
Optional identifier for the page that should be returned. If it is not provided, the first page will be returned.
Optional identifier for the page that should be returned. If it is not provided, the first page will be returned.
page_sizeinteger
Number of items to be returned in the page.
Number of items to be returned in the page.
direction'next' | 'prev'
Direction for cursor-based pagination.
Direction for pagination: 'next' to advance through pages (older items), 'prev' to go back (newer items)
Response
Successful Response
KnowledgeBaseResourcesResponse required