---
title: "Lists a video's or audio file's AI outputs (subtitles, transcript, summary, chapters) and where each one's generation stands."
---

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

Path: Sherpo merchant API › file

`GET /v1/stores/{store}/assets/{asset}/outputs`

## Authentication

- `bearer`, http, header `Authorization`, scopes: `file:read`

## Path parameters

- `store` (`listMediaOutputs.path.store`; string, required) — The store's id.
- `asset` (`listMediaOutputs.path.asset`; string, required)
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/merchant/v1/stores/<store>/assets/<asset>/outputs' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/merchant/v1/stores/<store>/assets/<asset>/outputs';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/merchant/v1/stores/<store>/assets/<asset>/outputs"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Lists a video's or audio file's AI outputs (subtitles, transcript, summary, chapters) and where each one's generation stands.

#### Example

```json
{
  "media_id": "string",
  "has_track": true,
  "outputs": [
    {
      "kind": "string",
      "asset_id": "string",
      "status": "string",
      "has_content": true,
      "revision": 0,
      "language": "string",
      "reason": "string",
      "bytes": 0,
      "deadline": "string",
      "updated_at": "string",
      "published_at": "string",
      "created_at": "string"
    }
  ]
}
```

- `media_id` (`listMediaOutputs.response.200.media_id`; string, required)
- `has_track` (`listMediaOutputs.response.200.has_track`; boolean, required) — Whether the file holds the speech track subtitles are written from; without it, a generate prepares it first.
- `outputs` (`listMediaOutputs.response.200.outputs`; array<object>, required)
  - `kind` (`listMediaOutputs.response.200.outputs.kind`; string, required)
  - `asset_id` (`listMediaOutputs.response.200.outputs.asset_id`; string, required)
  - `status` (`listMediaOutputs.response.200.outputs.status`; string, required)
  - `has_content` (`listMediaOutputs.response.200.outputs.has_content`; boolean, required) — Whether content landed, which a run still generating or one that failed may keep from before.
  - `revision` (`listMediaOutputs.response.200.outputs.revision`; number, required) — The file's revision the content came from, or the running generation reads.
  - `language` (`listMediaOutputs.response.200.outputs.language`; any of, required)
    - any of: `string`, `null`
  - `reason` (`listMediaOutputs.response.200.outputs.reason`; any of, required)
    - any of: `string`, `null`
  - `bytes` (`listMediaOutputs.response.200.outputs.bytes`; any of, required) — The output's size in bytes; null when it is charged nothing.
    - any of: `number`, `null`
  - `deadline` (`listMediaOutputs.response.200.outputs.deadline`; any of, required)
    - any of: `string`, `null`
  - `updated_at` (`listMediaOutputs.response.200.outputs.updated_at`; any of, required)
    - any of: `string`, `null`
  - `published_at` (`listMediaOutputs.response.200.outputs.published_at`; any of, required)
    - any of: `string`, `null`
  - `created_at` (`listMediaOutputs.response.200.outputs.created_at`; any of, required)
    - any of: `string`, `null`

### default

A problem; see https://api.sherpo.io/merchant/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listMediaOutputs.response.default.type`; string, required)
  - format `uri`
- `title` (`listMediaOutputs.response.default.title`; string, required)
- `status` (`listMediaOutputs.response.default.status`; integer, required)
- `detail` (`listMediaOutputs.response.default.detail`; string, required)
- `code` (`listMediaOutputs.response.default.code`; string, optional)
- `context` (`listMediaOutputs.response.default.context`; object, optional)
- `reached_core` (`listMediaOutputs.response.default.reached_core`; boolean, optional)
- `core_answer` (`listMediaOutputs.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/merchant-api/reference/list-media-outputs/index.md
