VAP AI VAP Room API

The VAP Room API from VAP AI, for vap room.

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).

Operations 9

POST /v1/chat Chat #
OPTIONS /v1/chat Chat Options #
GET /v1/profile/context Profile Context #
POST /v1/room-events Room Events #
GET /v1/room-sessions List Room Sessions #
GET /v1/room-sessions/{chat_id} Get Room Session #
PUT /v1/room-sessions/{chat_id} Put Room Session #
POST /v1/speech Create Speech #
GET /v1/speech/{prediction_id} Get Speech #

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/vapagent-com:vapagent-com-vap-room-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

vapagent-com-vap-room-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VAP - Execution Control Layer for AI Agents VAP Room API
  description: '## Execution Control Layer for AI Agents


    VAP enforces cost control, retry limits, and execution ownership between AI agents and paid external APIs.


    *"VAP is where nondeterminism stops."*


    ### The Problem


    If your agents call paid APIs directly, you don''t have:

    - **Cost control** - No budget limits, no spending caps

    - **Retry limits** - Failed calls can loop indefinitely

    - **Failure ownership** - No clear accountability when things go wrong


    ### The Solution: Reserve → Burn → Refund


    1. **Reserve**: Budget is locked before task execution

    2. **Execute**: Task runs with reserved funds

    3. **Burn/Refund**: Pay actual cost on success, full refund on failure


    ### Pricing


    | Type | Price |

    |------|-------|

    | Image | $0.18 |

    | Video | $1.96 |

    | Music | $0.68 |

    | AI Edit | $0.15 |


    ### Integration Options


    - **REST API**: Direct HTTP integration

    - **MCP**: Model Context Protocol for Claude Desktop

    - **A2A**: Agent-to-Agent Protocol for inter-agent communication


    ### Quick Links


    - Developer Hub - API docs, keys, and usage guidance

    - API Keys - How to get your API key

    - Error Codes - Complete error reference

    - Rate Limits - Understand tier limits

    - Webhooks - Real-time task notifications

    - Agent Card - A2A Protocol discovery


    ### Authentication


    All endpoints require Bearer token authentication:


    ```bash

    curl -H "Authorization: Bearer vap_xxxx" \

    https://api.vapagent.com/v3/agents/me

    ```


    Get your API key by registering an agent: `POST /v3/agents`


    **Important**: API keys are shown only once during registration. Save it securely!


    ### Base URL


    ```

    https://api.vapagent.com

    ```


    ### Versioning


    Current API version: **v1.20.6**


    All endpoints are under the `/v3/` namespace.'
  contact:
    name: VAP Support
    url: https://vapagent.com/
    email: support@vapagent.com
  license:
    name: Proprietary
    url: https://vapagent.com/
  version: 1.20.6
servers:
- url: https://api.vapagent.com
  description: Production server
tags:
- name: VAP Room
paths:
  /v1/chat:
    post:
      tags:
      - VAP Room
      summary: Chat
      operationId: chat_v1_chat_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    options:
      tags:
      - VAP Room
      summary: Chat Options
      operationId: chat_options_v1_chat_options
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/profile/context:
    get:
      tags:
      - VAP Room
      summary: Profile Context
      operationId: profile_context_v1_profile_context_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/room-events:
    post:
      tags:
      - VAP Room
      summary: Room Events
      operationId: room_events_v1_room_events_post
      responses:
        '204':
          description: Successful Response
  /v1/room-sessions:
    get:
      tags:
      - VAP Room
      summary: List Room Sessions
      operationId: list_room_sessions_v1_room_sessions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/room-sessions/{chat_id}:
    get:
      tags:
      - VAP Room
      summary: Get Room Session
      operationId: get_room_session_v1_room_sessions__chat_id__get
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - VAP Room
      summary: Put Room Session
      operationId: put_room_session_v1_room_sessions__chat_id__put
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoomSessionPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/speech:
    post:
      tags:
      - VAP Room
      summary: Create Speech
      operationId: create_speech_v1_speech_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpeechRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/speech/{prediction_id}:
    get:
      tags:
      - VAP Room
      summary: Get Speech
      operationId: get_speech_v1_speech__prediction_id__get
      parameters:
      - name: prediction_id
        in: path
        required: true
        schema:
          type: string
          title: Prediction Id
      - name: X-VAP-Room-Poll-Token
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Vap-Room-Poll-Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SpeechRequest:
      properties:
        text:
          anyOf:
          - type: string
            maxLength: 1200
          - type: 'null'
          title: Text
        reply:
          anyOf:
          - type: string
            maxLength: 1200
          - type: 'null'
          title: Reply
      additionalProperties: true
      type: object
      title: SpeechRequest
    ChatRequest:
      properties:
        message:
          type: string
          maxLength: 8000
          minLength: 1
          title: Message
        profile:
          additionalProperties: true
          type: object
          title: Profile
        anchor:
          additionalProperties: true
          type: object
          title: Anchor
        history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: History
        client_context:
          additionalProperties: true
          type: object
          title: Client Context
      additionalProperties: true
      type: object
      required:
      - message
      title: ChatRequest
    RoomSessionPayload:
      properties:
        session:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Session
      additionalProperties: true
      type: object
      title: RoomSessionPayload