Gets the state of the specified Cloud Dataflow job.
To get the state of a job, we recommend using projects.locations.jobs.get with a regional endpoint. Using projects.jobs.get is not recommended, as you can only get the state of jobs that are running in us-central1.
HTTP request
GET https://dataflow.googleapis.com/v1b3/projects/{projectId}/jobs/{jobId}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-30 UTC."],[[["\u003cp\u003eThis webpage details how to retrieve the state of a specific Cloud Dataflow job using the \u003ccode\u003eprojects.locations.jobs.get\u003c/code\u003e method with a regional endpoint, which is the recommended approach over \u003ccode\u003eprojects.jobs.get\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to get a job's state is a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://dataflow.googleapis.com/v1b3/projects/{projectId}/jobs/{jobId}\u003c/code\u003e, using gRPC Transcoding syntax, where \u003ccode\u003eprojectId\u003c/code\u003e and \u003ccode\u003ejobId\u003c/code\u003e are path parameters.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters include \u003ccode\u003eview\u003c/code\u003e to specify the level of detail in the response, and \u003ccode\u003elocation\u003c/code\u003e to indicate the regional endpoint where the job is located.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is needed for this operation, and a successful response will return a \u003ccode\u003eJob\u003c/code\u003e resource containing the requested job's state.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this functionality requires authorization using either the \u003ccode\u003ehttps://www.googleapis.com/auth/compute\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.jobs.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets the state of the specified Cloud Dataflow job.\n\nTo get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.\n\n### HTTP request\n\n`GET https://dataflow.googleapis.com/v1b3/projects/{projectId}/jobs/{jobId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Job](/dataflow/docs/reference/rest/v1b3/projects.jobs#Job).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]