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

# Get Project Status

> Check the current processing status of a video project

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

Get the current processing status of a video project. This is a lightweight endpoint that returns essential status information for monitoring project progress without fetching full project details.

## Response

**projectId** `string`

The unique identifier of the project

**projectType** `string`

Type of project ("clipping", "captions", "reframe", "dubbing", or "transcription")

**source** `string`

Source of the original video ("Youtube", "Upload", or "Generic")

**status** `string`

Current processing status of the project

## Project Status Values

**queued** `status`

Project is queued and waiting to be processed

**processing** `status`

Project is currently being processed by our AI systems

**completed** `status`

Project has finished processing successfully - clips are ready

**failed** `status`

Project processing failed due to an error

**cancelled** `status`

Project was cancelled before completion

## Project Type Values

**clipping** `project-type`

AI-powered short clip generation from long-form videos

**captions** `project-type`

Caption generation and styling for videos

**reframe** `project-type`

Video reframing for different aspect ratios

**dubbing** `project-type`

Voice dubbing and translation services

**transcription** `project-type`

Audio transcription for videos

## Example Request

```bash cURL theme={"system"}
curl -X GET "https://public.reap.video/api/v1/automation/get-project-status?projectId=65f1a2b3c4d5e6f7a8b9c0d1" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
```

```javascript JavaScript theme={"system"}
const projectId = '65f1a2b3c4d5e6f7a8b9c0d1';
const response = await fetch(`https://public.reap.video/api/v1/automation/get-project-status?projectId=${projectId}`, {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const status = await response.json();
console.log('Project status:', status.status);
```

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

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

project_id = '65f1a2b3c4d5e6f7a8b9c0d1'
response = requests.get(
    'https://public.reap.video/api/v1/automation/get-project-status',
    headers=headers,
    params={'projectId': project_id}
)

status = response.json()
print(f"Project {status['projectId']} is {status['status']}")
```

```php PHP theme={"system"}
<?php
$projectId = '65f1a2b3c4d5e6f7a8b9c0d1';
$url = 'https://public.reap.video/api/v1/automation/get-project-status?projectId=' . $projectId;
$ch = curl_init($url);
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);
$status = json_decode($response, true);
echo 'Project status: ' . $status['status'] . "\n";
?>
```

```go Go theme={"system"}
package main
import (
    "fmt"
    "io/ioutil"
    "net/http"
)
func main() {
    projectId := "65f1a2b3c4d5e6f7a8b9c0d1"
    url := "https://public.reap.video/api/v1/automation/get-project-status?projectId=" + projectId
    req, _ := http.NewRequest("GET", url, nil)
    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()
    body, _ := ioutil.ReadAll(resp.Body)
    fmt.Println(string(body))
}
```

```java Java theme={"system"}
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class GetProjectStatusExample {
    public static void main(String[] args) throws Exception {
        String projectId = "65f1a2b3c4d5e6f7a8b9c0d1";
        URL url = new URL("https://public.reap.video/api/v1/automation/get-project-status?projectId=" + projectId);
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
        conn.setRequestMethod("GET");
        conn.setRequestProperty("Authorization", "Bearer YOUR_API_KEY");
        conn.setRequestProperty("Content-Type", "application/json");
        BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        StringBuilder response = new StringBuilder();
        String line;
        while ((line = br.readLine()) != null) {
            response.append(line);
        }
        br.close();
        System.out.println(response.toString());
    }
}
```

## Example Response

**200 OK**

```json theme={"system"}
{
  "projectId": "65f1a2b3c4d5e6f7a8b9c0d1",
  "projectType": "clipping",
  "source": "Upload",
  "status": "processing"
}
```

**404 Not Found**

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

**401 Unauthorized**

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

**429 Too Many Requests**

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

**500 Internal Server Error**

```json theme={"system"}
{
  "detail": "Internal Server Error - Something went wrong on our end"
}
```

## Polling Example

> [!TIP]
>
> **Prefer webhooks over polling.** Set up [webhooks](https://docs.reap.video/api-reference/webhooks.md) to get notified automatically when projects reach a final state, instead of polling this endpoint in a loop.

For cases where polling is needed, use a separate polling loop that calls this endpoint at regular intervals:

```javascript theme={"system"}
async function waitForCompletion(projectId) {
  const pollInterval = 5000; // 5 seconds
  
  while (true) {
    const response = await fetch(`https://public.reap.video/api/v1/automation/get-project-status?projectId=${projectId}`, {
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
      }
    });
    
    const status = await response.json();
    
    if (status.status === 'completed') {
      console.log('Project completed successfully!');
      break;
    } else if (status.status === 'failed') {
      console.log('Project failed');
      break;
    }
    
    console.log('Still processing...');
    await new Promise(resolve => setTimeout(resolve, pollInterval));
  }
}
```

## Processing Times

Typical processing times by project type:

> [card] Clipping Projects
>
> **5-15 minutes** depending on video length and complexity

> [card] Caption Projects
>
> **2-5 minutes** for most video lengths

> [card] Reframe Projects
>
> **3-8 minutes** depending on video length

> [card] Dubbing Projects
>
> **10-20 minutes** depending on video length and language pair

## Rate Limiting

This endpoint allows **60 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).

## Best Practices

> [!TIP]
>
> **Polling Guidelines:**
>
> * Poll every 5-10 seconds for active monitoring
> * Use exponential backoff for long-running projects
> * Handle rate limits gracefully in your polling logic
> * Consider using [webhooks](https://docs.reap.video/api-reference/webhooks.md) for production applications instead of polling

## Common Use Cases

> [card] Progress Monitoring
>
> Track project progress in real-time user interfaces

> [card] Automated Workflows
>
> Build automated systems that wait for project completion

> [card] Status Dashboards
>
> Create monitoring dashboards for multiple projects

> [card] Error Handling
>
> Detect and handle failed projects in your applications

## Next Steps

Based on the project status:

* **Processing**: Continue monitoring or check [Get Project Details](https://docs.reap.video/api-reference/get-project-details.md)
* **Completed**: Retrieve results with [Get Project Clips](https://docs.reap.video/api-reference/get-project-clips.md)
* **Failed**: Review project details and retry if needed


## OpenAPI

````yaml GET /automation/get-project-status
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/get-project-status:
    get:
      summary: Get Project Status
      description: Check the current processing status of a video project
      operationId: getProjectStatus
      parameters:
        - $ref: '#/components/parameters/projectId'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectStatusResponse'
components:
  parameters:
    projectId:
      name: projectId
      in: query
      required: true
      schema:
        type: string
      description: Unique identifier of the project
  schemas:
    ProjectStatusResponse:
      type: object
      properties:
        projectId:
          type: string
        projectType:
          type: string
          enum:
            - clipping
            - captions
            - reframe
            - dubbing
            - transcription
            - editor
        source:
          type: string
          enum:
            - Upload
            - Youtube
            - Vimeo
            - TwitchVod
            - Twitter
            - RumbleEmbed
            - Generic
        status:
          type: string
          enum:
            - queued
            - prepped
            - draft
            - processing
            - finalizing
            - completed
            - invalid
            - expired
            - failed
            - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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