cURL
curl --request POST \ --url https://api.isosceles.ai/brain/{brain_id}/documents/file \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: multipart/form-data' \ --form file=@example-file
{ "brain_id": "<string>", "created_at": "<string>", "document_id": "<string>", "id": 123, "name": "<string>", "status": "<string>", "type": "<string>", "url": "<string>", "metadata": { "language_code": "<string>", "original_url": "<string>", "original_object": "<string>", "processed": true } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the knowledge base to which the document belongs
The response is of type object.
object