Execute Trigger
Changed onExecute a trigger with the provided event data.
Builds trigger data from the events and channel origin, then creates and submits a task for agent execution.
Authorization is the caller's session plus the workspace-scoped trigger lookup: a trigger in another workspace is simply not found. This used to sit on the public router behind an X-Internal-Token check that skipped itself whenever the secret was unset — which was every deployment, since nothing ever sent that header.
Args: trigger_id: The unique identifier of the trigger request: The events to run the trigger on user_context: The person replaying the events; the run is theirs trigger_service: Injected trigger service
Returns: Execution result with task ID
Raises: HTTPException: If trigger not found or execution fails
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- warning
removed the request property
- warning
- info
endpoint added
- info