Quick reference guide for common Streamline operations.
# Login
aitronos auth login
# Check current user
aitronos auth whoami
# Logout
aitronos auth logout# List organizations
aitronos org list
# Select organization
aitronos org select <org-id>
# Show current organization
aitronos org current# Download project template
aitronos streamline template download
# Download repository template
aitronos streamline template download --type repository# Create GitHub repository
aitronos streamline repo create \
--name my-automation \
--description "My automation" \
--private
# List repositories
aitronos streamline repo list# Deploy from GitHub
aitronos streamline deploy \
--repo https://github.com/user/repo.git \
--branch main \
--name "My Automation"
# Deploy from subdirectory
aitronos streamline deploy \
--repo https://github.com/user/repo.git \
--subdirectory automation-1 \
--name "Automation 1"
# Upload ZIP file
aitronos streamline upload \
--file automation.zip \
--name "My Automation"# List automations
aitronos streamline list
# Get automation details
aitronos streamline get <automation-id>
# Delete automation
aitronos streamline delete <automation-id># Execute automation
aitronos streamline execute <automation-id>
# Execute with parameters
aitronos streamline execute <automation-id> \
--param key1=value1 \
--param key2=value2
# List executions
aitronos streamline executions list <automation-id>
# Get execution details
aitronos streamline executions get <execution-id># Connect GitHub repository
aitronos streamline connect <automation-id> \
--repo https://github.com/user/repo.git \
--branch main
# Disconnect GitHub
aitronos streamline disconnect <automation-id>
# Trigger manual sync
aitronos streamline sync <automation-id>
# View sync history
aitronos streamline sync-history <automation-id># Set schedule (daily at 9 AM)
aitronos streamline schedule set <automation-id> \
--cron "0 9 * * *" \
--timezone "UTC"
# Remove schedule
aitronos streamline schedule remove <automation-id>https://api.aitronos.com/v1/streamlineAll requests require Bearer token:
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN"# Download project template
GET /templates/project
# Download repository template
GET /templates/repository# List repositories
GET /repositories?organization_id=<org-id>
# Get repository automations
GET /repositories/automations?organization_id=<org-id>&repository_url=<url># List automations
GET /automations?organization_id=<org-id>
# Get automation
GET /automations/{automation_id}
# Delete automation
DELETE /automations/{automation_id}
# Upload from Git
POST /automations/upload/git?organization_id=<org-id>
# Upload manually
POST /automations/upload/manual# Connect GitHub
POST /automations/{automation_id}/github/connect
# Disconnect GitHub
DELETE /automations/{automation_id}/github/disconnect
# Trigger sync
POST /automations/{automation_id}/sync
# Get sync jobs
GET /automations/{automation_id}/syncs
# GitHub webhook
POST /webhooks/github# Execute automation
POST /automations/{automation_id}/execute
# Get execution status
GET /executions/{execution_id}
# List executions
GET /automations/{automation_id}/executions# Set schedule
POST /automations/{automation_id}/schedule
# Toggle schedule
POST /automations/{automation_id}/schedule/toggle
# Remove schedule
DELETE /automations/{automation_id}/schedule# Get sync metrics
GET /metrics/syncmy-automation/
├── streamline.yaml # Configuration
├── main.py # Code
└── requirements.txt # Dependenciesname: my-automation
description: Brief description
execution_file: main.py
parameters:
- name: param1
type: string
required: true
description: "Parameter description"def main(**kwargs):
"""Main automation function."""
# Your code here
return {"success": True}
if __name__ == "__main__":
result = main()
print(result)requests>=2.31.0
pandas>=2.0.0# Every minute
* * * * *
# Every hour
0 * * * *
# Every day at midnight
0 0 * * *
# Every day at 9 AM
0 9 * * *
# Every weekday at 9 AM
0 9 * * 1-5
# Every Monday at 9 AM
0 9 * * 1
# Every 15 minutes
*/15 * * * *
# Every 6 hours
0 */6 * * *# String
- name: message
type: string
required: true
# Integer
- name: count
type: integer
default: 10
# Float
- name: threshold
type: float
default: 0.75
# Boolean
- name: debug
type: boolean
default: false
# Array
- name: tags
type: array
default: []
# Object
- name: config
type: object
default: {}# 1. Create repository
aitronos streamline repo create --name my-automation --private
# 2. Initialize project
mkdir my-automation && cd my-automation
aitronos streamline template download
# 3. Write code
# Edit main.py, streamline.yaml, requirements.txt
# 4. Push to GitHub
git init
git add .
git commit -m "Initial commit"
git remote add origin <repo-url>
git push -u origin main
# 5. Deploy to Streamline
aitronos streamline deploy \
--repo <repo-url> \
--branch main \
--name "My Automation"
# 6. Test execution
aitronos streamline execute <automation-id>
# 7. Set schedule
aitronos streamline schedule set <automation-id> \
--cron "0 9 * * *"# 1. Make changes locally
# Edit your code
# 2. Commit and push
git add .
git commit -m "Update automation"
git push origin main
# 3. Automatic sync via webhook
# Or trigger manually:
aitronos streamline sync <automation-id>
# 4. Verify sync
aitronos streamline sync-history <automation-id>
# 5. Test updated automation
aitronos streamline execute <automation-id># List recent executions
aitronos streamline executions list <automation-id>
# Get specific execution
aitronos streamline executions get <execution-id>
# Check sync status
aitronos streamline sync-history <automation-id>
# View metrics
curl "https://api.aitronos.com/v1/streamline/metrics/sync" \
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN"# Re-authenticate
aitronos auth logout
aitronos auth login
# Verify session
aitronos auth whoami# Check automation details
aitronos streamline get <automation-id>
# View sync history
aitronos streamline sync-history <automation-id>
# Trigger manual sync
aitronos streamline sync <automation-id># Get execution details
aitronos streamline executions get <execution-id>
# Check recent executions
aitronos streamline executions list <automation-id>
# Test locally
python main.py# Disconnect and reconnect
aitronos streamline disconnect <automation-id>
aitronos streamline connect <automation-id> \
--repo <repo-url> \
--branch main
# Verify webhook in GitHub
# Settings → Webhooks → Check recent deliveries# API URL
export AITRONOS_API_URL="https://api.aitronos.com"
# Session token
export AITRONOS_SESSION_TOKEN="your-token"
# Organization ID
export AITRONOS_ORG_ID="org_xyz123"- Documentation: Streamline Overview
- API Reference: Streamline API
- Freddy Hub: https://freddy-hub.aitronos.com
- Support: support@aitronos.com
UTC # Coordinated Universal Time
America/New_York # US Eastern
America/Chicago # US Central
America/Denver # US Mountain
America/Los_Angeles # US Pacific
Europe/London # UK
Europe/Paris # Central European
Asia/Tokyo # Japan
Australia/Sydney # Australia200 OK # Success
201 Created # Resource created
202 Accepted # Async operation started
204 No Content # Success, no response body
400 Bad Request # Invalid input
401 Unauthorized # Authentication required
403 Forbidden # Insufficient permissions
404 Not Found # Resource not found
409 Conflict # Resource conflict
422 Unprocessable # Validation error
429 Too Many Requests # Rate limited
500 Internal Error # Server error- Getting Started - Complete tutorial
- GitHub Deployment - Git-based deployment
- Scheduling - Automation scheduling
- Parameters - Parameter configuration