Skip to content
Last updated

Represents a Git repository synchronization event for a Streamline automation.

{
  "id": "rslog_def456",
  "automation_id": "sauto_abc123",
  "organization_id": "org_xyz789",
  "sync_type": "webhook",
  "status": "error",
  "event_type": "pull",
  "commit_sha": null,
  "error_code": "REPO_NOT_FOUND",
  "error_message": "Repository has been deleted or is no longer accessible",
  "details": "{\"repository_url\": \"https://github.com/user/repo\"}",
  "duration_ms": 450,
  "created_at": "2025-11-28T10:30:00Z"
}

Fields

id string

Unique log ID (rslog_ prefixed)

automation_id string

Automation ID this log belongs to

organization_id string

Organization ID

sync_type string

How sync was triggered: webhook, manual, scheduled

status string

Sync result: success, error, warning

event_type string

Type of sync event: pull, webhook_register, webhook_remove, validation, credential_check

commit_sha string | null

Git commit SHA (for successful pulls)

error_code string | null

Error code (when status is error)

error_message string | null

Human-readable error/warning message

details string | null

Additional details as JSON string

duration_ms integer | null

Operation duration in milliseconds

created_at string

ISO 8601 timestamp of the event

Event Types

pull

Code synchronization from Git repository.

  • Success: Code pulled and updated successfully
  • Error: Repository deleted, access denied, network failure
  • Warning: Partial sync, merge conflicts detected

webhook_register

GitHub webhook registration.

  • Success: Webhook registered with GitHub
  • Error: GitHub API failure, invalid credentials
  • Warning: Webhook already exists

webhook_remove

GitHub webhook removal.

  • Success: Webhook removed from GitHub
  • Error: GitHub API failure
  • Warning: Webhook not found (already removed)

validation

Repository/credentials validation.

  • Success: Repository accessible, credentials valid
  • Error: Repository not found, invalid credentials

credential_check

Periodic credential validation.

  • Success: Credentials still valid
  • Error: Credentials expired or revoked

Sync Types

TypeDescription
webhookTriggered automatically by GitHub push event
manualUser-initiated sync via UI or API
scheduledPeriodic background sync

Status Values

StatusDescription
successOperation completed successfully
errorOperation failed
warningOperation completed with warnings

Common Error Codes

Error CodeDescriptionResolution
REPO_NOT_FOUNDRepository deleted or inaccessibleUpdate repository URL or restore access
INVALID_CREDENTIALSGitHub credentials invalid/expiredUpdate credentials in automation settings
AUTHENTICATION_FAILEDGitHub authentication failedVerify token has required permissions
RATE_LIMIT_EXCEEDEDGitHub API rate limit reachedWait and retry, or upgrade GitHub plan
NETWORK_ERRORNetwork connectivity issueCheck network and retry
WEBHOOK_REGISTRATION_FAILEDFailed to register webhookCheck repository permissions