---
title: "Get a Flink job info"
method: GET
path: "/project/{project}/service/{service_name}/flink/job/{job_id}"
tags: ["Service:_Flink"]
---

# Get a Flink job info

`GET /project/{project}/service/{service_name}/flink/job/{job_id}`

## Request

- Base URL: `https://api.aiven.io/v1`
- URL: `https://api.aiven.io/v1/project/{project}/service/{service_name}/flink/job/{job_id}`
- Auth: HTTP bearer and OAuth 2
  - Authorization code: `https://console.aiven.io/oauth/authorize`
  - Token URL: `https://api.aiven.io/v1/oauth2/token` scopes: `services:read`

## Path parameters

- `project` string, required
- `service_name` string, required
- `job_id` string, required

## Response `200`

Response

- ServiceFlinkJobDetailsResponse: ServiceFlinkJobDetailsResponse
  - `duration` integer: Duration of the job
  - `end\-time` integer: End time of the job
  - `errors` object[]: List of errors occurred during request processing
    - `message` string, required: Printable error message
    - `more_info` string: URL to the documentation of the error
    - `status` integer, required: HTTP error status code
  - `isStoppable` boolean: Whether the job is stoppable
  - `jid` string: Job ID
  - `maxParallelism` integer: Max parallelism
  - `message` string: Printable result of the request
  - `name` string: Job name
  - `now` integer: Epoch time
  - `plan` object: Plan
  - `start\-time` integer: Start time epoch
  - `state` 'INITIALIZING' | 'CREATED' | 'RUNNING' | 'FAILING' | 'FAILED' | 'CANCELLING' | 'CANCELED' | 'FINISHED' | 'RESTARTING' | 'SUSPENDED' | 'RECONCILING': Job state
  - `status\-counts` object: Status counts
    - `CANCELED` integer: CANCELED
    - `CANCELING` integer: CANCELING
    - `CREATED` integer: CREATED
    - `DEPLOYING` integer: DEPLOYING
    - `FAILED` integer: FAILED
    - `FINISHED` integer: FINISHED
    - `INITIALIZING` integer: INITIALIZING
    - `RECONCILING` integer: RECONCILING
    - `RUNNING` integer: RUNNING
    - `SCHEDULED` integer: SCHEDULED
  - `timestamps` object: Timestamps
  - `vertices` object[]: Vertices

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) - [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aiven/apis/aiven-api-documentation/revisions/562453405db0?raw)
