Sign inGet Started

bird voice sequences create

Usage

Code example
bird voice sequences create <name> [flags]

Description

Create a named voice sequence

Create a named sequence and its first draft without publishing a version. Voice sequences are in preview, and the definition format can change in ways that break existing sequences and requests.

Build the request from the <name> argument and flags, a JSON VoiceSequenceResourceCreateRequest body via --body-file ("-" reads stdin), or both — an inline value 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

Code example
# print the body shape (no credentials needed)
bird voice sequences create --example

# the body it prints:
Code example
{
  "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
  },
  "name": "Support"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--descriptionExplanation of the sequence's purpose. Defaults to an empty string.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird voice sequences archiveArchive a named voice sequence
bird voice sequences deleteDelete a voice sequence
bird voice sequences duplicateDuplicate a named voice sequence
bird voice sequences getGet a named voice sequence
bird voice sequences listList named voice sequences
bird voice sequences pausePause a named voice sequence
bird voice sequences publishPublish a voice sequence
bird voice sequences resumeResume a named voice sequence
bird voice sequences unarchiveRestore an archived voice sequence
bird voice sequences updateUpdate a named voice sequence
bird voice sequences validateValidate a voice sequence definition

Continue with the documentation, guides and examples for this topic.