---
title: "Create a Flink JarApplication"
method: POST
path: "/project/{project}/service/{service_name}/flink/jar_application"
tags: ["Service:_Flink"]
---

# Create a Flink JarApplication

`POST /project/{project}/service/{service_name}/flink/jar_application`

> This endpoint **may be changed or removed at any time**. Don't use it in production environments.

## Path parameters

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

## Request body

- ServiceFlinkCreateJarApplicationRequestBody — ServiceFlinkCreateJarApplicationRequestBody
  - `name` string, required — Application name

## Response `200`

Response

- ServiceFlinkCreateJarApplicationResponse — ServiceFlinkCreateJarApplicationResponse
  - `application_versions` object[], required — JarApplicationVersions
    - `created_at` string, required — The creation timestamp of this entity in ISO 8601 format, always in UTC
    - `created_by` string, required — The creator of this entity
    - `file_info` object — Flink JarApplicationVersion FileInfo
      - `file_sha256` string — sha256 of the file if known
      - `file_size` integer — The size of the file in bytes
      - `file_status` 'INITIAL' | 'READY' | 'FAILED' — Indicates whether the uploaded .jar file has been verified by the system and deployment ready
      - `url` string — The pre-signed url of the bucket where the .jar file is uploaded. Becomes null when the JarApplicationVersion is ready or failed.
      - `verify_error_code` integer — In the case file_status is FAILED, the error code of the failure.
      - `verify_error_message` string — In the case file_status is FAILED, may contain details about the failure.
    - `id` string, required — ApplicationVersion ID
    - `version` integer, required — Version number
  - `created_at` string, required — The creation timestamp of this entity in ISO 8601 format, always in UTC
  - `created_by` string, required — The creator of this entity
  - `current_deployment` object — Flink JarApplicationDeployment
    - `created_at` string, required — The creation timestamp of this entity in ISO 8601 format, always in UTC
    - `created_by` string, required — The creator of this entity
    - `entry_class` string — The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter
    - `error_msg` string — Error message describing what caused deployment to fail
    - `id` string, required — Deployment ID
    - `job_id` string — Job ID
    - `last_savepoint` string — Job savepoint
    - `parallelism` integer, required — Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number_of_task_slots), or every new job created will fail.
    - `program_args` string[] — Arguments to pass during Flink job submission through the programArgsList parameter
    - `starting_savepoint` string — Job savepoint
    - `status` 'INITIALIZING' | 'CREATED' | 'RUNNING' | 'FAILING' | 'FAILED' | 'SAVING' | 'CANCELLING_REQUESTED' | 'CANCELLING' | 'CANCELED' | 'SAVING_AND_STOP_REQUESTED' | 'SAVING_AND_STOP' | 'FINISHED' | 'RESTARTING' | 'SUSPENDED' | 'DELETE_REQUESTED' | 'DELETING' | 'RECONCILING', required — Deployment status
    - `version_id` string, required — ApplicationVersion ID
  - `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
  - `id` string, required — Application ID
  - `message` string — Printable result of the request
  - `name` string, required — Application name
  - `updated_at` string, required — The update timestamp of this entity in ISO 8601 format, always in UTC
  - `updated_by` string, required — The latest updater of this entity

## Changes

- **2026-07-26** `b262b3b4c127` — 1 warning
  - added the new `4` enum value to the `application_versions/items/file_info/verify_error_code` response property for the response status `200`

[Change history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/project/:project/service/:service_name/flink/jar_application/post.md)

---

[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-service-production.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/revisions/6577fedfd4a2/schema)
