Skip to content
Last updated

Retrieve recent sync jobs for a Git-based automation.

GEThttps://api.aitronos.com/v1/streamline/automations/git/syncs/{automation_id}

Headers

Authorization string required

Path Parameters

automation_id string required

Query Parameters

limit integer optional ยท Defaults to 10
Maximum number of sync jobs to return.

Returns

A sync_jobs array containing job identifiers, statuses, timestamps, detected changes, and commit SHAs.

Bash
curl "https://api.aitronos.com/v1/streamline/automations/git/syncs/sauto_daily_report" \
  -H "Authorization: Bearer $FREDDY_SESSION_TOKEN"

Response:

{
  "sync_jobs": [
    {
      "id": "sgit_001",
      "status": "completed",
      "synced_at": "2025-11-17T12:00:00Z",
      "changes_detected": true,
      "commit_sha_after": "d4c9f2a"
    },
    {
      "id": "sgit_000",
      "status": "failed",
      "synced_at": "2025-11-16T12:00:00Z",
      "changes_detected": false,
      "commit_sha_after": null
    }
  ]
}