---
title: "Get details of a flink job in a flink cluster"
method: GET
path: "/flink/{service}/{instance}/jobs/{job_id}"
tags: ["service"]
---

# Get details of a flink job in a flink cluster

`GET /flink/{service}/{instance}/jobs/{job_id}`

## Path parameters

- `service` string, required
- `instance` string, required
- `job_id` string, required

## Response `200`

Get details of a flink job in a flink cluster

- FlinkJobDetails
  - `jid` string — ID of the flink job
  - `name` string — name of the flink job
  - `state` 'INITIALIZING' | 'CREATED' | 'RUNNING' | 'FAILING' | 'FAILED' | 'CANCELLING' | 'CANCELED' | 'FINISHED' | 'RESTARTING' | 'SUSPENDED' | 'RECONCILING' — state of the flink job
  - `start-time` number, float — timestamp of job start time
  - `timestamps` object — timestamps of job state transitions in epoch milliseconds

## Other responses

- `400` — Flink cluster not found
- `500` — Instance failure
- `599` — Temporary issue fetching instance

---

[API](https://skmtc.net/yelp/apis/paasta-api.md) · [All operations](https://skmtc.net/yelp/apis/paasta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yelp/paasta-api/revisions/0f10edc28b60/schema)
