Upload a Python script or zip package to register a new Streamline automation from the UI or CLI.
POSThttps://api.aitronos.com/v1/streamline/automations/upload/manual
Authorization string required
Content-Type string required ยท multipart/form-data
automation_name string required
organization_id string required
file file required Python source file or zipped project.
The newly created automation object with upload metadata and execution defaults.
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/streamline/automations/upload/manual" \
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN" \
-F "automation_name=Daily Report Generation" \
-F "organization_id=org_123" \
-F "file=@./runner.py"Response:
{
"id": "sauto_daily_report",
"automation_name": "Daily Report Generation",
"upload_method": "upload",
"organization_id": "org_123",
"is_active": true,
"created_at": "2025-11-17T08:00:00Z"
}