Skysay · Schema

Agent

TelephonyArtificial IntelligenceVoiceSoftware-as-a-ServiceCommunications

Properties

Name Type Description
audio_stream_url string
begin_message string
call_summary object
follow_caller object Answer each caller in whichever selected language they speak. On by default for an agent with two or more languages whose transcriber can listen for them all (see AgentFollowCaller); send it only to r
follow_caller_where_supported boolean Hosted agents. Follow the other person's language for every language this setup supports where it can (Follow the caller: all, with one opening language); where it cannot (no simultaneous-listening tr
knowledge_base_ids array Hosted agents. Knowledge bases to attach in the same request, each active in this workspace and project. Naming any needs knowledge:write beside agents:write, as PATCH /v1/agents/{agent_id}/knowledge-
language string
language_profiles array When supplied this replaces the sparse override set; omit it to preserve overrides. Each item has locale and optional exact voice, transcriber, and greeting. Omitted values inherit the shared stack; a
languages array The languages this agent may answer in. An engine without a language axis (see voice_frontend and the agent-catalog conversation_engines block) REFUSES this field with 400 rather than accepting and dr
mode string
name string
opening object Accepted at creation. Read and update the opening policy through the voice-stack route; the generic agent update route refuses this field.
organization_id string
post_call_extraction object Hosted agents. The result fields written down after each call, validated as PATCH /v1/agents/{agent_id}/post-call-extraction validates its schema.
project_id string
prompt_name string Name of the AI agent's initial prompt draft, shown in the prompt editor. Defaults to "Initial prompt".
recording_enabled boolean
require_published boolean Hosted agents. End with a published AI agent or with nothing: a refusal anywhere in this request, publication included, creates no agent, attachment or result fields. Without it a hosted agent whose s
system_prompt string
tools array The agent's tools. A hosted agent created without this field gets the built-in end_call, so it can end its own calls. A list you send is taken as written: send an empty list to create a hosted agent t
translation object
voice object
voice_confirmation string Hosted agents. Marks the voice as not yet confirmed (metadata.voice_confirmation pending) until a voice-stack save confirms it.
webhook_url string
View JSON Schema on GitHub

JSON Schema

skysay-ai-agent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skysay-ai/json-schema/skysay-ai-agent-schema.json",
  "title": "Agent",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skysay-ai-openapi.json#/components/schemas/Agent",
  "properties": {
    "audio_stream_url": {
      "type": "string"
    },
    "begin_message": {
      "type": "string"
    },
    "call_summary": {
      "$ref": "#/$defs/AgentCallSummary"
    },
    "follow_caller": {
      "allOf": [
        {
          "$ref": "#/$defs/AgentFollowCaller"
        }
      ],
      "description": "Answer each caller in whichever selected language they speak. On by default for an agent with two or more languages whose transcriber can listen for them all (see AgentFollowCaller); send it only to record an explicit choice. Accepted at creation so a multilingual agent can be created in one request; enabling it explicitly requires at least two languages and is refused with 400 otherwise. Creation stores the choice only -- the first PATCH /v1/agents/{agent_id}/voice-stack publication is what proves one shared transcriber can listen for the selected set: an explicit enabled true is refused there when none can, and an agent that never chose publishes in its opening language instead. Changing it afterwards is a voice-stack save, not an agent update. An engine without a language axis (see voice_frontend) REFUSES this field with 400 rather than accepting and dropping it."
    },
    "follow_caller_where_supported": {
      "description": "Hosted agents. Follow the other person's language for every language this setup supports where it can (Follow the caller: all, with one opening language); where it cannot (no simultaneous-listening transcriber, or fewer than two languages it supports) answer in the opening language only. Omit follow_caller, languages and language_profiles beside it. An engine without a language axis stores nothing, as today.",
      "enum": [
        true
      ],
      "type": "boolean"
    },
    "knowledge_base_ids": {
      "description": "Hosted agents. Knowledge bases to attach in the same request, each active in this workspace and project. Naming any needs knowledge:write beside agents:write, as PATCH /v1/agents/{agent_id}/knowledge-bases does.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array"
    },
    "language": {
      "type": "string"
    },
    "language_profiles": {
      "description": "When supplied this replaces the sparse override set; omit it to preserve overrides. Each item has locale and optional exact voice, transcriber, and greeting. Omitted values inherit the shared stack; an empty greeting removes its override.",
      "items": {
        "$ref": "#/$defs/AgentLanguageProfileOverride"
      },
      "maxItems": 256,
      "type": "array"
    },
    "languages": {
      "description": "The languages this agent may answer in. An engine without a language axis (see voice_frontend and the agent-catalog conversation_engines block) REFUSES this field with 400 rather than accepting and dropping it.",
      "items": {
        "maxLength": 35,
        "minLength": 2,
        "type": "string"
      },
      "maxItems": 256,
      "minItems": 1,
      "type": "array"
    },
    "mode": {
      "enum": [
        "external_audio",
        "external_text",
        "hosted"
      ],
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "opening": {
      "allOf": [
        {
          "$ref": "#/$defs/AgentOpening"
        }
      ],
      "description": "Accepted at creation. Read and update the opening policy through the voice-stack route; the generic agent update route refuses this field."
    },
    "organization_id": {
      "type": "string"
    },
    "post_call_extraction": {
      "additionalProperties": false,
      "description": "Hosted agents. The result fields written down after each call, validated as PATCH /v1/agents/{agent_id}/post-call-extraction validates its schema.",
      "properties": {
        "schema": {
          "type": "object"
        }
      },
      "required": [
        "schema"
      ],
      "type": "object"
    },
    "project_id": {
      "type": "string"
    },
    "prompt_name": {
      "description": "Name of the AI agent's initial prompt draft, shown in the prompt editor. Defaults to \"Initial prompt\".",
      "maxLength": 100,
      "type": "string"
    },
    "recording_enabled": {
      "type": "boolean"
    },
    "require_published": {
      "default": false,
      "description": "Hosted agents. End with a published AI agent or with nothing: a refusal anywhere in this request, publication included, creates no agent, attachment or result fields. Without it a hosted agent whose setup cannot be published yet is kept unpublished with the reason in publication.",
      "type": "boolean"
    },
    "system_prompt": {
      "type": "string"
    },
    "tools": {
      "description": "The agent's tools. A hosted agent created without this field gets the built-in end_call, so it can end its own calls. A list you send is taken as written: send an empty list to create a hosted agent that cannot end a call, or include end_call beside your other tools.",
      "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"
        }
      ]
    },
    "voice_confirmation": {
      "description": "Hosted agents. Marks the voice as not yet confirmed (metadata.voice_confirmation pending) until a voice-stack save confirms it.",
      "enum": [
        "pending"
      ],
      "type": "string"
    },
    "webhook_url": {
      "type": "string"
    }
  },
  "required": [
    "organization_id",
    "project_id",
    "mode"
  ],
  "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"
    },
    "AgentFollowCaller": {
      "additionalProperties": false,
      "description": "Saved and published automatic multilingual policy. On by default: an AI agent that never set it follows its caller wherever one transcriber can listen for its whole selected language set, and answers in its opening language elsewhere, never refused for it. Sending enabled records an explicit choice that stays when the language set or transcriber changes: false keeps the AI agent in its opening language, and true is refused where the transcriber cannot follow. Sending the value the AI agent already resolves to publishes nothing new. Read responses always carry the resolved value, so a client that never wants to choose omits the field. Existing clients may send only enabled; omitted scope means selected. With scope all, the server resolves every language compatible with the exact stack at publication and freezes that concrete set. With selected, languages supplies the allowed subset. Clients cannot supply runtime adapter options, bindings, or rates.",
      "properties": {
        "default": {
          "description": "Read responses only: true when the AI agent never chose and this is the resolved default, false when it is the owner's choice. A voice-stack write that echoes a read with default true and the same value records no choice; at creation the field is stored as sent.",
          "readOnly": true,
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "scope": {
          "description": "Valid only when enabled. Omit for selected compatibility. All is expanded only at explicit publication and can be unavailable when a provider candidate limit, or the 256-language limit of an AI agent's selection, is smaller than the compatible set.",
          "enum": [
            "selected",
            "all"
          ],
          "type": "string"
        }
      },
      "required": [
        "enabled"
      ],
      "type": "object"
    },
    "AgentLanguageProfileOverride": {
      "additionalProperties": false,
      "properties": {
        "greeting": {
          "maxLength": 1000,
          "type": "string"
        },
        "locale": {
          "maxLength": 35,
          "minLength": 2,
          "type": "string"
        },
        "transcriber": {
          "additionalProperties": false,
          "properties": {
            "model": {
              "maxLength": 160,
              "minLength": 1,
              "type": "string"
            },
            "provider": {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model"
          ],
          "type": "object"
        },
        "voice": {
          "additionalProperties": false,
          "properties": {
            "model": {
              "maxLength": 160,
              "minLength": 1,
              "type": "string"
            },
            "provider": {
              "maxLength": 120,
              "minLength": 1,
              "type": "string"
            },
            "voice_id": {
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "provider",
            "model",
            "voice_id"
          ],
          "type": "object"
        }
      },
      "required": [
        "locale"
      ],
      "type": "object"
    },
    "AgentOpening": {
      "additionalProperties": false,
      "description": "Outbound opening policy shared across conversation engines. Only managed outbound telephone calls use this wait; inbound and browser tests retain their normal opening. Saved by voice-stack PATCH and frozen in each call publication. Empty object resets to callee-first with two seconds of observed silence. Speech is allowed to finish beyond this wait. The timer authorizes the opening request, not first audible sound; provider generation and network latency add time.",
      "properties": {
        "first_speaker": {
          "default": "callee",
          "enum": [
            "callee",
            "agent"
          ],
          "type": "string"
        },
        "silence_wait_seconds": {
          "default": 2,
          "description": "Silence before requesting the first message when first_speaker is callee. Preserved but unused with agent-first.",
          "maximum": 5,
          "minimum": 1,
          "type": "number"
        }
      },
      "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"
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.