Manually trigger a Git sync for a specific automation to pull the latest changes from its repository.
POSThttps://api.aitronos.com/v1/streamline/automations/{automation_id}/sync
Authorization string required
Bearer token authentication. Use either:
Bearer ${FREDDY_API_KEY}for API key authenticationBearer ${FREDDY_SESSION_TOKEN}for session token authentication
automation_id string required
The automation ID to sync.
A confirmation object indicating whether the automation was updated with new changes from Git.
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/streamline/automations/git/sync" \
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organization_id": "org_123"}'Response:
{
"status": "Sync job started",
"job_id": "job_abc123"
}