# Get transcription job

> GET https://api.nabrah.ai/api/ext/stt/jobs/{job_id}

Group: Speech to text. Page: https://www.nabrah.ai/en/docs/api-reference/speech-to-text/get-transcription-job

Get one async transcription job by ID. Poll this endpoint after calling `async-transcribe` until `status` is `completed`, then read the transcription from `result`. Authenticate with the `X-API-Key` header.

## Response shape

One job record with its current status and, once finished, the transcription.

- **status**: `queued`, `in_progress`, `completed`, `failed`, or `canceled`.
- **result**: `null` until the job completes. On completion it contains `text_result` (the transcription), `audio_duration`, and `timestamps` (same timing structure as the synchronous transcribe endpoint). Fields: `text_result`, `audio_duration`, `timestamps`.
- **filename**: The original uploaded audio filename.
- **recognition_config**: The recognition settings the job was queued with: `recognition_model`, `end_of_utterance_silence_ms`, `priority_words` and `priority_words_strength`. Fields: `recognition_config`.

## Authorization

- `X-API-Key` (string, header, required): your workspace API key.

## Path parameters

- `job_id` (string, required): The job ID returned by the async-transcribe endpoint.

## Response

### 200 Successful Response

Content type: `application/json`

```json
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "completed",
  "project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "result": {
    "text_result": "string",
    "audio_duration": 0,
    "timestamps": {
      "timestep": [
        0
      ],
      "char": [],
      "word": [],
      "segment": []
    }
  },
  "created_at": "2026-07-23T12:00:00Z",
  "updated_at": "2026-07-23T12:00:00Z",
  "filename": "recording.mp3"
}
```

### 422 Validation Error

Content type: `application/json`

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```

## Request examples

### cURL

```bash
curl --request GET \
  --url 'https://api.nabrah.ai/api/ext/stt/jobs/<job_id>' \
  --header 'X-API-Key: <your-api-key>'
```

### Python

```python
import requests

url = "https://api.nabrah.ai/api/ext/stt/jobs/<job_id>"
headers = {"X-API-Key": "<your-api-key>"}

response = requests.get(url, headers=headers)
response.raise_for_status()
print(response.json())
```

### JavaScript

```javascript
const response = await fetch("https://api.nabrah.ai/api/ext/stt/jobs/<job_id>", {
  method: "GET",
  headers: { "X-API-Key": "<your-api-key>" },
});

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

### Go

```go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.nabrah.ai/api/ext/stt/jobs/<job_id>", nil)
	req.Header.Set("X-API-Key", "<your-api-key>")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}
```
