Workspace management, member management, page trees, search, and AI agents.
List all drives accessible to the current user (owned and shared).
Response:
[{
"id": "string",
"name": "string",
"slug": "string",
"ownerId": "string",
"isOwner": true,
"memberCount": 5,
"pageCount": 23
}]
Create a new drive.
Body:
{ "name": "string" }
Get drive details with ownership and membership status.
Update drive settings (name, AI preferences).
Fetch all pages in a drive as a hierarchical tree.
List all trashed pages in a drive.
Restore a trashed drive.
List drive members with roles.
Response:
[{
"userId": "string",
"name": "string",
"email": "string",
"role": "OWNER | ADMIN | MEMBER",
"joinedAt": "string"
}]
Add a new member to the drive.
Body:
{ "userId": "string", "role": "ADMIN | MEMBER" }
Remove a member from the drive. Requires drive ownership.
Send email invitation to join a drive.
Body:
{ "email": "string", "role": "ADMIN | MEMBER" }
Search page content with regex patterns within a drive.
Query params: pattern, pageTypes, caseSensitive, maxResults
Search pages by title/path glob patterns within a drive.
Query params: pattern, pageTypes, maxResults
List all AI agents in a drive.
Create a new AI agent in a drive.
Hierarchical view of all pages with permission status. Drive owner only.
Query params: userId (optional — view permissions for a specific user)
Search docs, blog posts, and more.