Keeping a project away from assistants API
The owner of a project, or an admin of a shared one, can keep it and its sub-projects away from every AI assistant surface: MCP (whatever the token's scope), the agent content routes above and the in-app assistant then act as if it did not exist.
Implementation notes
The owner of a project, or an admin of a shared one, can keep it and its sub-projects away from every AI assistant surface: MCP (whatever the token's scope), the agent content routes above and the in-app assistant then act as if it did not exist. Ordinary REST with a session, a full or an admin token, sync, CalDAV, feeds and the export are unaffected. It is server access state like membership: never an operation, never exported.
GET /api/v1/projects/{id}/agent-access
Get project agent access · Token or session
{kept_away, inherited_from}; inherited_from is the nearest ancestor that is kept away, or null
Refuses read and agent tokens.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
inherited_from required | string | null | |
kept_away required | boolean |
PUT /api/v1/projects/{id}/agent-access
Update project agent access · Token or session
{kept_away: boolean} → the same shape; recorded as project.agent_access; demo instances → 403 demo_restricted
Refuses read and agent tokens.
| Field | Type | Description |
|---|---|---|
id required | string | path |
| Field | Type | Description |
|---|---|---|
inherited_from required | string | null | |
kept_away required | boolean |