Run a Streamline automation immediately with custom parameters.
POSThttps://api.aitronos.com/v1/streamline/automations/{automation_id}/execute
Authorization string required
Bearer token authentication. Use either:
Bearer ${FREDDY_API_KEY}for API key authenticationBearer ${FREDDY_SESSION_TOKEN}for session token authentication
Content-Type string required · application/json
automation_id string required
parameters object optional
Key-value payload forwarded to the automation runtime.
return_mode string optional · One of poll or wait (defaults to poll).
When return_mode=poll, returns 202 Accepted with execution_id for polling status later. When return_mode=wait, waits for completion and returns 200 OK with full execution result.
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/streamline/automations/sauto_daily_report/execute" \
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"return_mode": "poll"
}'Response:
{
"status": "Execution started",
"execution_id": "sexec_abc123",
"automation_id": "sauto_daily_report"
}