---
title: "Restore an archived AI application"
method: POST
path: "/ai/applications/{application_public_id}/restore"
tags: ["AI Applications"]
---

# Restore an archived AI application

`POST /ai/applications/{application_public_id}/restore`

## 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}/restore`
- Auth: HTTP bearer

Restores an archived application and requests that its retained persistent workspace resume on next access.

## Path parameters

- `application_public_id` string, required

## 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

- `401`
- `403`
- `404`

## Changes

- **2026-09-07** `c2a1f69745e7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/applications/:application_public_id/restore/post.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/3b040526eb43?raw)
