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

# Get project

` GET /api/v1/projects/{id} `

Get project

## Servers

- ` https://littledemo.com ` — Production

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` bearerAuth `: ` http `

  - HTTP scheme: ` bearer `

  - Live API key, for example `Authorization: Bearer ld_live_...`.

### Alternative 2

- ` cookieAuth `: ` apiKey `

  - Credential: ` better-auth.session_token ` in ` cookie `

  - Dashboard session cookie.

## Parameters

### ` id ` (path, required)

- ` value `: type ` string `

## Responses

### ` 200 ` — Project detail

Content type: ` application/json `

- ` value `: type ` unknown `

  - ` allOf constraint 1 `: type ` object `

    - Required fields: ` id `, ` user_id `, ` name `, ` url `, ` viewport `, ` refresh_schedule `, ` webhook_secret `, ` created_at `, ` updated_at `

    - ` id `: type ` string `

    - ` user_id `: type ` string `

    - ` name `: type ` string `

    - ` url `: type ` string `

    - ` viewport `: type ` string `

    - ` refresh_schedule `: type ` string `

    - ` webhook_secret `: type ` string `; nullable

    - ` signing_secret `: type ` string ` — Returned only on project creation. Store it server-side and rotate if exposed.

    - ` created_at `: type ` string `

    - ` updated_at `: type ` string `

    - ` demo_count `: type ` number `

  - ` allOf constraint 2 `: type ` object `

    - Required fields: ` demos `

    - ` demos `: type ` array `

      - ` array item `: type ` object `

        - Required fields: ` id `, ` title `, ` prompt `, ` status `, ` thumbnail_key `, ` snapshots `, ` video_key `, ` gif_key `, ` duration_ms `, ` format `, ` version `, ` created_at `, ` updated_at `

        - ` id `: type ` string `

        - ` title `: type ` string `; nullable

        - ` prompt `: type ` string `

        - ` status `: type ` string `

        - ` thumbnail_key `: type ` string `; nullable

        - ` snapshots `: type ` string `; nullable

        - ` video_key `: type ` string `; nullable

        - ` gif_key `: type ` string `; nullable

        - ` duration_ms `: type ` number `; nullable

        - ` format `: type ` string `

        - ` version `: type ` number `

        - ` created_at `: type ` string `

        - ` updated_at `: type ` string `

### ` 404 ` — Not found

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` string `

## Request examples

### cURL

```curl
curl -X GET 'https://littledemo.com/api/v1/projects/string' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://littledemo.com/api/v1/projects/string', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://littledemo.com/api/v1/projects/string', headers=headers)
print(response.json())
```