5 minutes to help shape OpenTodo. Anonymous, no account. Take the survey

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.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
inherited_from requiredstring | null
kept_away requiredboolean

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.

Path parameters
FieldTypeDescription
id requiredstringpath
Response 200
FieldTypeDescription
inherited_from requiredstring | null
kept_away requiredboolean

This group in the HTTP API guide