AgentSettings ensureForSpec
Returns the user's own agent for a registry spec (template), creating it on first use.
path Parameters
specIdstring · required
Responses
Successful response
idstring · requirednamestring · requiredownerIdstring · requirededgesMcpConfigsobject · requiredcreatedAtnumber · requiredupdatedAtnumber · required
systemMessagestringCustom system prompt for the agent
modelstringLLM model identifier (e.g., 'claude-3-opus')
thinkingLeveltemperaturenumbersystemMessageMode'default_coder' uses built-in coding prompt, 'custom_w_tools' uses systemMessage + auto-injected capability sections, 'raw' uses systemMessage verbatim (no global prepend, no tool/routing/workspace sections).
smartSystemPromptbooleanAuto-enhance system prompt based on context
memoryEnabledbooleanPut the user's file memory (
todoforai:memory/: index + pinned files) in the system prompt. Default on.contextDocumentsobject[]Reference files (PDF, images, text/office docs) pinned to every conversation of this agent: sent natively as the first user message (PDF/image as document/image blocks), prompt-cached. Metadata only — the agent fetches bytes by attachment id.
devicesConfigobjectpermissionsobjectspecIdstringSpec this agent was created from
colorstringHex color (e.g. '#10b981') used to tint todos assigned to this agent
AgentSettings list
Returns AI agent configurations. Optionally filter by workspacePath or name (returns enriched results).
Responses
Successful response
idstring · requirednamestring · requiredownerIdstring · requirededgesMcpConfigsobject · requiredcreatedAtnumber · requiredupdatedAtnumber · required
systemMessagestringCustom system prompt for the agent
modelstringLLM model identifier (e.g., 'claude-3-opus')
thinkingLeveltemperaturenumbersystemMessageMode'default_coder' uses built-in coding prompt, 'custom_w_tools' uses systemMessage + auto-injected capability sections, 'raw' uses systemMessage verbatim (no global prepend, no tool/routing/workspace sections).
smartSystemPromptbooleanAuto-enhance system prompt based on context
memoryEnabledbooleanPut the user's file memory (
todoforai:memory/: index + pinned files) in the system prompt. Default on.contextDocumentsobject[]Reference files (PDF, images, text/office docs) pinned to every conversation of this agent: sent natively as the first user message (PDF/image as document/image blocks), prompt-cached. Metadata only — the agent fetches bytes by attachment id.
devicesConfigobjectpermissionsobjectspecIdstringSpec this agent was created from
colorstringHex color (e.g. '#10b981') used to tint todos assigned to this agent
AgentSettings create
Creates a new AI agent configuration with default settings.
Responses
Successful response
idstring · requirednamestring · requiredownerIdstring · requirededgesMcpConfigsobject · requiredcreatedAtnumber · requiredupdatedAtnumber · required
systemMessagestringCustom system prompt for the agent
modelstringLLM model identifier (e.g., 'claude-3-opus')
thinkingLeveltemperaturenumbersystemMessageMode'default_coder' uses built-in coding prompt, 'custom_w_tools' uses systemMessage + auto-injected capability sections, 'raw' uses systemMessage verbatim (no global prepend, no tool/routing/workspace sections).
smartSystemPromptbooleanAuto-enhance system prompt based on context
memoryEnabledbooleanPut the user's file memory (
todoforai:memory/: index + pinned files) in the system prompt. Default on.contextDocumentsobject[]Reference files (PDF, images, text/office docs) pinned to every conversation of this agent: sent natively as the first user message (PDF/image as document/image blocks), prompt-cached. Metadata only — the agent fetches bytes by attachment id.
devicesConfigobjectpermissionsobjectspecIdstringSpec this agent was created from
colorstringHex color (e.g. '#10b981') used to tint todos assigned to this agent
AgentSettings updateGlobal
Updates global agent settings defaults for the user.
Request Body
systemMessagestringmodelstringthinkingLeveltemperaturenumberpermissionsobjectedgesMcpConfigsobjectdevicesConfigobject
Responses
Successful response
systemMessagestringmodelstringthinkingLeveltemperaturenumberpermissionsobjectedgesMcpConfigsobjectdevicesConfigobject
AgentSettings get
Returns a specific AI agent configuration.
path Parameters
agentSettingsIdstring · required
Responses
Successful response
idstring · requirednamestring · requiredownerIdstring · requirededgesMcpConfigsobject · requiredcreatedAtnumber · requiredupdatedAtnumber · required
systemMessagestringCustom system prompt for the agent
modelstringLLM model identifier (e.g., 'claude-3-opus')
thinkingLeveltemperaturenumbersystemMessageMode'default_coder' uses built-in coding prompt, 'custom_w_tools' uses systemMessage + auto-injected capability sections, 'raw' uses systemMessage verbatim (no global prepend, no tool/routing/workspace sections).
smartSystemPromptbooleanAuto-enhance system prompt based on context
memoryEnabledbooleanPut the user's file memory (
todoforai:memory/: index + pinned files) in the system prompt. Default on.contextDocumentsobject[]Reference files (PDF, images, text/office docs) pinned to every conversation of this agent: sent natively as the first user message (PDF/image as document/image blocks), prompt-cached. Metadata only — the agent fetches bytes by attachment id.
devicesConfigobjectpermissionsobjectspecIdstringSpec this agent was created from
colorstringHex color (e.g. '#10b981') used to tint todos assigned to this agent
AgentSettings update
Updates AI agent settings like model, temperature, and system prompt.
path Parameters
agentSettingsIdstring · required
Request Body
agentSettingsIdstring · requiredupdatesobject · requiredMake all properties in T optional
Responses
Successful response
idstring · requirednamestring · requiredownerIdstring · requirededgesMcpConfigsobject · requiredcreatedAtnumber · requiredupdatedAtnumber · required
systemMessagestringCustom system prompt for the agent
modelstringLLM model identifier (e.g., 'claude-3-opus')
thinkingLeveltemperaturenumbersystemMessageMode'default_coder' uses built-in coding prompt, 'custom_w_tools' uses systemMessage + auto-injected capability sections, 'raw' uses systemMessage verbatim (no global prepend, no tool/routing/workspace sections).
smartSystemPromptbooleanAuto-enhance system prompt based on context
memoryEnabledbooleanPut the user's file memory (
todoforai:memory/: index + pinned files) in the system prompt. Default on.contextDocumentsobject[]Reference files (PDF, images, text/office docs) pinned to every conversation of this agent: sent natively as the first user message (PDF/image as document/image blocks), prompt-cached. Metadata only — the agent fetches bytes by attachment id.
devicesConfigobjectpermissionsobjectspecIdstringSpec this agent was created from
colorstringHex color (e.g. '#10b981') used to tint todos assigned to this agent