> ## 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.

# Manage Daily rooms, recordings, and streams from Guild agents

> Connect Guild agents to Daily to create rooms, generate meeting tokens, control recordings, run live streams, and manage SIP trunks under credential policies.

Integrations · Daily

A Guild agent can provision and control Daily video infrastructure on your behalf, from spinning up rooms and issuing meeting tokens to starting recordings and managing SIP trunks. Guild stores the Daily API key server-side and injects it as a bearer token so agent code never sees the secret. Credential policies let you limit which operations each agent can perform, and every call flows through Guild's credential proxy for a full audit trail.

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

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

## What the Daily integration exposes

The integration identifier is `guildai~daily`. Tools cover room lifecycle (create, configure, delete, bulk operations), meeting tokens, participant management, recordings, transcriptions, live streams, presence, session data, meeting analytics, API logs, SIP trunks, SIP clients, phone numbers, dial-in configs, and webhooks. Tools are named with the `daily_` prefix, and you can use `pick()` to include only the tools your agent needs. The table on this page lists the tools in the latest published version.

## How it works

**1. Open credentials and connect**

In Guild, go to **Access & setup > Credentials**, click **Connect**, and select **daily**. Paste your Daily API key into the **API Key** field.

**2. Scope the credential**

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

**3. Import tools into your agent**

Import `DailyTools` from `@guildai-services/guildai~daily` and spread it into your agent's `tools` object. Use [`pick()`](https://docs.guild.ai/sdk/tools#selecting-specific-tools) to include only the specific `daily_`-prefixed tools your agent needs.

## Why Daily access needs governing

Daily tools can buy phone numbers, delete rooms in bulk, eject participants, start and stop recordings, and modify domain-level configuration. Giving every agent unrestricted access to those operations increases the blast radius of a mistake or a prompt injection. Guild's [credential policies](https://docs.guild.ai/platform/credential-policies.md) let you write ALLOW and DENY rules that the credential proxy enforces before any request reaches Daily. Rules can target specific operations by name or glob pattern, scope access to named agents or workspaces, and restrict HTTP methods so a credential stays read-only even when the underlying Daily API key has write access.

Credentials are injected server-side by Guild's proxy; agent code never sees the API key. Every request passes through the proxy's policy check first, so a matching DENY rule blocks the call regardless of any ALLOW rules. The [security architecture](https://docs.guild.ai/platform/security-architecture.md) keeps secrets out of agent logs and traces. Without policies the credential starts with an allow-all default; once you add scoped rules, delete that default so unmatched operations are denied rather than permitted.

## About the Daily integration

Agents can create, configure, and delete video rooms, generate meeting tokens, and manage participants. They can start and stop recordings, transcriptions, and live streams, and retrieve analytics and session data. SIP trunks, phone numbers, dial-in configs, and webhooks can also be fully managed. The integration is `guildai~daily`.

## Authentication

* **Type:** API key
* **Header:** Guild sends the key as a bearer token in the `Authorization` header

### Setup

**1. Connect Daily**

In Guild, go to **Access & setup > Credentials**, click **Connect**, select **daily**, 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 { DailyTools } from "@guildai-services/guildai~daily"
import { llmAgent } from "@guildai/agents-sdk"

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

### Selecting specific tools

Tools are named with the `daily_` 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~daily`:

> [accordion] All 73 tools
>
> | Tool | What it does |
> | - | - |
> | `daily_batch_room_create` | Create rooms in bulk |
> | `daily_batch_room_delete` | Delete rooms in bulk |
> | `daily_buy_phone_number` | This will buy a phone number. |
> | `daily_create_domain_dial_config_info` | create a new pinless\_dialin or pin\_dialin config |
> | `daily_create_meeting_token` | Create a meeting token |
> | `daily_create_room` | Create a room |
> | `daily_create_sip_client` | Register a plain SIP client for your domain. |
> | `daily_create_sip_trunk` | Create a SIP trunk for your domain. |
> | `daily_create_webhook` | Create a webhook |
> | `daily_delete_domain_dialin_config` | Delete a given pinless\_dialin or pin\_dialin config |
> | `daily_delete_recording` | Delete a recording |
> | `daily_delete_room` | Delete a room |
> | `daily_delete_sip_client` | Delete a SIP client. |
> | `daily_delete_sip_trunk` | Delete a SIP trunk (and its Kamailio credential, if any). |
> | `daily_delete_transcript` | Delete a transcript |
> | `daily_delete_webhook` | Delete a webhook |
> | `daily_eject` | Ejects participants from a room |
> | `daily_get_domain_config` | Get top-level configuration of your domain |
> | `daily_get_domain_dialin_config_info` | Get info about an existing pinless\_dialin or pin\_dialin config |
> | `daily_get_individual_meeting_info` | retrieve info about a particular meeting |
> | `daily_get_meeting_info` | retrieve meeting analytics |
> | `daily_get_meeting_participants` | retrieve info about the participants in a particular meeting |
> | `daily_get_presence` | /presence |
> | `daily_get_recording_info` | Get info about a recording |
> | `daily_get_recording_link` | Generate an access link for a recording. |
> | `daily_get_room_config` | Get info about a room |
> | `daily_get_room_presence` | Get a presence snapshot for a room |
> | `daily_get_session_data` | Gets meeting session data |
> | `daily_get_sip_client` | Fetch one SIP client by username. |
> | `daily_get_sip_trunk` | Fetch one SIP trunk by id. |
> | `daily_get_transcript_info` | Get info about a Transcript |
> | `daily_get_transcript_link` | Generate an access link for a transcript. |
> | `daily_get_webhook_config` | Get info about a webhook |
> | `daily_get_webhooks` | Get Webhooks |
> | `daily_list_api_logs` | /logs/api |
> | `daily_list_available_numbers` | Search for available phone numbers to purchase |
> | `daily_list_domain_dialin_configs` | List all the pinless\_dialin and pin\_dialin configs for the domain, with pagination |
> | `daily_list_logs` | /logs |
> | `daily_list_recordings` | List recordings |
> | `daily_list_rooms` | List rooms |
> | `daily_list_sip_clients` | List the SIP clients registered for your domain (paginated). |
> | `daily_list_sip_trunks` | List the SIP trunks for your domain (paginated). |
> | `daily_list_transcript` | List transcripts |
> | `daily_pinless_call_update` | Direct a SIP or PSTN call on hold to a specified SIP URI associated to a Daily Room. |
> | `daily_purchased_phone_numbers` | List the purchased phone numbers for this domain |
> | `daily_release_phone_number` | Release a purchased number. |
> | `daily_room_dial_out_send_dtmf` | send DTMF digits on the dial-out |
> | `daily_room_dial_out_start` | Start a dial-out in a room |
> | `daily_room_dial_out_stop` | Stop a dial out in a room |
> | `daily_room_livestreaming_add_endpoints` | Add RTMP destinations to a live stream that is already running in a room. |
> | `daily_room_livestreaming_remove_endpoints` | Remove RTMP destinations from a live stream that is running in a room. |
> | `daily_room_livestreaming_start` | Start a live stream in a room |
> | `daily_room_livestreaming_stop` | Stop a live stream in a room |
> | `daily_room_livestreaming_update` | Update the layout of a live stream that is running in a room. |
> | `daily_room_recordings_start` | Start a recording in a room |
> | `daily_room_recordings_stop` | Stop a recording in a room |
> | `daily_room_recordings_update` | Update a recording in a room |
> | `daily_room_sip_call_transfer` | transfer sip/pstn call. |
> | `daily_room_sip_refer` | refer a sip call to other sip endpoint. |
> | `daily_room_transcription_start` | Start a transcription in a room |
> | `daily_room_transcription_stop` | Stop a transcription in a room |
> | `daily_room_transcription_update` | Update the set of participants being transcribed |
> | `daily_rotate_sip_client` | Rotate a SIP client's password. |
> | `daily_send_app_message` | Send a message to participants in a room |
> | `daily_set_domain_config` | Set top-level configuration options for your domain |
> | `daily_set_room_config` | Set a room's privacy and config properties |
> | `daily_set_session_data` | Sets meeting session data |
> | `daily_test_oci_bucket` | Verify that an OCI bucket configuration works, by uploading a small test file ('daily-co-test-upload.txt') to it through the OCI S3 compatibility API. |
> | `daily_update_domain_dial_config_info` | update an existing pinless\_dialin or pin\_dialin config |
> | `daily_update_permissions` | Modifies permissions for one or more participants in a room |
> | `daily_update_sip_trunk` | Update a SIP trunk (partial overlay). 'trunk\_name' is immutable. |
> | `daily_update_webhook_config` | Update webhook config |
> | `daily_validate_meeting_token` | Validate meeting tokens |

## Frequently asked questions

> [accordion] Can I limit an agent to read-only Daily operations?
>
> Yes. Write a credential policy that allows only operations matching patterns like `daily_get_*`, `daily_list_*`, and `daily_get_*`, and add a DENY rule for any mutating patterns. The Guild credential proxy enforces the rules before each request reaches Daily.

> [accordion] Does Guild support Daily webhook events as agent triggers?
>
> No. The Daily catalog entry lists no webhook events, so incoming Daily events cannot trigger a Guild agent run through this integration.

> [accordion] How does Guild authenticate to the Daily API?
>
> Guild sends the stored API key as a bearer token in the `Authorization` header on every request. The key is held server-side by Guild's credential proxy and is never exposed to agent code.

> [accordion] Can different agents use different Daily credentials in the same workspace?
>
> Yes. You can connect a credential dedicated to a single agent from that agent's detail page, or grant an existing credential to a specific agent. Guild resolves credentials in a defined order, checking agent-level grants and dedicated credentials before falling back to workspace or account defaults. See [Credentials](https://docs.guild.ai/platform/credentials.md) for the full resolution order.

## Put a governed agent on Daily this week

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

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

## Related

**Also runs on Guild:** [Ably](https://docs.guild.ai/integrations/ably.md) · [Customer.io](https://docs.guild.ai/integrations/customer-io.md) · [Discord](https://docs.guild.ai/integrations/discord.md) · [Email](https://docs.guild.ai/integrations/email.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)
