---
updatedAt: 2025-03-06T23:15:19.000Z
agentTools:
  projectIndex: https://reference.airbyte.com/llms.txt
---

# Get Job status and details

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Jobs",
    "version": "1.0.0",
    "description": "Programatically control Airbyte Cloud, OSS & Enterprise."
  },
  "servers": [
    {
      "url": "https://api.airbyte.com/v1",
      "description": "Airbyte API v1"
    }
  ],
  "paths": {
    "/jobs/{jobId}": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                },
                "examples": {
                  "Job Get Response Example": {
                    "value": {
                      "id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
                      "status": "running",
                      "jobType": "sync"
                    }
                  }
                }
              }
            },
            "description": "Get a Job by the id in the path."
          },
          "403": {
            "description": "Not allowed"
          },
          "404": {
            "description": "Not found"
          }
        },
        "operationId": "getJob",
        "summary": "Get Job status and details",
        "x-use-speakeasy-middleware": true
      },
      "parameters": [
        {
          "name": "jobId",
          "schema": {
            "format": "int64",
            "type": "integer"
          },
          "in": "path",
          "required": true
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "JobResponse": {
        "title": "Root Type for JobResponse",
        "description": "Provides details of a single job.",
        "required": [
          "jobId",
          "status",
          "jobType",
          "startTime",
          "connectionId"
        ],
        "type": "object",
        "properties": {
          "jobId": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatusEnum"
          },
          "jobType": {
            "$ref": "#/components/schemas/JobTypeEnum"
          },
          "startTime": {
            "type": "string"
          },
          "connectionId": {
            "format": "UUID",
            "type": "string"
          },
          "lastUpdatedAt": {
            "type": "string"
          },
          "duration": {
            "description": "Duration of a sync in ISO_8601 format",
            "type": "string"
          },
          "bytesSynced": {
            "format": "int64",
            "type": "integer"
          },
          "rowsSynced": {
            "format": "int64",
            "type": "integer"
          }
        },
        "example": {
          "id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",
          "status": "running",
          "jobType": "sync",
          "startTime": "2023-03-25T01:30:50Z",
          "duration": "PT8H6M12S"
        }
      },
      "JobStatusEnum": {
        "enum": [
          "pending",
          "running",
          "incomplete",
          "failed",
          "succeeded",
          "cancelled"
        ],
        "type": "string"
      },
      "JobTypeEnum": {
        "description": "Enum that describes the different types of jobs that the platform runs.",
        "enum": [
          "sync",
          "reset"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```