Anam Transcription

Model and responsibilities

Service model

Resources with clear responsibilities

Transcription is speech processing. A transcript is a retrievable text record. Recordings, execution and records have different states and policies.

Entities and public contracts

Concept Responsibility Current representation
Tenant The boundary for data, credentials, capabilities and usage. Client is the historical persistence name.
Recording Audio, sources, availability and retention. In the current version, its lifecycle remains tied to the job; there is no independent public recordings collection.
Capture Reservation, writers, offsets, chunks and finalization. /captures and the job’s native capture subresources.
AudioTrack One source or channel. May contain several speakers. A channel label does not certify identity.
Job Execution, state, policies and delivery. /jobs; execution state is distinct from stored speech.
Transcript Identity, references, metadata, revisions and logical deletion. /transcripts, with native or external provenance.
TranscriptRevision Versioned content and provenance. Immutable historical revisions; the current view and historical revisions are different representations.
DiarizationRun Speaker-processing state. Separate from ASR, with explicit success, absence and failure states.
WebhookDelivery Delivery receipt and attempts. Signature, bounded retries and a stable ID for deduplication.
AuditEvent / UsageRecord Operation auditing and processing measurement. Auditing does not require an external exporter; usage measurement does not set prices or move money.

Native and external records

A native transcript relates to a job and may have audio available under the retention policy. An external transcript contains imported text and provenance; it does not require an inference job and explicitly reports the absence of a recording.

Importing does not infer speakers, invent timing or run diarization. Genuine externally supplied labels and timestamps may be retained with external provenance; unknown data stays unknown. Application migrations and source freezing remain outside this service.

Availability is not completeness

  1. Open capture: audio is still being produced or recovered.
  2. Confirmed finalization: sources are sealed; processing may continue in the queue.
  3. Text available: ASR has delivered text; speaker processing may still be pending.
  4. Processing completed: check diarization and integrity before accepting the result as final.

Realtime is a provisional preview. A final result may retain an incomplete-capture warning. Events can arrive out of order; do not infer complete state from the latest text displayed.

Metadata and references

resource_ref and actor_ref are the integrator’s opaque references. They locate records within the tenant without teaching the service the identity of a person or business object.

Canonical transcript and recording metadata are bounded string key/value annotations. Updates use ETag and If-Match to prevent concurrent overwrites. Metadata and reference changes do not authorize content access.

Metadata and public identifiers do not prove authorization. The backend must check current access before reading content or issuing a token.

Capabilities, quality and priority

The operator grants capabilities and limits. Preferences and options select among authorized capabilities. priority or queued describes scheduling, not an AI model, accuracy or a latency guarantee.

Realtime may add processing to the final pass. Separate channels attribute source only when the capture actually provides those channels; sources with multiple speakers may require diarization. Compare versions, models and actual measurements.

Deletion, retention and portability

Logical transcript deletion, audio erasure and access revocation are separate responsibilities. An accepted erasure request does not prove that all physical copies have been reconciled. Check the receipt and availability.

Legacy audio is not migrated. Retention depends on the effective tenant and environment policy. Export is incremental: validate its metadata and summary; it is not a backup with a global snapshot of the entire tenant.

Independent consumers and evolution

Reports, consent, interpretation, chat and semantic search belong to the integrator or other services. A search consumer can index authorized revisions and reconcile changes or deletions without creating bulk embeddings as a side effect of reading.

Immutable per-attempt profiles and a recording lifecycle independent of multiple reprocessing runs are architectural evolutions. This version does not expose endpoints for those proposals; use the implemented contracts.