---
title: "Edit Simple Application"
method: PUT
path: "/simple/applications/{application_id}"
tags: ["Applications"]
---

# Edit Simple Application

`PUT /simple/applications/{application_id}`

Edit an application and commit a new revision if configuration changed.

Fields other than `id` in the request body are treated as changes and
produce a new committed revision. Supplying `data` changes the
configuration; supplying only header fields (`flags`, `tags`, `meta`)
still produces a new revision with the updated header but the
existing `data`. Editing the application `name` is currently
disabled and returns `400`.

## Path parameters

- `application_id` string, uuid, required

## Request body

- SimpleApplicationEditRequest — Request body for `PUT /simple/applications/{application_id}`. Commits a new revision on the application's variant whenever fields other than `id` are present. If only `id` is sent, the current state is returned without committing.
  - `application` SimpleApplicationEdit, required
    - `flags` SimpleApplicationFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` boolean
      - `is_managed` boolean
      - `is_custom` boolean
      - `is_llm` boolean
      - `is_hook` boolean
      - `is_code` boolean
      - `is_match` boolean
      - `is_feedback` boolean
      - `is_chat` boolean
      - `has_url` boolean
      - `has_script` boolean
      - `has_handler` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `id` string, uuid, nullable
    - `data` SimpleApplicationDataInput
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `runtime` 'python' | 'typescript' | 'javascript', nullable
      - `script` string, nullable
      - `schemas` JsonSchemasInput
        - `parameters` object, nullable
        - `inputs` object, nullable
        - `outputs` object, nullable
      - `parameters` object, nullable

## Response `200`

Successful Response

- SimpleApplicationResponse — Simple-application single-row response envelope.
  - `count` integer — `1` when the application was found, `0` otherwise.
  - `application` SimpleApplication
    - `flags` SimpleApplicationFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` boolean
      - `is_managed` boolean
      - `is_custom` boolean
      - `is_llm` boolean
      - `is_hook` boolean
      - `is_code` boolean
      - `is_match` boolean
      - `is_feedback` boolean
      - `is_chat` boolean
      - `has_url` boolean
      - `has_script` boolean
      - `has_handler` 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` SimpleApplicationDataOutput
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `runtime` 'python' | 'typescript' | 'javascript', nullable
      - `script` string, nullable
      - `schemas` JsonSchemasOutput
        - `parameters` object, nullable
        - `inputs` object, nullable
        - `outputs` object, nullable
      - `parameters` object, nullable
    - `variant_id` string, uuid, nullable
    - `revision_id` string, uuid, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `a7f9a6823230` — 2 warning
  - removed the optional property `support_id` from the response with the `200` status
  - removed the optional property `support_ts` from the response with the `200` status
- **2026-05-07** `dc41a70e3ad8` — 1 breaking, 3 info
  - removed `#/components/schemas/agenta__sdk__models__shared__Reference` from the `application/data/anyOf[subschema #1: SimpleApplicationData]/headers/anyOf[subschema #1]/additionalProperties/` request property `anyOf` list
  - added `#/components/schemas/Reference` to the `application/data/anyOf[subschema #1: SimpleApplicationData]/headers/anyOf[subschema #1]/additionalProperties/` request property `anyOf` list
  - added `#/components/schemas/Reference` to the `application/anyOf[subschema #1: SimpleApplication]/data/anyOf[subschema #1: SimpleApplicationData]/headers/anyOf[subschema #1]/additionalProperties/` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/agenta__sdk__models__shared__Reference` from the `application/anyOf[subschema #1: SimpleApplication]/data/anyOf[subschema #1: SimpleApplicationData]/headers/anyOf[subschema #1]/additionalProperties/` response property `anyOf` list for the response status `200`
- **2026-04-23** `925e8b901a26` — 2 info
  - added the optional property `support_id` to the response with the `200` status
  - added the optional property `support_ts` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/simple/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-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/06e03dbce2be/schema)
