---
title: "List pull request previews"
method: GET
path: "/api/v1/apps/services/{service_id}/previews"
tags: ["Raff Apps"]
---

# List pull request previews

`GET /api/v1/apps/services/{service_id}/previews`

## Request

- Base URL: `https://api.rafftechnologies.com`
- URL: `https://api.rafftechnologies.com/api/v1/apps/services/{service_id}/previews`
- Auth: API key in header `X-API-Key`

The preview copies of a web app from GitHub, one per open pull request.
Turn previews on with `previews_enabled` in Update app service.

## Path parameters

- `service_id` string, required

## Response `200`

Previews

- object
  - `success` boolean
  - `previews` AppPreview[]
    - `id` string, uuid
    - `service_id` string, uuid
    - `pr_number` integer
    - `pr_title` string
    - `branch` string
    - `head_sha` string
    - `status` 'pending' | 'building' | 'deploying' | 'live' | 'error' | 'paused' | 'deleting' | 'deleted'
    - `status_message` string
    - `url` string
    - `current_deployment_id` string
    - `expires_at` string
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401`: Authentication required
- `404`: Resource not found

## Changes

- **2026-10-19** `e80a4b1b5024`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/apps/services/:service_id/previews/get.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) - [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rafftechnologies/apis/raff-api/revisions/3d30cde0acb4?raw)
