airbyte_get_attempt_logs
Retrieve structured log entries for a specific job attempt, useful when debugging a failing attempt without fetching all attempts.
Instructions
Get logs for a specific attempt of a job.
Uses the internal Configuration API (POST /v1/attempt/get_for_job) to fetch structured log entries for exactly one attempt. More efficient than airbyte_get_job_logs when you know which attempt failed.
Always returns JSON — structured logs are best consumed as-is.
When to Use: - A job had multiple attempts and you want logs for a specific one (e.g. the failing attempt). - You already identified the failing attempt number from airbyte_get_job_details.
When NOT to Use: - If you want logs for all attempts, use airbyte_get_job_logs. - On Airbyte Cloud (internal API not available).
Returns: JSON with attempt metadata and structured log entries, truncated to the last tail_lines entries.
Examples: params = { "job_id": 12345, "attempt_number": 0 } params = { "job_id": 12345, "attempt_number": 2, "tail_lines": 500 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |