Skip to content

Docs

update_voice_profile

Hand-edit the workspace's voice profile description and/or traits. A plain edit by a person or an agent, not an AI action - free, no credits.

Hand-edit the workspace's voice profile description and/or traits. A plain edit by a person or an agent, not an AI action - free, no credits.

Access and cost

  • Kind: mutation
  • Scope: workspace
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "description": {
      "maxLength": 4000,
      "type": "string"
    },
    "traits": {
      "type": "object"
    }
  },
  "required": [
    "workspaceId"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "voiceProfile": {
      "additionalProperties": false,
      "properties": {
        "workspaceId": {
          "format": "uuid",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "traits": {
          "type": "object"
        },
        "samples": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "text": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "text"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "updatedByAccountId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "updatedByAgentClientId": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "workspaceId",
        "description",
        "traits",
        "samples",
        "updatedByAccountId",
        "updatedByAgentClientId",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    }
  },
  "required": [
    "voiceProfile"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Edit the voice profile"
}