GET
/
brain
/
{brain_id}
/
documents
/
search
curl --request GET \
  --url https://api.isosceles.ai/brain/{brain_id}/documents/search \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "brain_id": "e42b1e43-96d5-4769-ab71-afe26d3b6b19",
    "created_at": "Sun, 20 Oct 2024 17:40:19 GMT",
    "document_id": "944a2978-efbc-48a5-9656-7fecec32df4e",
    "id": 5589,
    "metadata": {
      "language_code": "en",
      "original_object": "https://athena-copilot.s3.ap-south-1.amazonaws.com/athena/34bcc94d68524e8c9877b7e99b5bfce8-TestCV%2020180412.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXZ5NGMGNXDFENIAQ%2F20241020%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20241020T174020Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=cb8780481b622a91d6a50764d94d5ed56265686f0afdc672c7aecdd908456843",
      "original_url": "",
      "processed": false
    },
    "name": "TestCV 20180412.docx",
    "status": "COMPLETE",
    "type": "file",
    "url": "https://athena-copilot.s3.ap-south-1.amazonaws.com/athena/34bcc94d68524e8c9877b7e99b5bfce8-TestCV%2020180412.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXZ5NGMGNXDFENIAQ%2F20241020%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20241020T174020Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=cb8780481b622a91d6a50764d94d5ed56265686f0afdc672c7aecdd908456843"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

brain_id
string
required

ID of the brain to search in

Query Parameters

search_query
string

Optional search query to filter documents

Response

200 - application/json
brain_id
string
required
created_at
string
required
document_id
string
required
id
integer
required
metadata
object
required
name
string
required
status
string
required
type
string
required
url
string
required