---
title: "bird voice sequences validate"
description: "Validate a voice sequence definition"
canonical: "https://bird.com/docs/cli/reference/voice-sequences-validate"
---

# `bird voice sequences validate`

## Usage

```bash
bird voice sequences validate [flags]
```

## Description

Validate a voice sequence definition

Check an unsaved definition and receive node and field diagnostics without saving a draft or placing a call. Requires voice\_management:write, though it saves nothing. Voice sequences are in preview, and the definition format can change in ways that break existing sequences and requests.

Build the request from flags, a JSON VoiceSequenceDefinitionValidateRequest body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.

## Examples

```bash
# print the body shape (no credentials needed)
bird voice sequences validate --example

# the body it prints:
```

```json
{
  "definition": {
    "expression_environment": "bird.cel.v1",
    "nodes": [
      {
        "connections": {
          "event": {
            "node_id": "greet",
            "port": "input"
          }
        },
        "id": "start",
        "type": "trigger.start_call",
        "type_version": 1
      },
      {
        "connections": {
          "next": {
            "node_id": "done",
            "port": "input"
          }
        },
        "id": "greet",
        "input": {
          "language": "en",
          "text": "Hello from Bird."
        },
        "type": "voice.say",
        "type_version": 1
      },
      {
        "config": {
          "reason": "greeted",
          "status": "succeeded"
        },
        "id": "done",
        "input": {
          "output": {
            "greeted": true
          }
        },
        "type": "logic.exit",
        "type_version": 1
      }
    ],
    "schema_version": 1
  }
}
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Options

| Name                             | Description                                                                                                                                                                                 |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--include-advice`               | Include optional authoring suggestions in advice. Suggestions never affect validity or block publication.                                                                                   |
| `--include-resource-checks`      | Check authored audio asset references using your workspace asset-read permission. Results appear in resource\_checks and do not affect validity or publication.                             |
| `--include-resolved-descriptors` | Include configured descriptors for every Branch, Gather and Webhook node whose dynamic ports can be resolved. This does not replace node\_id, which selects one node's full source context. |
| `--node-id`                      | Node to inspect within the supplied definition. Omit to receive no node context. Advice and resource checks, when requested, cover the whole definition.                                    |
| `--response-schema`              | Print the fields this command returns, then exit                                                                                                                                            |

## Related

| Name                                                                              | Description                        |
| --------------------------------------------------------------------------------- | ---------------------------------- |
| [`bird voice sequences archive`](/docs/cli/reference/voice-sequences-archive)     | Archive a named voice sequence     |
| [`bird voice sequences create`](/docs/cli/reference/voice-sequences-create)       | Create a named voice sequence      |
| [`bird voice sequences delete`](/docs/cli/reference/voice-sequences-delete)       | Delete a voice sequence            |
| [`bird voice sequences duplicate`](/docs/cli/reference/voice-sequences-duplicate) | Duplicate a named voice sequence   |
| [`bird voice sequences get`](/docs/cli/reference/voice-sequences-get)             | Get a named voice sequence         |
| [`bird voice sequences list`](/docs/cli/reference/voice-sequences-list)           | List named voice sequences         |
| [`bird voice sequences pause`](/docs/cli/reference/voice-sequences-pause)         | Pause a named voice sequence       |
| [`bird voice sequences publish`](/docs/cli/reference/voice-sequences-publish)     | Publish a voice sequence           |
| [`bird voice sequences resume`](/docs/cli/reference/voice-sequences-resume)       | Resume a named voice sequence      |
| [`bird voice sequences unarchive`](/docs/cli/reference/voice-sequences-unarchive) | Restore an archived voice sequence |
| [`bird voice sequences update`](/docs/cli/reference/voice-sequences-update)       | Update a named voice sequence      |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
