# This file was auto-generated by Fern from our API Definition.

import typing
import uuid

import pydantic

from ...core.pydantic_utilities import UniversalBaseModel
from .batch_status import BatchStatus
from .transcription_id import TranscriptionId


class BatchTranscriptionResponse(UniversalBaseModel):
    """
    Response after successfully creating a batch transcription.
    """

    batch_id: uuid.UUID = pydantic.Field()
    """
    Use this ID to check batch progress via [Get Batch Status](/api-reference/transcribe/get-batch-status)
    """

    transcription_ids: typing.List[TranscriptionId] = pydantic.Field()
    """
    IDs for each transcription in the batch. Use these to retrieve individual results via [Get Transcription](/api-reference/transcribe/get-transcription)
    """

    total_count: int = pydantic.Field()
    """
    Number of transcriptions created
    """

    status: BatchStatus = pydantic.Field()
    """
    Initial batch status (typically `RECEIVED`)
    """

    model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
