collection

Get a collection

Parameters

Name Required Type Description
curl --request GET \
    --url https://api.embedding.io/v0/collections/col_lPMjKLBRLZ4qVe \
    --header 'Authorization: Bearer YOUR_API_KEY'

Returns

Name Type Description
id string The ID of the collection
name string The name of the collection
websites array A list of websites associated with the collection
pages array A list of pages associated with the collection
{
	"id": "col_GK8dawYrbrv6R9",
	"name": "Paul Graham",
	"pages": [
		{
			"id": "pag_VKPDz1YZLan39e",
			"url": "https:\/\/en.wikipedia.org\/wiki\/Main_Page",
			"title": "Wikipedia, the free encyclopedia",
			"description": null,
			"og_type": "website",
			"og_image": "https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/3\/31\/Southern_Chivalry.jpg\/1200px-Southern_Chivalry.jpg",
			"h1": "Main Page"
		}
	],
	"websites": [
		{
			"id": "web_W3pAMq1RwXvxDa",
			"domain": "paulgraham.com",
			"filters": [],
			"pages": [
				{
					"id": "pag_a3mAP7rALx84eO",
					"url": "https:\/\/paulgraham.com\/raq.html",
					"title": "RAQs",
					"description": null,
					"og_type": null,
					"og_image": null,
					"h1": null
				},
				{
					"id": "pag_okgW87AjXBze9v",
					"url": "https:\/\/paulgraham.com\/",
					"title": "Paul Graham",
					"description": null,
					"og_type": null,
					"og_image": null,
					"h1": null
				}
			]
		}
	]
}