KosmoKrator

ai

AssemblyAI CLI for Shell Scripts

Use the AssemblyAI CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write API key auth

AssemblyAI CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The AssemblyAI CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# AssemblyAI CLI for Shell Scripts
kosmokrator integrations:configure assemblyai --set api_key="$ASSEMBLYAI_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call assemblyai.assemblyai_transcribe '{"audio_url":"example_audio_url","language_code":"example_language_code","speaker_labels":true,"auto_chapters":true,"entity_detection":true,"sentiment_analysis":true,"summarization":true,"punctuate":true}' --json

Discovery Before Execution

Agents and scripts can inspect AssemblyAI docs and schemas before choosing a function.

kosmo integrations:docs assemblyai --json
kosmo integrations:docs assemblyai.assemblyai_transcribe --json
kosmo integrations:schema assemblyai.assemblyai_transcribe --json
kosmo integrations:search "AssemblyAI" --json
kosmo integrations:list --json

Useful AssemblyAI CLI Functions

FunctionTypeParametersDescription
assemblyai.assemblyai_transcribe Write audio_url, language_code, speaker_labels, auto_chapters, entity_detection, sentiment_analysis, summarization, punctuate, format_text, webhook_url, custom_topics, topics Submit an audio or video file URL for AI transcription. Supports speech-to-text, speaker diarization, summarization, sentiment analysis, and more. Returns a transcript ID to poll for results.
assemblyai.assemblyai_get_transcript Read id Retrieve a transcript by ID. Returns the transcription text, status (queued, processing, completed, error), confidence score, and any enabled AI features like speaker labels, chapters, or sentiment analysis.
assemblyai.assemblyai_list_transcripts Read limit, status, created_on, before_id, after_id, throttled_only List transcripts with optional filtering by status, date range, and pagination. Returns transcript IDs, statuses, and metadata.
assemblyai.assemblyai_upload Write file_path Upload a local audio or video file to AssemblyAI. Returns an upload URL that can be passed to the transcribe tool as the audio_url parameter. Supports most common audio and video formats.
assemblyai.assemblyai_get_lemons Read none Retrieve lemons (billing credits and usage information) from your AssemblyAI account.
assemblyai.assemblyai_get_current_user Read none Get the authenticated user's profile, including email, subscription plan, and API usage details.

Automation Notes

Related AssemblyAI CLI Pages