Skysay · Schema

AgentUpdate

Mutable agent configuration. The target agent, rather than organization_id or project_id in this body, defines the authenticated workspace boundary. Voice-stack settings are not part of this payload: opening, turn_taking, voice_polish, answer_detection, navigation, audio_environment, follow_caller, languages, language_profiles and listening are saved by PATCH /v1/agents/{agent_id}/voice-stack, and sending one here is refused with 400 naming that route rather than accepted and dropped.

TelephonyArtificial IntelligenceVoiceSoftware-as-a-ServiceCommunications

Properties

Name Type Description
audio_stream_url string
begin_message string
call_summary object
expected_tools array Optional previously read complete tools array, including read-only refs. With a tools replacement, a mismatch returns 409 with error AgentToolsChangedError and writes nothing. Workspace editors and ca
first_message string
language string
metadata object Replaces the agent's free-form metadata. The sections the voice-stack route owns are kept as stored when you leave them out, and a different value for one of them is refused with 400 naming PATCH /v1/
mode string
name string
recording_enabled boolean
status string Whether this agent is offered to callers. `inactive` stops it being admitted on every call path -- inbound and outbound telephony, the browser test, and the public homepage demo -- while keeping the a
system_prompt string
tools array Complete agent tool allowlist. To attach an Integration Action, use an AgentTool object whose type is connection.
translation object
voice object
webhook_url string
View JSON Schema on GitHub

JSON Schema

skysay-ai-agent-update-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skysay-ai/json-schema/skysay-ai-agent-update-schema.json",
  "title": "AgentUpdate",
  "description": "Mutable agent configuration. The target agent, rather than organization_id or project_id in this body, defines the authenticated workspace boundary. Voice-stack settings are not part of this payload: opening, turn_taking, voice_polish, answer_detection, navigation, audio_environment, follow_caller, languages, language_profiles and listening are saved by PATCH /v1/agents/{agent_id}/voice-stack, and sending one here is refused with 400 naming that route rather than accepted and dropped.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skysay-ai-openapi.json#/components/schemas/AgentUpdate",
  "properties": {
    "audio_stream_url": {
      "type": "string"
    },
    "begin_message": {
      "type": "string"
    },
    "call_summary": {
      "$ref": "#/$defs/AgentCallSummary"
    },
    "expected_tools": {
      "description": "Optional previously read complete tools array, including read-only refs. With a tools replacement, a mismatch returns 409 with error AgentToolsChangedError and writes nothing. Workspace editors and calendar attachment send it to avoid lost changes.",
      "items": {
        "$ref": "#/$defs/AgentTool"
      },
      "type": "array"
    },
    "first_message": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "metadata": {
      "description": "Replaces the agent's free-form metadata. The sections the voice-stack route owns are kept as stored when you leave them out, and a different value for one of them is refused with 400 naming PATCH /v1/agents/{agent_id}/voice-stack: `follow_caller`, `opening` and `navigation` (so a phone-menu navigation choice, including an explicit off, survives any metadata replacement).",
      "type": "object"
    },
    "mode": {
      "enum": [
        "external_audio",
        "external_text",
        "hosted"
      ],
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "recording_enabled": {
      "type": "boolean"
    },
    "status": {
      "description": "Whether this agent is offered to callers. `inactive` stops it being admitted on every call path -- inbound and outbound telephony, the browser test, and the public homepage demo -- while keeping the agent, its configuration and its number attachments intact; a call already in progress is not torn down. `active` removes that gate and nothing else: no configuration is snapshotted or restored, so the agent is then admitted on its CURRENT published configuration and readiness, which may have changed while it was inactive. Accepts these two values only; any other is refused with 400, as is any change to an agent whose stored status is not already one of them (an agent suspended by Skysay is reinstated by Skysay only).",
      "enum": [
        "active",
        "inactive"
      ],
      "type": "string"
    },
    "system_prompt": {
      "type": "string"
    },
    "tools": {
      "description": "Complete agent tool allowlist. To attach an Integration Action, use an AgentTool object whose type is connection.",
      "items": {
        "$ref": "#/$defs/AgentTool"
      },
      "type": "array"
    },
    "translation": {
      "$ref": "#/$defs/TranslationPolicy"
    },
    "voice": {
      "oneOf": [
        {
          "description": "Legacy pinned voice identifier.",
          "type": "string"
        },
        {
          "description": "Exact selected TTS provider/model/voice inventory item.",
          "properties": {
            "model": {
              "type": "string"
            },
            "provider": {
              "type": "string"
            },
            "voice_id": {
              "description": "Provider inventory id, when the selected provider exposes voices.",
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model"
          ],
          "type": "object"
        }
      ]
    },
    "webhook_url": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "AgentCallSummary": {
      "additionalProperties": false,
      "description": "The free AI call summary for this agent's calls. On by default; send enabled false to turn it off. On an update, a key you leave out keeps its value.",
      "properties": {
        "enabled": {
          "default": true,
          "type": "boolean"
        },
        "goal": {
          "description": "Optional call goal the summary judges goal_met against. Empty means the agent's own published instructions.",
          "maxLength": 4000,
          "type": "string"
        }
      },
      "type": "object"
    },
    "AgentTool": {
      "description": "A configured built-in tool, signed webhook tool, or attached Integration Action. String placeholders are refused. Custom tools explicitly declare read or write; every business write requires caller confirmation. The names `press_digits`, `wait_on_hold` and `abandon_navigation` are reserved for phone-menu navigation and refused with 400.",
      "oneOf": [
        {
          "$ref": "#/$defs/BuiltinAgentTool"
        },
        {
          "$ref": "#/$defs/WebhookAgentTool"
        },
        {
          "$ref": "#/$defs/IntegrationActionAttachment"
        }
      ]
    },
    "BuiltinAgentTool": {
      "description": "A built-in tool the AI agent can invoke during a call. `phone_number` is conditionally required: see its own description.",
      "properties": {
        "connection_id": {
          "description": "Required for calendar builtins: one active, owner-configured calendar connection in the AI agent's organization/project. The model cannot select it.",
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "name": {
          "enum": [
            "end_call",
            "send_sms",
            "transfer_to_human",
            "request_callback",
            "set_call_disposition",
            "get_phone_number_coverage",
            "calendar_check_availability",
            "calendar_book_appointment"
          ],
          "type": "string"
        },
        "phone_number": {
          "description": "Destination for `transfer_to_human`, and required when that tool is enabled. Must be full E.164 including the leading `+` and country code (for example `+12025550100`); a blank, partial, or non-dialable number is rejected when the agent is created or updated, rather than failing mid-call. Ignored by `end_call` and `send_sms`.",
          "type": "string"
        },
        "ref": {
          "description": "Read-only, server-issued. A stable opaque identifier for this configured tool, used to name the tool on a call's transcript rows without storing the tool's own name with them. Ignored if you send it: the value is taken from what is already stored, so it cannot be chosen. It survives any edit that keeps the tool's `name` and `type`; renaming, retyping or removing a tool retires its identifier, and transcript rows recorded before that show the tool's kind instead of a name.",
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "const": "builtin"
        }
      },
      "required": [
        "type",
        "name"
      ],
      "type": "object"
    },
    "IntegrationActionAttachment": {
      "description": "Explicitly attaches one existing Integration Action to this agent. The model cannot choose another action or endpoint.",
      "properties": {
        "connection_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "ref": {
          "description": "Read-only, server-issued. A stable opaque identifier for this configured tool, used to name the tool on a call's transcript rows without storing the tool's own name with them. Ignored if you send it: the value is taken from what is already stored, so it cannot be chosen. It survives any edit that keeps the tool's `name` and `type`; renaming, retyping or removing a tool retires its identifier, and transcript rows recorded before that show the tool's kind instead of a name.",
          "readOnly": true,
          "type": "string"
        },
        "tool_id": {
          "type": "string"
        },
        "type": {
          "const": "connection"
        }
      },
      "required": [
        "type",
        "name",
        "connection_id",
        "tool_id"
      ],
      "type": "object"
    },
    "TranslationPolicy": {
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "default": false,
          "type": "boolean"
        },
        "target_languages": {
          "items": {
            "enum": [
              "ar",
              "bn",
              "bg",
              "ca",
              "zh",
              "hr",
              "cs",
              "da",
              "nl",
              "en",
              "et",
              "fi",
              "fr",
              "de",
              "el",
              "gu",
              "he",
              "hi",
              "hu",
              "id",
              "it",
              "ja",
              "kn",
              "ko",
              "lv",
              "lt",
              "ms",
              "ml",
              "mr",
              "no",
              "fa",
              "pl",
              "pt",
              "ro",
              "ru",
              "sr",
              "si",
              "sk",
              "sl",
              "es",
              "sw",
              "sv",
              "ta",
              "te",
              "th",
              "tr",
              "uk",
              "ur",
              "vi"
            ],
            "type": "string"
          },
          "maxItems": 6,
          "type": "array",
          "uniqueItems": true
        }
      },
      "type": "object"
    },
    "WebhookAgentTool": {
      "properties": {
        "description": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "operation_kind": {
          "description": "Explicitly required; no default. Writes require a short read-back and a later caller confirmation. Their webhook envelope carries the durable action identity as tool_call_id for receiver deduplication.",
          "enum": [
            "read",
            "write"
          ],
          "type": "string"
        },
        "parameters": {
          "type": "object"
        },
        "ref": {
          "description": "Read-only, server-issued. A stable opaque identifier for this configured tool, used to name the tool on a call's transcript rows without storing the tool's own name with them. Ignored if you send it: the value is taken from what is already stored, so it cannot be chosen. It survives any edit that keeps the tool's `name` and `type`; renaming, retyping or removing a tool retires its identifier, and transcript rows recorded before that show the tool's kind instead of a name.",
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "const": "webhook"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "type",
        "name",
        "url",
        "operation_kind"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/skysay-ai-agent-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.