> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reap.video/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Project

> Update a project's title

> **For AI agents:** a documentation index is at [/llms.txt](https://docs.reap.video/llms.txt). Every page is also available as markdown, just append `.md` to the URL.

## Overview

Update the title of an existing project. Projects that are still processing cannot be updated.

## Rate Limiting

This endpoint allows **30 requests per minute per API key**. Each endpoint has its own budget, so this allowance is not shared with the rest of the API — see [Rate limiting](https://docs.reap.video/api-reference/2_authentication.md#rate-limiting).

> [!NOTE]
>
> Cannot update projects that are still processing. Wait for the project to reach `completed` or `failed` status before updating.

> [!NOTE]
>
> A cancelled project can't be renamed. The API returns `400` — *"This project was cancelled and can no longer be modified or published."*

## Response

**id** `string`

Unique project identifier

**title** `string`

Updated project title

**thumbnail** `string`

Thumbnail URL for the project

**billedDuration** `number`

Minutes billed for this project: the processed part, rounded to the nearest minute (at least 1)

**status** `string`

Current processing status

**projectType** `string`

Type of project

**source** `string`

Source of the video content

**genre** `string`

Video genre used for AI analysis

**topics** `array`

Array of identified topics in the video

**clipDurations** `array`

Array of clip duration preferences

**selectedStart** `number`

Start time in seconds for processing (null if entire video)

**selectedEnd** `number`

End time in seconds for processing (null if entire video)

**exportResolution** `integer`

Output resolution for the project

**exportOrientation** `string`

Output orientation

**captionsPreset** `string`

Caption style preset ID (null if captions disabled)

**enableCaptions** `boolean`

Whether captions are enabled

**enableEmojis** `boolean`

Whether emojis are added to captions

**enableHighlights** `boolean`

Whether keyword highlighting is enabled

**language** `string`

Primary language of the video content

**dubbingLanguage** `string`

Target dubbing language (null if not applicable)

**translateTranscription** `boolean`

Whether transcription is translated

**translationLanguages** `array`

Array of languages for translation

**transcriptionScript** `string`

Script format for transcription ("native" or "roman")

**metadata** `object`

Video file metadata including duration, resolution, format, etc.

**urls** `object`

Project URLs and assets

**createdAt** `integer`

Unix timestamp when the project was created

**updatedAt** `integer`

Unix timestamp when the project was last updated

## Example Request

```bash cURL theme={"system"}
curl -X POST "https://public.reap.video/api/v1/automation/update-project" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "projectId": "65f1a2b3c4d5e6f7a8b9c0d2",
    "title": "My Updated Title"
  }'
```

```javascript JavaScript theme={"system"}
const response = await fetch('https://public.reap.video/api/v1/automation/update-project', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    projectId: '65f1a2b3c4d5e6f7a8b9c0d2',
    title: 'My Updated Title'
  })
});

const project = await response.json();
console.log(`Updated: ${project.title}`);
```

```python Python theme={"system"}
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
}

data = {
    'projectId': '65f1a2b3c4d5e6f7a8b9c0d2',
    'title': 'My Updated Title'
}

response = requests.post(
    'https://public.reap.video/api/v1/automation/update-project',
    headers=headers,
    json=data
)

project = response.json()
print(f"Updated: {project['title']}")
```

```php PHP theme={"system"}
<?php
$data = [
    'projectId' => '65f1a2b3c4d5e6f7a8b9c0d2',
    'title' => 'My Updated Title'
];

$ch = curl_init('https://public.reap.video/api/v1/automation/update-project');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: Bearer YOUR_API_KEY',
    'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$project = json_decode($response, true);
echo 'Updated: ' . $project['title'] . "\n";
?>
```

```go Go theme={"system"}
package main
import (
    "bytes"
    "encoding/json"
    "fmt"
    "io/ioutil"
    "net/http"
)
func main() {
    data := map[string]string{
        "projectId": "65f1a2b3c4d5e6f7a8b9c0d2",
        "title":     "My Updated Title",
    }
    body, _ := json.Marshal(data)
    req, _ := http.NewRequest("POST", "https://public.reap.video/api/v1/automation/update-project", bytes.NewBuffer(body))
    req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
    req.Header.Set("Content-Type", "application/json")
    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()
    respBody, _ := ioutil.ReadAll(resp.Body)
    fmt.Println(string(respBody))
}
```

```java Java theme={"system"}
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
public class UpdateProjectExample {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://public.reap.video/api/v1/automation/update-project");
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
        conn.setRequestMethod("POST");
        conn.setRequestProperty("Authorization", "Bearer YOUR_API_KEY");
        conn.setRequestProperty("Content-Type", "application/json");
        conn.setDoOutput(true);
        String jsonBody = "{\"projectId\":\"65f1a2b3c4d5e6f7a8b9c0d2\",\"title\":\"My Updated Title\"}";
        try (OutputStream os = conn.getOutputStream()) {
            os.write(jsonBody.getBytes("utf-8"));
        }
        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"));
        StringBuilder response = new StringBuilder();
        String responseLine;
        while ((responseLine = br.readLine()) != null) {
            response.append(responseLine.trim());
        }
        System.out.println(response.toString());
    }
}
```

## Example Response

**200 OK**

```json theme={"system"}
{
  "id": "65f1a2b3c4d5e6f7a8b9c0d2",
  "title": "My Updated Title",
  "thumbnail": "https://cdn.reap.video/thumbnails/65f1a2b3c4d5e6f7a8b9c0d2.jpg",
  "billedDuration": 30,
  "status": "completed",
  "projectType": "clipping",
  "source": "Upload",
  "genre": "talking",
  "topics": ["AI", "Technology"],
  "clipDurations": [],
  "selectedStart": 0,
  "selectedEnd": null,
  "exportResolution": 1080,
  "exportOrientation": "portrait",
  "captionsPreset": "system_beasty",
  "enableCaptions": true,
  "enableEmojis": true,
  "enableHighlights": true,
  "language": "en",
  "dubbingLanguage": null,
  "translateTranscription": false,
  "translationLanguages": [],
  "transcriptionScript": "native",
  "metadata": {
    "duration": 1800.5,
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "bitrate": 5000000,
    "size": 450000000,
    "codec": "h264"
  },
  "urls": {
    "projectUrl": "https://app.reap.video/project/65f1a2b3c4d5e6f7a8b9c0d2",
    "downloadUrl": "https://cdn.reap.video/downloads/65f1a2b3c4d5e6f7a8b9c0d2.zip"
  },
  "createdAt": 1710000000,
  "updatedAt": 1710005000
}
```

**400 Bad Request**

```json theme={"system"}
{
  "detail": "Cannot update a project that is still processing"
}
```

**401 Unauthorized**

```json theme={"system"}
{
  "detail": "Unauthorized - Invalid or missing API key"
}
```

**404 Not Found**

```json theme={"system"}
{
  "detail": "Project not found"
}
```

**429 Too Many Requests**

```json theme={"system"}
{
  "error": "Rate limit exceeded: 30 per 1 minute"
}
```


## OpenAPI

````yaml POST /automation/update-project
openapi: 3.1.0
info:
  title: Reap Automation API
  description: AI-powered video processing automation API
  version: 1.0.0
servers:
  - url: https://public.reap.video/api/v1
security:
  - bearerAuth: []
paths:
  /automation/update-project:
    post:
      summary: Update Project
      description: Update the title of a project
      operationId: updateProject
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationProject'
components:
  schemas:
    UpdateProjectRequest:
      type: object
      required:
        - projectId
        - title
      properties:
        projectId:
          type: string
          description: ID of the project to update
        title:
          type: string
          description: New project title (max 80 characters)
    AutomationProject:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        thumbnail:
          type: string
        billedDuration:
          type: number
        status:
          type: string
          enum:
            - queued
            - prepped
            - draft
            - processing
            - finalizing
            - completed
            - invalid
            - expired
            - failed
            - error
        projectType:
          type: string
          enum:
            - clipping
            - captions
            - reframe
            - dubbing
            - transcription
            - editor
        source:
          type: string
          enum:
            - Upload
            - Youtube
            - Vimeo
            - TwitchVod
            - Twitter
            - RumbleEmbed
            - Generic
        genre:
          $ref: '#/components/schemas/VideoGenre'
        topics:
          type: array
          items:
            type: string
        clipDurations:
          type: array
          items:
            type: array
            items:
              type: integer
        selectedStart:
          type: number
          nullable: true
          minimum: 0
        selectedEnd:
          type: number
          nullable: true
          minimum: 0
        exportResolution:
          type: integer
        exportOrientation:
          $ref: '#/components/schemas/VideoOrientation'
        captionsPreset:
          type: string
          nullable: true
        enableCaptions:
          type: boolean
        enableEmojis:
          type: boolean
        enableHighlights:
          type: boolean
        language:
          type: string
          nullable: true
        dubbingLanguage:
          type: string
          nullable: true
        translateTranscription:
          type: boolean
        translationLanguages:
          type: array
          items:
            type: string
        transcriptionScript:
          $ref: '#/components/schemas/TranscriptionScript'
        metadata:
          $ref: '#/components/schemas/VideoFileMeta'
        urls:
          $ref: '#/components/schemas/ProjectUrls'
        createdAt:
          type: integer
        updatedAt:
          type: integer
    VideoGenre:
      type: string
      enum:
        - talking
        - screenshare
        - gaming
      default: talking
    VideoOrientation:
      type: string
      enum:
        - landscape
        - portrait
        - square
    TranscriptionScript:
      type: string
      enum:
        - native
        - roman
      default: native
    VideoFileMeta:
      type: object
      properties:
        width:
          type: integer
        height:
          type: integer
        aspectRatio:
          type: string
        size:
          type: number
        bitrate:
          type: number
        fps:
          type: number
        duration:
          type: number
        rotation:
          type: integer
        resolution:
          type: integer
        codec:
          type: string
        codecFullName:
          type: string
        codecTag:
          type: string
        format:
          type: string
        formatFullName:
          type: string
    ProjectUrls:
      type: object
      description: >-
        Presigned URLs for the project's assets. URLs expire — always use the
        most recent API response. The transcription_* subtitle/text exports are
        only present on transcription projects.
      properties:
        videoFile:
          type: string
          description: Presigned URL of the processed source video
        audioFile:
          type: string
          description: Presigned URL of the extracted audio track
        transcription:
          type: string
          description: >-
            Presigned URL of the word-level transcript JSON (the translated
            version when translation ran). Lets API consumers audit content
            without video playback.
        transcription_srt:
          type: string
          description: SRT subtitles — transcription projects only
        transcription_vtt:
          type: string
          description: WebVTT subtitles — transcription projects only
        transcription_csv:
          type: string
          description: CSV transcript — transcription projects only
        transcription_txt:
          type: string
          description: Plain-text transcript — transcription projects only
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.