LLM Agent API

Create, run and observe LLM-powered voice agents.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/aplisay:llm-agent-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

aplisay-openapi.yml Raw ↑
openapi: 3.0.0
servers:
  - url: https://llm-agent.aplisay.com/api
info:
  title: LLM Agent API
  version: 1.0.0
  description: |-
    Create, run and observe LLM-powered voice agents.

    An **agent** is a definition — a model, a prompt, and options and tools — that the
    platform runs against live audio: inbound and outbound telephone calls and WebRTC
    rooms, across multiple gateways (LiveKit, Pipecat, Jambonz) and LLM providers. Agent
    parameters such as the prompt, temperature and the speech (TTS/STT) options can be
    updated at any time and apply to all future calls.

    Activating an agent creates a **listener** bound to a phone number or a room; each
    conversation it handles becomes a **call** with a transcript you can retrieve or have
    delivered by webhook, and a websocket event stream reports call events in real time.

    Operations are grouped by resource — Agents and Agent Sets, Listeners, Calls, Models
    and Voices, and Phone Endpoints. For a getting-started guide and worked examples, see
    the [Aplisay documentation](https://aplisay.com/docs).

tags:
  - name: Calls
    description: |-
      Call objects are created when an agent receives a call from an external caller
      and are destroyed when the dialogue is complete and either agent or caller hang up.
      Calls operations are always referenced by parent agent and allow listing of live calls, live updating of agent parameters mid-call
      for just one call, injection of direct speech by the app, and hanging up a call by the agent.
  - name: Agent
    description: |-
      An Agent is the core of this API. It describes the interface to an AI engine which operates using a prompt, specifies any
      options like speech recognition language or output voice, temperature and other LLM parameters as well as tools
      (API) calls that a capable LLM may use to fulfill requests.
      An instance of an Agent is created by POSTing to the `/agents` endpoint, and then one or more instances may be activated
      using the `listen` verb to cause implementation specific worker plugins to then execute them to service inbound SIP or WebRTC 
      calls.
  - name: Health
    description: |-
      Whether the instance is up, and which runtimes and providers it can use. Needs no authentication.
  - name: Models
    description: |-
      A Model is an AI language model provider which is used by an Agent and controlled through a prompt.
      The Model for a particular agent is set at agent creation time.
  - name: Voices
    description: |-
      Voices are the list of text to speach (TTS) voices which are available in the engine, again they are
      set at agent creation time, but may also be modified in the course of running an agent.

      An organisation can also create its own custom voices on models that support them, with
      `POST /models/{modelName}/voices/{locale}`, and manage them under `/voices/custom`. A custom voice
      belongs to the organisation that created it: no other organisation can list or use it.
  - name: Phone Endpoints
    description: |-
      Phone Endpoints represent routed telephone numbers and other SIP user fields available to an organisation for use with agents.
      These endpoints can be assigned to agent instances to handle incoming calls to the DDI or SIP registration ID
  - name: Listeners
    description: |-
      Listener operations manage agent listener instances, including activation, join, originate, and deletion.
  - name: Agent Sets
    description: |-
      Agent Sets group a number of agents which are created, updated and deleted together from a single JSON document.
      Members carry a shortform `label` (unique within the set) and may reference each other in `transfer_agent`,
      `subagent` and `delegate` builtin functions using `label:<label>` references, which the platform fixes up to
      real agent IDs on creation or update.
  - name: Directory
    description: |-
      The directory of an organisation: its people, teams and services, and their extensions.
      Every organisation has a directory. An extension of type `connection` is a number on the
      organisation's own phone system, reached through one of its connections.

      An organisation with the phone system (the `phoneSystem` capability) can also give an entry an
      extension that rings phones registered to this platform, and add people to it as members.
      Without the capability those requests answer 403 with code `phone_system_disabled`.
      On a database that has not had the phone system upgrade (`tools/agent-admin.js upgrade-db`),
      every directory and phone request answers 503 with code `phone_system_not_ready`.

      Every write that can change the keys of a phone takes `?dryRun=true`. It then checks the
      request, changes nothing, and returns the same `effect` document the real write returns.
  - name: Phones
    description: |-
      The phones of the phone system: desk phones, and outside numbers such as mobiles. An admin
      says which people a phone rings for. The lines (keys) of a desk phone are worked out from
      that and from each person's extensions, and are never set by hand. Needs the `phoneSystem`
      capability, and answers 503 `phone_system_not_ready` until the database has had the phone system
      upgrade.
  - name: Emergency Records
    description: |-
      The state of each number's emergency address record: the address the carrier holds for the
      number and gives to the emergency services. A separate service sends each record to the
      carrier and reads its status. It reads and writes the state here with a key of the
      `emergencyService` role. No other key opens these routes.

      A number has a record here when its trunk belongs to the carrier and its organisation has
      the phone system. Every route answers 503 `emergency_records_not_ready` until the database
      has had the upgrade (`tools/agent-admin.js upgrade-db`).

  - name: Emergency Addresses
    description: |-
      The emergency address record of each of an organisation's numbers, for the organisation's own
      users: which address the record should hold, and the state of the record at the carrier.
      Reading needs `phoneEndpoint:read`. The addresses and the carrier's words are added for a
      caller with `organisation:read`. Setting a number's address needs `organisation:update`.
      Nothing here sends a record: a separate service does that (see Emergency Records).

# All operations require a bearer token unless stated otherwise on the operation.
security:


# --- truncated at 32 KB (213 KB total) ---
# Full source: https://artifacts.apis.io/aplisay/openapi/aplisay-openapi.yml