airbyte_get_cloud_sync_logs
Fetch full-text sync logs for an Airbyte Cloud connection job attempt. Supports paginated tail or head reads, with optional job and attempt parameters.
Instructions
Get full-text sync logs for an Airbyte Cloud connection job attempt.
Uses the Airbyte Cloud Config API (POST /jobs/get) to fetch embedded
attempt logs and returns plain text with pagination metadata. This is the
Cloud parity path — self-managed deployments should use
airbyte_get_job_logs or airbyte_get_attempt_logs for richer
structured diagnostics instead.
When to Use: - You are on Airbyte Cloud and need the raw log text for a sync. - You want paginated tail/head reads of a large Cloud log file. - You already know the connection and optionally the job/attempt.
When NOT to Use:
- On self-managed Airbyte (abctl / OSS) — use the internal-API log tools.
- When you need structured failure metadata — use
airbyte_get_job_details on self-managed.
Returns: JSON with job_id, attempt_number, log_text, log_text_start_line, log_text_line_count, and total_log_lines_available.
Examples: Latest job, last 4000 lines: params = { "connection_id": "a1b2c3d4-..." } Specific job and attempt: params = { "connection_id": "a1b2c3d4-...", "job_id": 12345, "attempt_number": 0, "max_lines": 1000, }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |