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

# Pobierz szczegóły projektu

> Pobierz publiczne szczegóły projektu, historię przetłumaczonych wersji oraz historię synchronizacji ruchu ust

# Pobierz szczegóły projektu

Pobierz znormalizowany publiczny widok projektu. Użyj tego punktu końcowego, gdy potrzebujesz historii przetłumaczonych wersji, historii synchronizacji ruchu ust, stanu dynamicznych napisów lub stanu publikacji.

W przypadku częstego odpytywania, nadal używaj [Pobierz status tłumaczenia](https://api-docs.voicecheap.ai/docs/pl/api-reference/translation-status.md). Ten punkt końcowy jest bogatszy i celowo zwraca więcej danych.

## Żądanie

### Nagłówki

**x-api-key** `string` *required*

Twój klucz API VoiceCheap. Uzyskaj go z [app.voicecheap.ai/page-api](https://app.voicecheap.ai/page-api).

### Parametry ścieżki

**projectId** `string` *required*

Unikalny identyfikator projektu zwrócony z [Utwórz projekt](https://api-docs.voicecheap.ai/docs/pl/api-reference/create-project.md) lub [Rozpocznij tłumaczenie](https://api-docs.voicecheap.ai/docs/pl/api-reference/translate.md).

## Odpowiedź

**projectId** `string` *required*

Unikalny identyfikator projektu.

**projectName** `string` *required*

Nazwa projektu.

**status** `string` *required*

Publiczny status projektu: `processing`, `success` lub `failed`.

**workflow** `string` *required*

Przepływ pracy API: `translation` lub `transcription`. Przepływy pracy transkrypcji osiągają sukces po zakończeniu transkrypcji źródłowej.

**originalVideoUrl** `string` *required*

URL do oryginalnego przesłanego pliku wideo lub audio.

**originalLanguage** `string` *required*

Wykryty lub określony język oryginalny.

**targetLanguages** `string[]` *required*

Języki docelowe powiązane z projektem.

**duration** `number` *required*

Czas trwania zawartości w sekundach.

**createdAt** `number` *required*

Znacznik czasu Unix utworzenia projektu.

**progress** `object` *required*

Bieżący postęp na poziomie projektu.

**właściwości postępu**

**progress.step** `string`

Bieżący krok tworzenia lub transkrypcji projektu.

**progress.transcriptionProgress** `number`

Przybliżony procent postępu tworzenia/transkrypcji projektu.

**progress.transcriptionStatus** `string` *required*

Status transkrypcji źródłowej: `processing`, `success` lub `failed`.

**translations** `array` *required*

Historia przetłumaczonych wersji, posortowana od najnowszej.

**właściwości tłumaczenia**

**translations\[].workId** `string`

Identyfikator pracy tłumaczeniowej.

**translations\[].translatedVersionId** `string`

Identyfikator przetłumaczonej wersji.

**translations\[].targetLanguage** `string`

Język docelowy dla tej wersji.

**translations\[].status** `string`

Status wersji tłumaczenia: `in-progress`, `completed`, `not-started` lub `failed`.

**translations\[].currentStep** `string`

Bieżący krok dubbing dla tej wersji.

**translations\[].progress** `number`

Przybliżony procent postępu dubbing.

**translations\[].createdAt** `number`

Znacznik czasu utworzenia tej przetłumaczonej wersji.

**translations\[].completedAt** `number`

Znacznik czasu zakończenia, jeśli jest dostępny.

**translations\[].failedAt** `number`

Znacznik czasu błędu, jeśli jest dostępny.

**translations\[].timedOutAt** `number`

Znacznik czasu przekroczenia limitu czasu, jeśli jest dostępny.

**translations\[].translatedVideoUrl** `string`

URL przetłumaczonego wideo.

**translations\[].translatedAudioUrl** `string`

Adres URL przetłumaczonego dźwięku.

**translations\[].settings** `object`

Ustawienia publiczne użyte dla przetłumaczonej wersji, takie jak napisy, SmartSync, dźwięk w tle oraz tryb jakości.

**translations\[].settings.dubbingMode** `string`

`translate`, gdy VoiceCheap przetłumaczył transkrypcję silnikiem tłumaczenia i SmartSync, `dub-only`, gdy tekst pochodzi z dostarczonego `translatedSrt` (zobacz [Dubbing projektu](https://api-docs.voicecheap.ai/docs/pl/api-reference/dub-project.md)). Wersje samego dubbingu zawsze zgłaszają `smartSync: false`.

**translations\[].error** `object`

Kod błędu i komunikat w przypadku niepowodzenia przetłumaczonej wersji.

**translations\[].lipSync** `object`

Historia synchronizacji ruchu ust dla przetłumaczonej wersji, dostępna tylko wtedy, gdy zażądano synchronizacji ruchu ust.

**właściwości lipSync**

**translations\[].lipSync.latest** `object`

Ostatnia próba synchronizacji ruchu ust.

**translations\[].lipSync.history** `array`

Wszystkie próby synchronizacji ruchu ust dla tej przetłumaczonej wersji, w kolejności tworzenia.

**translations\[].lipSync.history\[].jobId** `string`

Identyfikator zadania synchronizacji ruchu ust.

**translations\[].lipSync.history\[].status** `string`

Status synchronizacji ruchu ust: `PENDING`, `PROCESSING`, `COMPLETED`, `FAILED`, `REJECTED` lub `CANCELED`.

**translations\[].lipSync.history\[].videoUrl** `string`

Adres URL wideo z synchronizacją ruchu ust po zakończeniu.

**translations\[].lipSync.history\[].type** `string`

Tryb synchronizacji ruchu ust: `standard`, `pro` lub `studio`.

**translations\[].lipSync.history\[].activeSpeakerDetectionEnabled** `boolean`

Czy wykrywanie aktywnego mówcy było włączone dla tej próby.

**translations\[].dynamicSubtitles** `object`

Stan dynamicznych napisów, gdy są dostępne.

**translations\[].publicationAttempts** `array`

Stan publicznej próby publikacji, gdy jest dostępny.

**translations\[].publishedVideos** `array`

Publiczne odniesienia do opublikowanego wideo, gdy są dostępne.

## Przykład

```bash cURL theme={null}
curl -X GET "https://api.voicecheap.ai/v1/projects/abc123-def456-ghi789" \
  -H "x-api-key: vc_your-api-key"
```

```json Response theme={null}
{
  "projectId": "abc123-def456-ghi789",
  "projectName": "Launch Demo",
  "status": "success",
  "workflow": "translation",
  "originalVideoUrl": "https://storage.example.com/input.mp4",
  "originalLanguage": "en",
  "targetLanguages": ["french"],
  "duration": 120,
  "createdAt": 1791280000000,
  "progress": {
    "step": "done",
    "transcriptionProgress": 100,
    "transcriptionStatus": "success"
  },
  "translations": [
    {
      "workId": "work_123",
      "translatedVersionId": "version_456",
      "targetLanguage": "french",
      "status": "completed",
      "currentStep": "done",
      "progress": 100,
      "createdAt": 1791280200000,
      "completedAt": 1791280800000,
      "translatedVideoUrl": "https://storage.example.com/translated.mp4",
      "translatedAudioUrl": "https://storage.example.com/translated.mp3",
      "settings": {
        "voiceCloning": true,
        "uploadType": "video",
        "keepBackgroundMusic": true,
        "keepOriginalVoice": false,
        "originalVoiceVolume": 30,
        "subtitles": {
          "isEnable": true,
          "source": "translated"
        },
        "smartSync": true,
        "dubbingMode": "translate",
        "voiceIsolatorOption": "realistic",
        "translationQualityMode": "max"
      },
      "lipSync": {
        "latest": {
          "jobId": "lip_789",
          "status": "COMPLETED",
          "videoUrl": "https://storage.example.com/lipsync.mp4",
          "errorMessage": null,
          "type": "pro",
          "createdAt": "2026-06-08T10:00:00.000Z",
          "completedAt": "2026-06-08T10:20:00.000Z",
          "activeSpeakerDetectionEnabled": true
        },
        "history": [
          {
            "jobId": "lip_789",
            "status": "COMPLETED",
            "videoUrl": "https://storage.example.com/lipsync.mp4",
            "errorMessage": null,
            "type": "pro",
            "createdAt": "2026-06-08T10:00:00.000Z",
            "completedAt": "2026-06-08T10:20:00.000Z",
            "activeSpeakerDetectionEnabled": true
          }
        ]
      }
    }
  ]
}
```

## Błędy

| Status | Kod | Opis |
| - | - | - |
| 401 | `MISSING_API_KEY` | Wymagany jest klucz API |
| 401 | `INVALID_API_KEY` | Podany klucz API jest nieprawidłowy |
| 403 | `FORBIDDEN` | Brak uprawnień dostępu do projektu |
| 404 | `PROJECT_NOT_FOUND` | Projekt nie istnieje |
| 429 | `RATE_LIMIT_EXCEEDED` | Zbyt wiele żądań |
| 500 | `INTERNAL_ERROR` | Nieoczekiwany błąd serwera |


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