> ## Documentation Index
> Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Transcribe and search audio with AssemblyAI agents

> Connect Guild agents to AssemblyAI to upload audio and video, create and retrieve transcripts, search transcriptions, and redact audio under governed access.

Integrations · AssemblyAI

Guild agents upload audio and video to AssemblyAI, submit transcription jobs, and retrieve or redact the results. Credentials are injected server-side so agent code never sees the API key. Credential policies let you restrict which transcript operations each agent can call, and every request is logged for audit.

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use AssemblyAI.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect AssemblyAI to your first agent.

## What the AssemblyAI integration exposes

The integration provides tools to upload media files, create and delete transcripts, and retrieve them in full or split into sentences and paragraphs. Agents can also list transcripts, search for words within a transcription, and retrieve redacted audio. Each tool supports AssemblyAI's EU server by substituting the EU hostname in requests.

## How it works

**1. Open credentials settings**

In Guild, go to Access & setup > Credentials. The page lists connected credentials and shows a gallery of available integrations.

**2. Connect the AssemblyAI credential**

Click Connect, select assemblyai, and paste your API key into the API Key field. Guild stores the key and sends it as the Authorization header on every request.

**3. Scope the credential**

By default the credential serves every workspace the account owns. You can scope it to one workspace, one member, or one agent. See [Credentials](https://docs.guild.ai/platform/credentials.md) for the full scoping options.

## Why AssemblyAI access needs governing

AssemblyAI transcripts can contain sensitive spoken content, and the delete and redact tools make irreversible changes to stored audio. Guild's credential proxy injects the API key server-side after checking credential policies, so agents never handle the key directly and cannot bypass the policy check. You can write ALLOW and DENY rules that restrict agents to specific operations, such as read-only retrieval, or block delete and redact tools entirely for untrusted agents. Rules can be scoped to individual agents or workspaces on a single connected credential. See [Credential policies](https://docs.guild.ai/platform/credential-policies.md) for rule syntax.

Credentials can be scoped to an account, a workspace, a member, or a single agent, giving precise control over which agents reach which AssemblyAI account. Narrowing scope limits blast radius if an agent misbehaves. By contrast, an unscoped credential with the default allow-all policy gives every agent in every workspace full access to all operations the key permits.

## About the AssemblyAI integration

This integration lets agents upload audio and video files to AssemblyAI and submit them for transcription. Agents can retrieve completed transcripts in full or broken into sentences and paragraphs, search within transcriptions, and delete or redact audio as needed. The integration is `guildai~assemblyai`.

## Authentication

* **Type:** API key
* **Header:** Guild sends the key as `Authorization: <key>`

### Setup

**1. Connect AssemblyAI**

In Guild, go to **Access & setup > Credentials**, click **Connect**, select **assemblyai**, and paste the key into **API Key**.

See [Credentials](https://docs.guild.ai/platform/credentials.md) for workspace, member, and agent-scoped credentials.

## Usage

```typescript theme={null}
import { AssemblyaiTools } from "@guildai-services/guildai~assemblyai"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  systemPrompt: "You work with AssemblyAI.",
  tools: { ...AssemblyaiTools },
})
```

### Selecting specific tools

Tools are named with the `assemblyai_` prefix. Use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only what your agent needs.

## Tools

Tools in the latest published version of `guildai~assemblyai`:

| Tool | What it does |
| - | - |
| `assemblyai_create_transcript` | To use our EU server for transcription, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_delete_transcript` | To delete your transcriptions on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_get_redacted_audio` | To retrieve the redacted audio on the EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com' in the 'GET' request above. |
| `assemblyai_get_transcript` | To retrieve your transcriptions on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_get_transcript_paragraphs` | To retrieve your transcriptions on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_get_transcript_sentences` | To retrieve your transcriptions on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_list_transcripts` | To retrieve your transcriptions on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |
| `assemblyai_upload_file` | Upload a media file to AssemblyAI's servers. |
| `assemblyai_word_search` | To search through a transcription created on our EU server, replace 'api.assemblyai.com' with 'api.eu.assemblyai.com'. |

## Frequently asked questions

> [accordion] Can I limit an agent to reading transcripts without letting it delete or redact audio?
>
> Yes. Write a credential policy that DENY-lists assemblyai\_delete\_transcript and assemblyai\_get\_redacted\_audio and pairs it with an ALLOW rule covering the retrieval operations. Guild's proxy enforces the policy before any request reaches AssemblyAI. See [Credential policies](https://docs.guild.ai/platform/credential-policies.md).

> [accordion] Does Guild support AssemblyAI webhook events so an agent can react when a transcript finishes?
>
> Not yet. The catalog entry for `guildai~assemblyai` lists no webhook events, so agents must poll for transcript status rather than receive a push notification.

> [accordion] Can I use AssemblyAI's EU server with these tools?
>
> Yes. Each tool that calls the AssemblyAI API documents substituting api.eu.assemblyai.com for api.assemblyai.com in the request to route traffic to the EU server.

> [accordion] How do I give one agent its own AssemblyAI key while the rest of the workspace shares a different one?
>
> Connect a dedicated credential from the installed agent's detail page. A dedicated credential is stored under the account that owns the workspace and is never used by other agents. See [Credentials](https://docs.guild.ai/platform/credentials.md) for the full resolution order.

## Put a governed agent on AssemblyAI this week

> [card] [Book a demo](https://guild-ai.cal.com/gtm/meeting-with-guild.ai)
>
> See how teams govern agents that use AssemblyAI.

> [card] [Talk to sales](https://guild.ai/talk-to-sales)
>
> Get access to Guild, then connect AssemblyAI to your first agent.

## Related

**Also runs on Guild:** [Airtable](https://docs.guild.ai/integrations/airtable.md) · [BigQuery](https://docs.guild.ai/integrations/bigquery.md) · [Chroma](https://docs.guild.ai/integrations/chroma.md) · [CockroachDB](https://docs.guild.ai/integrations/cockroachdb.md)

**Read:** Docs: [Credential policies](https://docs.guild.ai/platform/credential-policies.md) · [Credentials](https://docs.guild.ai/platform/credentials.md) · [Tools in agents](https://docs.guild.ai/sdk/tools.md)
