curl --request GET \
--url https://api.example.com/api/library/sources/{source_id}{
"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>"
}Get a single indexed source by id.
curl --request GET \
--url https://api.example.com/api/library/sources/{source_id}{
"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>"
}Successful Response
A source item in the library.
x >= 0youtube, document, article x >= 0x >= 0x >= 0Extracted learnings from a source.
Show child attributes
0 <= x <= 1