List a project's documents
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/documentsconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/brain/documents"
response = requests.get(url)
print(response.text){}Projects
List a project's documents
A project’s brain (#663), on every plan, within its plan’s project document allowance (the Workspace Brain’s when the workspace has one); a project hidden from the caller answers 404. Returns this project’s documents, plus documents other projects shared to the workspace when the workspace has the Workspace Brain (never from a project hidden from the caller); shared=0 leaves those out. Filter by kind. 100 per page, by id; pass next as after.
GET
/
admin
/
api
/
projects
/
{project_id}
/
brain
/
documents
List a project's documents
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/documentsconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/brain/documents"
response = requests.get(url)
print(response.text){}Path Parameters
Query Parameters
Response
Successful operation
The response is of type object.