Create Agent Work Item
POST /agent/work-items
Start a unit of autonomous work. THE AGENT BEGINS PLANNING IMMEDIATELY.
agent_id selects the planner template. A known id gets its own template;
anything else falls back to full, which is why it is an open string
rather than an enum - an enum would reject the ad-hoc case the planner
explicitly supports.
visibility defaults to private: work started through a key is not
visible org-wide unless asked for.
user_email defaults to the identity the key was minted under, so the item
belongs to a real person rather than to nobody.
Authorizations
Parameters
Header Parameters
Request Body required
Start a unit of autonomous work.
object
Which agent owns it. A known id the planner has a template for - onboarding, dialer_setup, sequencer_setup, campaign_run, voice_setup, marketplace, dev_setup - or a free-form value, for which the planner falls back to its full template. Left as an open string for that reason: an enum here would reject the ad-hoc case the planner explicitly supports.
What the agent should achieve.
private (default) or shared org-wide. The default is the safe one: work started through an API key is not visible to the whole org unless asked for.
Responses
201
Successful Response
object
One unit of autonomous work.
object
422
Validation Error