---
title: "Update Application"
method: PUT
path: "/preview/legacy/applications/{application_id}"
tags: ["Applications"]
---

# Update Application

`PUT /preview/legacy/applications/{application_id}`

Update an application using workflow data stored in legacy format

## Path parameters

- `application_id` string, uuid, required

## Request body

- LegacyApplicationEditRequest
  - `application` LegacyApplicationEdit, required
    - `flags` LegacyApplicationFlags
      - `is_custom` boolean
      - `is_evaluator` boolean
      - `is_human` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `id` string, uuid, nullable
    - `data` LegacyApplicationDataInput
      - `version` string, nullable
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `schemas` object, nullable
      - `script` object, nullable
      - `parameters` object, nullable
      - `runtime` string, nullable
      - `service` object, nullable
      - `configuration` object, nullable

## Response `200`

Successful Response

- LegacyApplicationResponse
  - `count` integer
  - `application` LegacyApplication
    - `flags` LegacyApplicationFlags
      - `is_custom` boolean
      - `is_evaluator` boolean
      - `is_human` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `created_by_id` string, uuid, nullable
    - `updated_by_id` string, uuid, nullable
    - `deleted_by_id` string, uuid, nullable
    - `slug` string, nullable
    - `id` string, uuid, nullable
    - `data` LegacyApplicationDataOutput
      - `version` string, nullable
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `schemas` object, nullable
      - `script` object, nullable
      - `parameters` object, nullable
      - `runtime` string, nullable
      - `service` object, nullable
      - `configuration` object, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-14** `53da4c9de2b7` — 9 breaking, 2 warning, 15 info
  - removed `#/components/schemas/oss__src__core__shared__dtos__Reference` from the `application/data/anyOf[subschema #1: LegacyApplicationData]/headers/anyOf[subschema #1]/additionalProperties/` request property `anyOf` list
  - request property `application/data/anyOf[subschema #1: LegacyApplicationData]/script` list-of-types was narrowed by removing types `string` from media type `application/json`
  - request property `application/flags/anyOf[subschema #1: LegacyApplicationFlags]/is_custom` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `application/flags/anyOf[subschema #1: LegacyApplicationFlags]/is_evaluator` list-of-types was narrowed by removing types `null` from media type `application/json`
  - …22 more
- **2025-11-05** `e62506c24377` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/preview/legacy/applications/:application_id/put.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenta-ai/apis/agenta-api/revisions/53da4c9de2b7?raw)
