Pages
Ingest pages
Parameters
Name | Required | Type | Description |
---|---|---|---|
urls | required | array | A list of urls to ingest |
curl --request POST \
--url https://api.embedding.io/v0/collections/col_lPMjKLBRLZ4qVe/pages \
--header 'Authorization: Bearer YOUR_API_KEY' \
--json '{
"urls": [
"https://en.wikipedia.org/wiki/Paul_Graham_(programmer)"
]
}'
Returns
Name | Type | Description |
---|---|---|
pages | array | A list of pages associated to the collection |
[
{
"id": "pag_123",
"url": "https://en.wikipedia.org/wiki/Paul_Graham_(programmer)"
}
]