---
title: "Request a presigned upload URL for a new Flink Artifact."
method: POST
path: "/artifact/v1/presigned-upload-url"
tags: ["Presigned Urls (artifact/v1)"]
---

# Request a presigned upload URL for a new Flink Artifact.

`POST /artifact/v1/presigned-upload-url`

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Request a presigned upload URL to upload a Flink Artifact archive.

## Request body

- object — Request schema of the presigned upload URL.
  - `api_version` 'artifact/v1' — APIVersion defines the schema version of this representation of a resource.
  - `kind` 'PresignedUrlRequest' — Kind defines the object this REST resource represents.
  - `id` string — ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object `kinds` or objects of the same `kind` within a different scope/namespace ("space").
  - `metadata` object — ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
    - `self` string, uri, required — Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
    - `resource_name` string, uri — Resource Name is a Uniform Resource Identifier (URI) that is globally unique across space and time. It is represented as a Confluent Resource Name
    - `created_at` string, date-time — The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
    - `updated_at` string, date-time — The date and time at which this object was last updated. It is represented in RFC3339 format and is in UTC.
    - `deleted_at` string, date-time — The date and time at which this object was (or will be) deleted. It is represented in RFC3339 format and is in UTC.
  - `content_format` string, required — Archive format of the Flink Artifact.
  - `cloud` string, required — Cloud provider where the Flink Artifact archive is uploaded.
  - `region` string, required — The Cloud provider region the Flink Artifact archive is uploaded.
  - `environment` string, required — The Environment the uploaded Flink Artifact belongs to.

## Response `200`

Presigned Url.

- object — Request a presigned upload URL for new Flink Artifact. Note that the URL policy expires in one hour. If the policy expires, you can request a new presigned upload URL. ## The Presigned Urls Model <SchemaDefinition schemaRef="#/components/schemas/artifact.v1.PresignedUrl" />
  - `api_version` 'artifact/v1', required — APIVersion defines the schema version of this representation of a resource.
  - `kind` 'PresignedUrl', required — Kind defines the object this REST resource represents.
  - `content_format` string — Content format of the Flink Artifact archive.
  - `cloud` string — Cloud provider where the Flink Artifact archive is uploaded.
  - `region` string — The Cloud provider region the Flink Artifact archive is uploaded.
  - `environment` string — The Environment the uploaded Flink Artifact belongs to.
  - `upload_id` string — Unique identifier of this upload.
  - `upload_url` string, uri — Upload URL for the Flink Artifact archive.
  - `upload_form_data` object — Upload form data of the Flink Artifact. All values should be strings.

## Other responses

- `400` — Bad Request
- `401` — The request lacks valid authentication credentials for this resource.
- `403` — The access credentials were considered insufficient to grant access
- `404` — Not Found
- `429` — Rate Limit Exceeded
- `500` — Oops, something went wrong!

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/confluent/confluent-cloud-apis/revisions/a6a73f98a698/schema)
