---
title: "Gets all information needed to debug this job"
method: POST
path: "/v1/jobs/get_debug_info"
tags: ["jobs"]
---

# Gets all information needed to debug this job

`POST /v1/jobs/get_debug_info`

## Request body

- JobIdRequestBody
  - `id` integer, required

## Response `200`

Successful operation

- JobDebugInfoRead
  - `attempts` AttemptInfoRead[], required
    - `attempt` AttemptRead, required
      - `bytesSynced` integer
      - `createdAt` integer, required
      - `endedAt` integer
      - `failureSummary` AttemptFailureSummary
        - `failures` AttemptFailureReason[], required
          - `externalMessage` string
          - `failureOrigin` 'source' | 'destination' | 'replication' | 'persistence' | 'normalization' | 'dbt' | 'airbyte_platform' | 'unknown' — Indicates where the error originated. If not set, the origin of error is not well known.
          - `failureType` 'config_error' | 'system_error' | 'manual_cancellation' | 'refresh_schema' — Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known.
          - `internalMessage` string
          - `retryable` boolean — True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known.
          - `stacktrace` string
          - `timestamp` integer, required
        - `partialSuccess` boolean — True if the number of committed records for this attempt was greater than 0. False if 0 records were committed. If not set, the number of committed records is unknown.
      - `id` integer, required
      - `recordsSynced` integer
      - `status` 'running' | 'failed' | 'succeeded', required
      - `streamStats` AttemptStreamStats[]
        - `stats` AttemptStats, required
          - `bytesEmitted` integer
          - `estimatedBytes` integer
          - `estimatedRecords` integer
          - `recordsCommitted` integer
          - `recordsEmitted` integer
          - `stateMessagesEmitted` integer
        - `streamName` string, required
        - `streamNamespace` string
      - `totalStats` AttemptStats
        - `bytesEmitted` integer
        - `estimatedBytes` integer
        - `estimatedRecords` integer
        - `recordsCommitted` integer
        - `recordsEmitted` integer
        - `stateMessagesEmitted` integer
      - `updatedAt` integer, required
    - `logs` LogRead, required
      - `logLines` string[], required
  - `job` JobDebugRead, required
    - `airbyteVersion` string, required
    - `configId` string, required
    - `configType` 'check_connection_source' | 'check_connection_destination' | 'discover_schema' | 'get_spec' | 'sync' | 'reset_connection', required
    - `destinationDefinition` DestinationDefinitionRead, required
      - `destinationDefinitionId` string, uuid, required
      - `dockerImageTag` string, required
      - `dockerRepository` string, required
      - `documentationUrl` string, uri, required
      - `icon` string
      - `name` string, required
      - `normalizationConfig` NormalizationDestinationDefinitionConfig, required — describes a normalization config for destination definition
        - `normalizationIntegrationType` string — a field indicating the type of integration dialect to use for normalization.
        - `normalizationRepository` string — a field indicating the name of the repository to be used for normalization. If the value of the flag is NULL - normalization is not used.
        - `normalizationTag` string — a field indicating the tag of the docker repository to be used for normalization.
        - `supported` boolean, required — whether the destination definition supports normalization.
      - `protocolVersion` string — The Airbyte Protocol version supported by the connector
      - `releaseDate` string, date — The date when this connector was first released, in yyyy-mm-dd format.
      - `releaseStage` 'alpha' | 'beta' | 'generally_available' | 'custom'
      - `resourceRequirements` ActorDefinitionResourceRequirements — actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
        - `default` ResourceRequirements — optional resource requirements to run workers (blank for unbounded allocations)
          - `cpu_limit` string
          - `cpu_request` string
          - `memory_limit` string
          - `memory_request` string
        - `jobSpecific` JobTypeResourceLimit[]
          - `jobType` 'get_spec' | 'check_connection' | 'discover_schema' | 'sync' | 'reset_connection' | 'connection_updater' | 'replicate', required — enum that describes the different types of jobs that the platform runs.
          - `resourceRequirements` ResourceRequirements, required — optional resource requirements to run workers (blank for unbounded allocations)
            - `cpu_limit` string
            - `cpu_request` string
            - `memory_limit` string
            - `memory_request` string
      - `supportsDbt` boolean, required — an optional flag indicating whether DBT is used in the normalization. If the flag value is NULL - DBT is not used.
    - `id` integer, required
    - `sourceDefinition` SourceDefinitionRead, required
      - `dockerImageTag` string, required
      - `dockerRepository` string, required
      - `documentationUrl` string, uri
      - `icon` string
      - `name` string, required
      - `protocolVersion` string — The Airbyte Protocol version supported by the connector
      - `releaseDate` string, date — The date when this connector was first released, in yyyy-mm-dd format.
      - `releaseStage` 'alpha' | 'beta' | 'generally_available' | 'custom'
      - `resourceRequirements` ActorDefinitionResourceRequirements — actor definition specific resource requirements. if default is set, these are the requirements that should be set for ALL jobs run for this actor definition. it is overriden by the job type specific configurations. if not set, the platform will use defaults. these values will be overriden by configuration at the connection level.
        - `default` ResourceRequirements — optional resource requirements to run workers (blank for unbounded allocations)
          - `cpu_limit` string
          - `cpu_request` string
          - `memory_limit` string
          - `memory_request` string
        - `jobSpecific` JobTypeResourceLimit[]
          - `jobType` 'get_spec' | 'check_connection' | 'discover_schema' | 'sync' | 'reset_connection' | 'connection_updater' | 'replicate', required — enum that describes the different types of jobs that the platform runs.
          - `resourceRequirements` ResourceRequirements, required — optional resource requirements to run workers (blank for unbounded allocations)
            - `cpu_limit` string
            - `cpu_request` string
            - `memory_limit` string
            - `memory_request` string
      - `sourceDefinitionId` string, uuid, required
      - `sourceType` 'api' | 'file' | 'database' | 'custom'
    - `status` 'pending' | 'running' | 'incomplete' | 'failed' | 'succeeded' | 'cancelled', required
  - `workflowState` WorkflowStateRead
    - `running` boolean, required

## Other responses

- `404` — Object with given id was not found.
- `422` — Input failed validation

---

[API](https://skmtc.net/airbyte/apis/config.md) · [All operations](https://skmtc.net/airbyte/apis/config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airbyte/config/versions/ce48e08e02ec/schema)
