# Recordings

## Get the recording of the results.

<mark style="color:blue;">`GET`</mark> `https://api-v2.acrcloud.com/api/bm-bd-projects/:pid/channels/:channel_id/recordings`

This endpoint allows you to get the recordings of the results of your channels.

#### Path Parameters

| Name        | Type   | Description     |
| ----------- | ------ | --------------- |
| pid         | number | The project id. |
| channel\_id | number | The channel id. |

#### Query Parameters

| Name             | Type    | Description                                                                                 |
| ---------------- | ------- | ------------------------------------------------------------------------------------------- |
| timestamp\_utc   | string  | The start time of the recording, the format is YYYYmmddHHMMSS (for example 20210101120809). |
| played\_duration | integer | The duration of the recording(seconds).                                                     |
| record\_before   | integer | How many seconds of recording to add forward(default 0).                                    |
| record\_after    | integer | How many seconds of recording to add backwards(default 0).                                  |

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| Authorization | string | Bearer token |
| Accept        | string | \*/\*        |

{% tabs %}
{% tab title="200 Get recording successfully." %}

```
```

{% endtab %}

{% tab title="404 Could not get the recording." %}

```
{    "message": "The recording is not available."    }
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="CURL" %}

```bash
curl --location --request GET 'https://api-v2.acrcloud.com/api/bm-bd-projects/100079/channels/100123/recordings?timestamp_utc=20210601121314&played_duration=30' \
--header 'Accept: */*' \
--header 'Authorization: Bearer {your token}'
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acrcloud.com/reference/console-api/bm-projects/broadcast-database-projects/recordings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
