AgentSession
Arm a trigger that wakes an agent
Changed onArms a one-shot trigger on this session. An event trigger fires when the named entity reaches the named event; a timer trigger, not yet supported, would fire at a time or on an interval until it expires. Firing queues a message in the session's inbox and starts the agent if nothing is running. A session run locally is refused, and so is watching one, since neither a wake nor its lifecycle events reach it. A trigger registered for something that has already happened fires immediately, so a caller never has to check first. Sending the same idempotency_key to the same session again returns the trigger stored the first time.
post/agentSession/{id}/triggers
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/agentSession/{id}/triggers
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
idstring required
Request body
Response
The trigger stored earlier under the same idempotency_key; nothing new was armed.
Changes
- info
endpoint added
- info