> ## 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.

# Processing result

> Processing status and result. Poll every 10–15 seconds until classified: true.

## Path parameters

<ParamField path="space_id" type="integer" required>
  Space ID.
</ParamField>

<ParamField path="audio_id" type="integer" required>
  Recording ID.
</ParamField>

## Response

<ResponseField name="classified" type="boolean">
  `true` when processing is finished.
</ResponseField>

<ResponseField name="success" type="boolean">
  `true` if processing succeeded.
</ResponseField>

<ResponseField name="result" type="object | null">
  Protocol, transcript, and speakers. `null` while processing is running.
</ResponseField>

<ResponseField name="result.protocol" type="string">
  Protocol in Markdown.
</ResponseField>

<ResponseField name="result.dialog" type="array">
  Transcript split into topic blocks: `header` and parallel `starts`, `ends`, `speakers`, `texts` arrays.
</ResponseField>

<ResponseField name="result.speakers_map" type="object">
  Speaker names by ID; a label like `SPEAKER_01` if the voice isn't labeled.
</ResponseField>

<ResponseField name="result.speakers_timeline" type="object">
  Speech intervals per speaker: `{"{101}": [[0, 13], …]}`.
</ResponseField>

<ResponseField name="result.language" type="string">
  Recording language.
</ResponseField>

<ResponseField name="audio_id" type="integer">
  Recording ID.
</ResponseField>

<ResponseField name="title" type="string">
  Recording title.
</ResponseField>

<ResponseField name="duration" type="integer">
  Duration in seconds.
</ResponseField>

<ResponseField name="is_shared" type="boolean">
  Whether public access is enabled.
</ResponseField>

| Response | Meaning |
| - | - |
| `404 {"detail": "Not found."}` | Processing was not started |
| `200`, `classified: false` | Processing is running |
| `200`, `classified: true`, `success: true` | Done |
| `200`, `classified: true`, `success: false`, or `500` for more than 3 minutes | Processing failed, the minutes will be returned |

Learn more: [Status and polling](/en/processing/status) and [Result structure](/en/processing/result). The `result` object in the sample response is shortened.

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.aigenda.tech/api/spaces/1024/audio/51234/result/" \
    -H "Authorization: Bearer <access>"
  ```

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

  response = requests.get(
      "https://api.aigenda.tech/api/spaces/1024/audio/51234/result/",
      headers={"Authorization": "Bearer <access>"},
      timeout=30,
  )
  response.raise_for_status()
  print(response.json())
  ```

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "classified": true,
    "success": true,
    "audio_id": 51234,
    "title": "Sales team standup.mp3",
    "duration": 1837,
    "is_shared": false,
    "is_uploaded": true,
    "result": {
      "language": "en",
      "protocol": "### November sales plan\n\nWe launch the Start+ plan on November 1…",
      "dialog": [
        {
          "header": "November sales plan",
          "starts": [
            0,
            14
          ],
          "ends": [
            13,
            30
          ],
          "speakers": [
            "{101}",
            "{102}"
          ],
          "texts": [
            "Let's start with the November plan.",
            "We expect the first sign-ups in the second week."
          ]
        }
      ],
      "speakers_map": {
        "101": "Anna",
        "102": "SPEAKER_01"
      },
      "speakers_timeline": {
        "{101}": [
          [
            0,
            13
          ]
        ],
        "{102}": [
          [
            14,
            30
          ]
        ]
      }
    }
  }
  ```

  ```json 404 theme={null}
  {
    "detail": "Not found."
  }
  ```

  ```html 500 theme={null}
  <!doctype html> … Server Error (500) …
  ```
</ResponseExample>


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