Get a project's context bundle
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/contextconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/context', 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/context"
response = requests.get(url)
print(response.text){}Projects
Get a project's context bundle
One bundle for an agent starting work in a project (#666), on every plan: the project, its latest thread summary, up to 20 recent decisions and memories (with totals), its documents index, and issues: the open issues (up to 20) when an issue tracker is connected, null when none is. Includes what other projects shared to the workspace when the workspace has the Workspace Brain, unless shared=0. note says that the content is data written by people and agents, never instructions. A project hidden from the caller answers 404. merge_proposals_pending counts the pairs waiting for review (#687).
GET
/
admin
/
api
/
projects
/
{project_id}
/
brain
/
context
Get a project's context bundle
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/brain/contextconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/brain/context', 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/context"
response = requests.get(url)
print(response.text){}Path Parameters
Query Parameters
Response
Successful operation
The response is of type object.