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

# Список записей

> Записи пространства с поиском и сортировкой.

## Параметры пути

<ParamField path="space_id" type="integer" required>
  Идентификатор пространства.
</ParamField>

## Параметры запроса

<ParamField query="search" type="string">
  Поиск по названию: регулярное выражение без учёта регистра.
</ParamField>

<ParamField query="ordering" type="string">
  Сортировка. `-created_at`: новые сверху.
</ParamField>

<ParamField query="limit" type="integer">
  Сколько элементов на странице.
</ParamField>

<ParamField query="offset" type="integer">
  Сколько элементов пропустить.
</ParamField>

## Ответ

<ResponseField name="count" type="integer">
  Всего записей по запросу.
</ResponseField>

<ResponseField name="results" type="object[]">
  Записи, поля как в [Статус загрузки](/api-reference/audio/info).
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -G "https://api.aigenda.tech/api/spaces/1024/audio/" \
    --data-urlencode "search=Планёрка" \
    --data-urlencode "ordering=-created_at" \
    --data-urlencode "limit=20" \
    --data-urlencode "offset=0" \
    -H "Authorization: Bearer <access>"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.aigenda.tech/api/spaces/1024/audio/",
      headers={"Authorization": "Bearer <access>"},
      params={
          "search": "Планёрка",
          "ordering": "-created_at",
          "limit": 20,
          "offset": 0,
      },
      timeout=30,
  )
  response.raise_for_status()
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const params = new URLSearchParams({
    "search": "Планёрка",
    "ordering": "-created_at",
    "limit": "20",
    "offset": "0"
  });

  const response = await fetch(`https://api.aigenda.tech/api/spaces/1024/audio/?${params}`, {
    method: "GET",
    headers: { Authorization: "Bearer <access>" },
  });
  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
      {
        "id": 51234,
        "title": "Планёрка отдела продаж.mp3",
        "url": "https://storage.yandexcloud.net/aigenda/3f6c1e0a.mp3?X-Amz-Signature=…",
        "created_at": "2026-10-17T12:30:00.481233+03:00",
        "duration": 1837,
        "size": 18874368,
        "content_type": "audio/mpeg",
        "space_id": 1024,
        "is_active": true,
        "is_favorite": false,
        "is_uploaded": true,
        "was_classified": true,
        "result_is_ready": true
      }
    ]
  }
  ```
</ResponseExample>


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