---
title: "GET /v1b3/projects/{projectId}/jobs/{jobId}/messages"
method: GET
path: "/v1b3/projects/{projectId}/jobs/{jobId}/messages"
tags: ["projects"]
---

# GET /v1b3/projects/{projectId}/jobs/{jobId}/messages

`GET /v1b3/projects/{projectId}/jobs/{jobId}/messages`

## Request

- Base URL: `https://dataflow.googleapis.com`
- URL: `https://dataflow.googleapis.com/v1b3/projects/{projectId}/jobs/{jobId}/messages`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/compute`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/compute`
- TypeScript: <https://skmtc.dev/google/apis/dataflow/docs/v1b3/projects/:projectId/jobs/:jobId/messages/get.ts> (a function with typed inputs; its response is checked against the schema)

Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.messages.list` permission on the job.

## Path parameters

- `projectId` string, required
- `jobId` string, required

## Query parameters

- `endTime` string, google-datetime
- `location` string
- `minimumImportance` 'JOB_MESSAGE_IMPORTANCE_UNKNOWN' | 'JOB_MESSAGE_DEBUG' | 'JOB_MESSAGE_DETAILED' | 'JOB_MESSAGE_BASIC' | 'JOB_MESSAGE_WARNING' | 'JOB_MESSAGE_ERROR'
- `pageSize` integer
- `pageToken` string
- `startTime` string, google-datetime

## Response `200`

Successful response

- ListJobMessagesResponse: Response to a request to list job messages.
  - `autoscalingEvents` AutoscalingEvent[]: Autoscaling events in ascending timestamp order.
    - `currentNumWorkers` string, int64: The current number of workers the job has.
    - `description` StructuredMessage: A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption.
      - `messageKey` string: Identifier for this message type. Used by external systems to internationalize or personalize message.
      - `messageText` string: Human-readable version of message.
      - `parameters` Parameter[]: The structured data associated with this message.
        - `key` string: Key or name for this parameter.
        - `value` unknown
    - `eventType` 'TYPE_UNKNOWN' | 'TARGET_NUM_WORKERS_CHANGED' | 'CURRENT_NUM_WORKERS_CHANGED' | 'ACTUATION_FAILURE' | 'NO_CHANGE': The type of autoscaling event to report.
    - `targetNumWorkers` string, int64: The target number of workers the worker pool wants to resize to use.
    - `time` string, google-datetime: The time this event was emitted to indicate a new target or current num_workers value.
    - `workerPool` string: A short and friendly name for the worker pool this event refers to.
  - `jobMessages` JobMessage[]: Messages in ascending timestamp order.
    - `id` string: Deprecated.
    - `messageImportance` 'JOB_MESSAGE_IMPORTANCE_UNKNOWN' | 'JOB_MESSAGE_DEBUG' | 'JOB_MESSAGE_DETAILED' | 'JOB_MESSAGE_BASIC' | 'JOB_MESSAGE_WARNING' | 'JOB_MESSAGE_ERROR': Importance level of the message.
    - `messageText` string: The text of the message.
    - `time` string, google-datetime: The timestamp of the message.
  - `nextPageToken` string: The token to obtain the next page of results if there are more.

## Changes

- **2026-10-21** `69a3fb1fef85`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/compute` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/compute` was removed from the endpoint's security scheme `Oauth2c`
- **2026-10-15** `e94d44227b2e`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/compute` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/compute` was removed from the endpoint's security scheme `Oauth2c`
- …earlier changes not shown

[Operation history](https://skmtc.dev/google/apis/dataflow/changes/v1b3/projects/:projectId/jobs/:jobId/messages/get.md)

---

[API](https://skmtc.dev/google/apis/dataflow.md) - [All operations](https://skmtc.dev/google/apis/dataflow/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dataflow/revisions/8dcb888104b7?raw)
