---
title: "Get a list of supported Flink versions for custom pipelines."
method: GET
path: "/pipelines/custom/flink-versions"
tags: ["Pipeline Operations"]
---

# Get a list of supported Flink versions for custom pipelines.

`GET /pipelines/custom/flink-versions`

## Request

- Base URL: `https://replace-with-account.api.decodable.co/v1alpha2`
- URL: `https://replace-with-account.api.decodable.co/v1alpha2/pipelines/custom/flink-versions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/decodable/apis/decodable-control-plane/docs/pipelines/custom/flink-versions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

A list of Flink versions supported for custom pipelines.

- object
  - `flink_versions` object[]: A list of Flink versions.
    - `version_name` string: The name of the version.
    - `display_name` string: The formatted name, for better readability.
    - `supported_types` PipelineType[]: Whether this is the default Flink version for custom pipelines.
  - `defaults` object: The default Flink versions per pipeline type.
    - `JAVA` string: The default Flink version for Java-based pipelines.
    - `PYTHON` string: The default Flink version for Python-based pipelines.

## Other responses

- `401`: Access denied: Missing or invalid credentials
- `default`: An error has occurred.

---

[API](https://skmtc.dev/decodable/apis/decodable-control-plane.md) - [All operations](https://skmtc.dev/decodable/apis/decodable-control-plane/llms.txt) - [OpenAPI document](https://skmtc.dev/decodable/apis/decodable-control-plane/revisions/9718a3019da8?raw)
