---
title: "Rename an AI application"
method: PATCH
path: "/ai/applications/{application_public_id}"
tags: ["AI Applications"]
---

# Rename an AI application

`PATCH /ai/applications/{application_public_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/applications/{application_public_id}`
- Auth: HTTP bearer

Changes the application's name. Its id, chats, workspace and projects are unchanged.

## Path parameters

- `application_public_id` string, required

## Request body

- RenameApplicationRequest
  - `name` string, required: New name shown for the application. Trimmed; 1 to 200 characters.

## Response `200`

- ApplicationResponse
  - `created_at` string, required
  - `description` string, nullable
  - `name` string, required
  - `projects` ApplicationProjectResponse[], required
    - `automatic_deploy` boolean, required
    - `environments` ApplicationProjectEnvironmentResponse[], required
      - `deployment_state` string, nullable
      - `name` string, required
      - `sleeping` boolean, required
      - `slug` string, required
    - `id` integer, required
    - `is_primary` boolean, required
    - `is_private` boolean, required
    - `last_deployment_at` string, nullable
    - `main_branch` string, required
    - `name` string, required
    - `repository` string, nullable
    - `slug` string, required
  - `public_id` string, required
  - `status` string, required
  - `updated_at` string, required

## Other responses

- `400`: The name is empty or longer than 200 characters
- `401`
- `403`
- `404`

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-20** `79089e9f49ee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/applications/:application_public_id/patch.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
