curl --request GET \
--url https://api.example.com/api/library/sources{
"page": 2,
"pages": 1,
"sources": [
{
"chunk_count": 1,
"id": "<string>",
"indexed_at": "2023-11-07T05:31:56Z",
"namespace": "<string>",
"title": "<string>",
"type": "youtube",
"channel": "<string>",
"description": "<string>",
"duration": 1,
"feedback_down": 0,
"feedback_up": 0,
"file_path": "<string>",
"has_meaningful_learnings": true,
"learnings": {
"code_snippets": [
{
"code": "<string>",
"description": "<string>",
"language": "<string>",
"verdict": {
"explanation": "<string>",
"status": "correct",
"corrected_code": "<string>",
"corrected_description": "<string>"
}
}
],
"concepts": [
"<string>"
],
"summary": "<string>",
"tools": [
"<string>"
]
},
"taxonomy_confidence": 0.5,
"taxonomy_labels": [
"<string>"
],
"taxonomy_path": "<string>",
"thumbnail_url": "<string>",
"upload_date": "<string>",
"url": "<string>",
"video_id": "<string>"
}
],
"total": 1,
"all_concepts": [
"<string>"
],
"all_taxonomy_labels": [
"<string>"
],
"all_tools": [
"<string>"
],
"metrics": {
"filtered_chunks": 0,
"filtered_concepts": 0,
"filtered_sources": 0,
"filtered_tools": 0,
"total_chunks": 0,
"total_concepts": 0,
"total_sources": 0,
"total_tools": 0
}
}List all indexed sources with pagination and filtering.
curl --request GET \
--url https://api.example.com/api/library/sources{
"page": 2,
"pages": 1,
"sources": [
{
"chunk_count": 1,
"id": "<string>",
"indexed_at": "2023-11-07T05:31:56Z",
"namespace": "<string>",
"title": "<string>",
"type": "youtube",
"channel": "<string>",
"description": "<string>",
"duration": 1,
"feedback_down": 0,
"feedback_up": 0,
"file_path": "<string>",
"has_meaningful_learnings": true,
"learnings": {
"code_snippets": [
{
"code": "<string>",
"description": "<string>",
"language": "<string>",
"verdict": {
"explanation": "<string>",
"status": "correct",
"corrected_code": "<string>",
"corrected_description": "<string>"
}
}
],
"concepts": [
"<string>"
],
"summary": "<string>",
"tools": [
"<string>"
]
},
"taxonomy_confidence": 0.5,
"taxonomy_labels": [
"<string>"
],
"taxonomy_path": "<string>",
"thumbnail_url": "<string>",
"upload_date": "<string>",
"url": "<string>",
"video_id": "<string>"
}
],
"total": 1,
"all_concepts": [
"<string>"
],
"all_taxonomy_labels": [
"<string>"
],
"all_tools": [
"<string>"
],
"metrics": {
"filtered_chunks": 0,
"filtered_concepts": 0,
"filtered_sources": 0,
"filtered_tools": 0,
"total_chunks": 0,
"total_concepts": 0,
"total_sources": 0,
"total_tools": 0
}
}Filter by namespace
Filter by source type (youtube, document, article, obsidian)
youtube, document, article, obsidian Search title or channel
Filter by concept
Filter by tool
Filter by taxonomy label
Sort order
recent, chunks, used Page number
x >= 1Items per page
1 <= x <= 100Show all sources including project-owned and Obsidian
Successful Response
Paginated list of sources.
x >= 1x >= 0Show child attributes
x >= 0Library aggregate metrics for current scope and filtered result set.
Show child attributes