Update a collab agent's draft
Write a collab agent’s configuration (system prompt, model, tools, sources, behavior and channel settings) to its draft. Only the fields you send change; an omitted field keeps its current value, and a list or text field you send replaces the old one whole. The write goes to the live draft, the same draft the Athena editor shows, under the asset’s existing id. Once the asset has been published, runs keep using the published version until you publish the draft with POST /api/v0/assets/{asset_id}/publish; one never published runs from its draft. Requires edit access to the asset; an archived asset is refused with 409. Unknown fields are refused with 422. A model must be available in the agent’s workspace (422 otherwise). Tool or toolkit IDs the registry does not know are written and reported under warnings. A new name also becomes the asset title. The agent’s email address and its outbound approval recipients are not set here.
Authentication
Path parameters
Headers
Request
UI accent color (hex)
Auto-compaction
Whether the agent can be used as a sub-agent
Allow @-mentioning the agent in an asset’s comments pane
Voice-friendly handle (lowercase words and spaces) used to address the agent as a sub-agent
Maximum number of past messages passed to sub-agents
Model ID the agent runs on; must be available in its workspace
Muses long-term memory
Display name of the agent; also becomes the asset title
True stops giving the agent’s sessions a computer (existing computers are kept). Not together with session_computer.
How the agent answers a text from a workspace member it isn’t shared with: ‘default’ (the standard no-access message), ‘silent’ (no reply) or ‘custom’ (sms_blocked_sender_reply verbatim). The text is always saved in the agent’s SMS thread and the agent never runs; senders without an Athena account in the workspace never get a reply.
Reply text sent to blocked SMS senders when sms_blocked_sender_mode is ‘custom’, e.g. ‘Got it, thanks.’ (max 320 characters).
Knowledge source references: native source IDs, or collab_source:<asset_id>; replaces the list
Collab agent IDs available as sub-agents
The instructions the agent follows (markdown); replaces the whole prompt
Toolkit IDs the agent can use; replaces the list
Tool IDs the agent can use; replaces the list
Collab agent IDs available as voice sub-agents
Response
Type of the asset: skill or collab_agent
Always false: the write changed the draft only. Publish it with POST /api/v0/assets/{asset_id}/publish.
Non-fatal notes, such as tool or toolkit IDs the registry does not know
