Skip to main content
GET
List a project's Brain reads

Path Parameters

project_id
string
required

Project id (UUID) belonging to the caller workspace.

Query Parameters

agent
string

One reader's credential: session, oauth:, api_key: or oauth:workos_registration:.

user
string

One person's user id (their reads and their agents'). With agent, that person's copy of the agent: one client id can be several people's agents.

kind
enum<string>

agents, people or all (the default).

Available options:
agents,
people,
all
operation
enum<string>

One kind of read.

Available options:
knowledge,
search,
context,
document_get,
document_content,
document_version,
workspace_search,
memory_get,
memory_search,
graph_context
document
string

Only reads that returned this document id.

q
string

Part of the query text.

since
string<date-time>

ISO 8601 time, inclusive.

until
string<date-time>

ISO 8601 time, inclusive.

limit
integer

1 to 100 (default 25).

Required range: 1 <= x <= 100
offset
integer

Rows to skip.

Required range: x >= 0
format
enum<string>

csv or json downloads every matching row (up to 10,000) as a file: owner/admin only, and audited as export_brain_reads.

Available options:
csv,
json

Response

Newest first. With format=csv the body is a text/csv attachment (brain-reads-.csv) whose items column reads name (id); name (id). With format=json it is an attachment holding {reads}.

The paged list (no format).

reads
object[]
required
total
integer
required
limit
integer
required
offset
integer
required