v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-01441490.1 KB
Integration

Add To Brain

used to add pages to brain

post/integration/{integration_name}/add

Path parameters

integration_namestring required

Currently supported integrations are "notion" and "confluence". More integrations will be added in the future.

Request body

brain_idstring

ID of the brain to add pages to

page_idsstring[]

Array of page IDs to add to the brain

Example request

{
  "brain_id": "1f1d7a6a-e45b-4974-a0ba-98935650cb9c",
  "page_ids": [
    "65621"
  ]
}

Response

messagestring

Message indicating the pages are being added to the brain

Example response

{
  "message": "Pages are being added to the brain."
}