Skip to content
Last updated

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

Headers

Authorization string required
Bearer token authentication. Use either:

  • Bearer ${FREDDY_API_KEY} for API key authentication
  • Bearer ${FREDDY_SESSION_TOKEN} for session token authentication

Path Parameters

automation_id string required
The automation ID to sync.

Returns

A confirmation object indicating whether the automation was updated with new changes from Git.

Bash
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"
}