List who read from the Brain
curl --request GET \
--url https://app.hookie.ai/admin/api/brain-reads/readers \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/brain-reads/readers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/brain-reads/readers"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"readers": [
{
"credential": "<string>",
"actor_kind": "<string>",
"user_id": "<string>",
"name": "<string>",
"user_email": "<string>",
"reads": 123,
"last_at": "2023-11-07T05:31:56Z"
}
]
}Audit
List who read from the Brain
The readers in the Brain read log the caller may see (#686), one per credential, and for a person or a connected agent one per user too (people all read as session, and one client id can be several people’s agents), with a display name, how many reads and the latest: for the console’s reader filter.
GET
/
admin
/
api
/
brain-reads
/
readers
List who read from the Brain
curl --request GET \
--url https://app.hookie.ai/admin/api/brain-reads/readers \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/brain-reads/readers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/brain-reads/readers"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"readers": [
{
"credential": "<string>",
"actor_kind": "<string>",
"user_id": "<string>",
"name": "<string>",
"user_email": "<string>",
"reads": 123,
"last_at": "2023-11-07T05:31:56Z"
}
]
}Authorizations
sessionbearerAuthapiKey