Brain
Create Document by URL
Brain
Create Document by URL
POST
/
brain
/
{brain_id}
/
documents
/
url
curl --request POST \
--url https://api.isosceles.ai/brain/{brain_id}/documents/url \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '""'
{
"chunk_header": null,
"created_on": 1716137387,
"description": null,
"document_type": "url",
"file_name": null,
"id": "1e76fdda-dc07-45f0-a0f9-339148d3ae06",
"knowledge_base_id": "1f1d7a6a-e45b-4974-a0ba-98935650cb9c",
"link_to_source": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"supp_id": null,
"title": null,
"vectorization_status": "URL_SUBMITTED_FOR_SCRAPING"
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://api.isosceles.ai/brain/{brain_id}/documents/url \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '""'
{
"chunk_header": null,
"created_on": 1716137387,
"description": null,
"document_type": "url",
"file_name": null,
"id": "1e76fdda-dc07-45f0-a0f9-339148d3ae06",
"knowledge_base_id": "1f1d7a6a-e45b-4974-a0ba-98935650cb9c",
"link_to_source": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"supp_id": null,
"title": null,
"vectorization_status": "URL_SUBMITTED_FOR_SCRAPING"
}