DocumentationAPI reference

Rust · 0.1.0

TranscriptionAudio

The Rust implementation accepts content bytes; the URI alternative is unsupported.

Input boundary

Set content to base64-encoded audio in REST JSON, with an appropriate contentType and optional filename. The existence of uri in the licensed protocol does not make remote audio fetching available. Empty content is rejected.

Where this schema is used

These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.

Referenced by these component schemas:

Shape and fields

object

FieldType / requirementDescription
contentstring (bytes)Inline audio bytes.
uristringURI for audio content. Reserved for future use.
filenamestringOptional. The uploaded filename.
contentTypestringOptional. The MIME type of the input audio.

Complete schema

Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.

{
  "type": "object",
  "properties": {
    "content": {
      "writeOnly": true,
      "type": "string",
      "description": "Inline audio bytes.",
      "format": "bytes"
    },
    "uri": {
      "type": "string",
      "description": "URI for audio content. Reserved for future use."
    },
    "filename": {
      "type": "string",
      "description": "Optional. The uploaded filename."
    },
    "contentType": {
      "type": "string",
      "description": "Optional. The MIME type of the input audio."
    }
  }
}