# Manage transcripts

Read, list and delete your transcripts, who can read which, and how long they are kept.

A transcript stays readable by its id for 7 days: read it again, list what you have, export it ([Exports](https://platform.vatis.tech/docs/batch/exports)) or delete it. A live session leaves no transcript.

`GET /v1/transcripts/{id}`

One transcript, in any status.

`GET /v1/transcripts`

Your transcripts, newest first, without their words and segments.

`DELETE /v1/transcripts/{id}`

Deletes a transcript and its audio, and stops its job if it still runs.

## Read one

```bash
ID=tr_ae35f8db719b4d9c   # the id of your transcript
curl -sS -H "Authorization: Bearer $VATIS_KEY" https://api.eu.vatis.tech/v1/transcripts/$ID
```

```javascript
const transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
const url = `https://api.eu.vatis.tech/v1/transcripts/${transcriptId}`;
const response = await fetch(url, {
  headers: { Authorization: `Bearer ${process.env.VATIS_KEY}` },
});
const answer = await response.text();
if (!response.ok) {
  console.error(`${response.status}: ${answer}`);
  process.exit(1);
}
console.log(answer);
```

```go
package main

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

func main() {
	transcriptID := "tr_ae35f8db719b4d9c" // the id of your transcript
	url := "https://api.eu.vatis.tech/v1/transcripts/" + transcriptID

	request, err := http.NewRequest("GET", url, nil)
	check(err)
	request.Header.Set("Authorization", "Bearer "+os.Getenv("VATIS_KEY"))

	response, err := http.DefaultClient.Do(request)
	check(err)
	defer response.Body.Close()

	answer, err := io.ReadAll(response.Body)
	check(err)
	if response.StatusCode >= 400 {
		check(fmt.Errorf("%d: %s", response.StatusCode, answer))
	}
	fmt.Println(string(answer))
}

// check stops the program on an error.
func check(err error) {
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
}
```

```python
import os

import httpx

transcript_id = "tr_ae35f8db719b4d9c"  # the id of your transcript
url = f"https://api.eu.vatis.tech/v1/transcripts/{transcript_id}"
headers = {"Authorization": f"Bearer {os.environ['VATIS_KEY']}"}

response = httpx.get(url, headers=headers, timeout=60)
if response.is_error:
    raise SystemExit(f"{response.status_code}: {response.text}")
print(response.text)
```

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Sample {
    public static void main(String[] args) throws Exception {
        String transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
        String url = "https://api.eu.vatis.tech/v1/transcripts/" + transcriptId;

        HttpRequest request = HttpRequest.newBuilder(URI.create(url))
            .header("Authorization", "Bearer " + System.getenv("VATIS_KEY"))
            .build();
        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        if (response.statusCode() >= 400) {
            System.err.println(response.statusCode() + ": " + response.body());
            System.exit(1);
        }
        System.out.println(response.body());
    }
}
```

```csharp
using System.Net.Http.Headers;

var transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
var url = $"https://api.eu.vatis.tech/v1/transcripts/{transcriptId}";

using var http = new HttpClient();
var apiKey = Environment.GetEnvironmentVariable("VATIS_KEY");
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", apiKey);

using var response = await http.GetAsync(url);
var answer = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
{
    Console.Error.WriteLine($"{(int)response.StatusCode}: {answer}");
    return 1;
}
Console.WriteLine(answer);
return 0;
```

**Expected result:** the transcript, whole once it is `completed`, or as in [While it runs](https://platform.vatis.tech/docs/batch/send-now-collect-later#while-it-runs). An unknown id, or one deleted or past its 7 days: `404` `not_found`.

## List them

```bash
curl -sS -H "Authorization: Bearer $VATIS_KEY" "https://api.eu.vatis.tech/v1/transcripts?limit=10&status=completed"
```

```javascript
const params = new URLSearchParams({ limit: "10", status: "completed" });
const response = await fetch(`https://api.eu.vatis.tech/v1/transcripts?${params}`, {
  headers: { Authorization: `Bearer ${process.env.VATIS_KEY}` },
});
const answer = await response.text();
if (!response.ok) {
  console.error(`${response.status}: ${answer}`);
  process.exit(1);
}
console.log(answer);
```

```go
package main

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

func main() {
	url := "https://api.eu.vatis.tech/v1/transcripts?limit=10&status=completed"

	request, err := http.NewRequest("GET", url, nil)
	check(err)
	request.Header.Set("Authorization", "Bearer "+os.Getenv("VATIS_KEY"))

	response, err := http.DefaultClient.Do(request)
	check(err)
	defer response.Body.Close()

	answer, err := io.ReadAll(response.Body)
	check(err)
	if response.StatusCode >= 400 {
		check(fmt.Errorf("%d: %s", response.StatusCode, answer))
	}
	fmt.Println(string(answer))
}

// check stops the program on an error.
func check(err error) {
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
}
```

```python
import os

import httpx

url = "https://api.eu.vatis.tech/v1/transcripts"
headers = {"Authorization": f"Bearer {os.environ['VATIS_KEY']}"}
params = {"limit": "10", "status": "completed"}

response = httpx.get(url, headers=headers, params=params, timeout=60)
if response.is_error:
    raise SystemExit(f"{response.status_code}: {response.text}")
print(response.text)
```

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Sample {
    public static void main(String[] args) throws Exception {
        String url = "https://api.eu.vatis.tech/v1/transcripts?limit=10&status=completed";

        HttpRequest request = HttpRequest.newBuilder(URI.create(url))
            .header("Authorization", "Bearer " + System.getenv("VATIS_KEY"))
            .build();
        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        if (response.statusCode() >= 400) {
            System.err.println(response.statusCode() + ": " + response.body());
            System.exit(1);
        }
        System.out.println(response.body());
    }
}
```

```csharp
using System.Net.Http.Headers;

var url = "https://api.eu.vatis.tech/v1/transcripts?limit=10&status=completed";

using var http = new HttpClient();
var apiKey = Environment.GetEnvironmentVariable("VATIS_KEY");
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", apiKey);

using var response = await http.GetAsync(url);
var answer = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
{
    Console.Error.WriteLine($"{(int)response.StatusCode}: {answer}");
    return 1;
}
Console.WriteLine(answer);
return 0;
```

**Expected result:** up to 10 transcripts, each without `words`, `segments` and `exports` (trimmed):

```json
{"transcripts": [
  {"id": "tr_a7ffc7e98eec4f32", "status": "completed", "model_id": "vatis_ro_v9", "language_code": "ro",
   "created_at": "2026-11-12T09:57:05Z", "completed_at": "2026-11-12T09:57:08Z", "duration_s": 120.0,
   "processing_s": 2.53, "metadata": {"case": "2026-118"}, "text": "Bună ziua, ...", "speakers": ["speaker_0", "speaker_1"]},
  ...
 ],
 "next": "tr_5d0c2a9e1b7f4c38"}
```

| Parameter | Values | Default | What it does |
|---|---|---|---|
| `limit` | 1 to 100 | `50` | Transcripts per page. |
| `after` | a transcript id |  | The page after this one: pass the previous page's `next`. |
| `status` | `queued`, `processing`, `completed`, `failed` |  | Only transcripts in this status. |
| `include_text` | `true`, `false` | `true` | `false`: the rows without `text` (and each channel's `text`), for a list to choose from. |

- `next` is `null` on the last page; otherwise pass it as `after`.
- A `limit` out of range, an unknown `after`, another `status` or `include_text` value, or an unknown parameter: `400` `invalid_parameter`. An empty value counts as not sent.

## Delete one

The transcript goes with its audio, and a job still running is stopped. The answer has no body, so the code prints its status (`-w` in cURL).

```bash
ID=tr_ae35f8db719b4d9c   # the id of your transcript
curl -sS -H "Authorization: Bearer $VATIS_KEY" -X DELETE -w "%{http_code}\n" https://api.eu.vatis.tech/v1/transcripts/$ID
```

```javascript
const transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
const url = `https://api.eu.vatis.tech/v1/transcripts/${transcriptId}`;
const response = await fetch(url, {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.VATIS_KEY}` },
});
if (!response.ok) {
  console.error(`${response.status}: ${await response.text()}`);
  process.exit(1);
}
console.log(response.status);
```

```go
package main

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

func main() {
	transcriptID := "tr_ae35f8db719b4d9c" // the id of your transcript
	url := "https://api.eu.vatis.tech/v1/transcripts/" + transcriptID

	request, err := http.NewRequest("DELETE", url, nil)
	check(err)
	request.Header.Set("Authorization", "Bearer "+os.Getenv("VATIS_KEY"))

	response, err := http.DefaultClient.Do(request)
	check(err)
	defer response.Body.Close()

	answer, err := io.ReadAll(response.Body)
	check(err)
	if response.StatusCode >= 400 {
		check(fmt.Errorf("%d: %s", response.StatusCode, answer))
	}
	fmt.Println(response.StatusCode)
}

// check stops the program on an error.
func check(err error) {
	if err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
}
```

```python
import os

import httpx

transcript_id = "tr_ae35f8db719b4d9c"  # the id of your transcript
url = f"https://api.eu.vatis.tech/v1/transcripts/{transcript_id}"
headers = {"Authorization": f"Bearer {os.environ['VATIS_KEY']}"}

response = httpx.delete(url, headers=headers, timeout=60)
if response.is_error:
    raise SystemExit(f"{response.status_code}: {response.text}")
print(response.status_code)
```

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Sample {
    public static void main(String[] args) throws Exception {
        String transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
        String url = "https://api.eu.vatis.tech/v1/transcripts/" + transcriptId;

        HttpRequest request = HttpRequest.newBuilder(URI.create(url))
            .header("Authorization", "Bearer " + System.getenv("VATIS_KEY"))
            .DELETE()
            .build();
        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        if (response.statusCode() >= 400) {
            System.err.println(response.statusCode() + ": " + response.body());
            System.exit(1);
        }
        System.out.println(response.statusCode());
    }
}
```

```csharp
using System.Net.Http.Headers;

var transcriptId = "tr_ae35f8db719b4d9c"; // the id of your transcript
var url = $"https://api.eu.vatis.tech/v1/transcripts/{transcriptId}";

using var http = new HttpClient();
var apiKey = Environment.GetEnvironmentVariable("VATIS_KEY");
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", apiKey);

using var response = await http.DeleteAsync(url);
var answer = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
{
    Console.Error.WriteLine($"{(int)response.StatusCode}: {answer}");
    return 1;
}
Console.WriteLine((int)response.StatusCode);
return 0;
```

**Expected result:** `204`. Read again, the transcript is `404` `not_found`. The audio stays counted in your usage, and its Activity row stays, with `deleted_at` ([Usage](https://platform.vatis.tech/docs/usage)).

## Who sees which transcripts

- An **Admin** key reads, lists and deletes every transcript of the workspace, those of your other applications and colleagues too.
- A **Member** key only those it made. Another key's transcript is to it one that does not exist: `404` `not_found`, or `400` `invalid_parameter` as the list's `after`.

> **Check before you delete.** With an Admin key, keep the ids your requests get, or tag each request with your own `metadata` (for example `{"app": "crm"}`, also in the list), and check it before you delete anything.

## How long transcripts are kept

- Each transcript is kept for 7 days after its job ends, then deleted.
- The uploaded audio is deleted 1 day after the job ends: nothing reads it once the job is done. The upload of a job that failed is deleted at once.
- A transcript is kept longer while a webhook delivery is pending.
- `DELETE` removes them sooner.
- Your usage keeps counting the audio, without any text. Activity keeps a row for each job, without its text, for the same 7 days.

## Keeping nothing

With `store=false` and a webhook, nothing is kept after the last delivery attempt: no transcript, and the upload is deleted. The answer still carries an `id`, to match a delivery to its request, but it finds nothing afterwards.

- It needs `webhook=true` or `webhook_id`: every request is answered at once, so without a webhook nothing would be left to fetch. `400` `invalid_parameter`, `param` `store`.
- Nothing is left to export later: ask for the files with the request, in `exports`.
- Your usage still counts the audio. Activity shows the job without its id, model, key or length: only its kind, state, times and how it ended.
