VAP AI VAP Human API

The VAP Human API from VAP AI, for vap human.

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 14

POST /vap-human/auth/google/start Start Google Auth #
GET /vap-human/auth/google/callback Google Callback #
GET /vap-human/session Get Session #
DELETE /vap-human/session Delete Session #
GET /vap-human/me/access Get Access #
GET /vap-human/me/api-key Get Api Key #
POST /vap-human/me/api-key Rotate Api Key #
GET /vap-human/me/code-access Get Code Access #
GET /vap-human/media/download Download Room Media #
POST /vap-human/generations Create Generation #
GET /vap-human/generations List Generations #
GET /vap-human/generations/{task_id} Get Generation #
POST /vap-human/checkout/sessions Create Checkout Session #
GET /vap-human/checkout/sessions/{deposit_id} Get Checkout Session #

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-human-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-human-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VAP - Execution Control Layer for AI Agents VAP Human 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 Human
paths:
  /vap-human/auth/google/start:
    post:
      tags:
      - VAP Human
      summary: Start Google Auth
      operationId: start_google_auth_vap_human_auth_google_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleAuthStartRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/auth/google/callback:
    get:
      tags:
      - VAP Human
      summary: Google Callback
      operationId: google_callback_vap_human_auth_google_callback_get
      parameters:
      - name: code
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: error
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/session:
    get:
      tags:
      - VAP Human
      summary: Get Session
      operationId: get_session_vap_human_session_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    delete:
      tags:
      - VAP Human
      summary: Delete Session
      operationId: delete_session_vap_human_session_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /vap-human/me/access:
    get:
      tags:
      - VAP Human
      summary: Get Access
      operationId: get_access_vap_human_me_access_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /vap-human/me/api-key:
    get:
      tags:
      - VAP Human
      summary: Get Api Key
      operationId: get_api_key_vap_human_me_api_key_get
      parameters:
      - name: product
        in: query
        required: false
        schema:
          enum:
          - media
          - code
          type: string
          default: media
          title: Product
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - VAP Human
      summary: Rotate Api Key
      operationId: rotate_api_key_vap_human_me_api_key_post
      parameters:
      - name: product
        in: query
        required: false
        schema:
          enum:
          - media
          - code
          type: string
          default: media
          title: Product
      - name: valid_days
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Valid Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/me/code-access:
    get:
      tags:
      - VAP Human
      summary: Get Code Access
      operationId: get_code_access_vap_human_me_code_access_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /vap-human/media/download:
    get:
      tags:
      - VAP Human
      summary: Download Room Media
      operationId: download_room_media_vap_human_media_download_get
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
          title: Url
      - name: filename
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Filename
      - name: kind
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - image
            - video
            - music
            - audio
            type: string
          - type: 'null'
          title: Kind
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/generations:
    post:
      tags:
      - VAP Human
      summary: Create Generation
      operationId: create_generation_vap_human_generations_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api__routes__vap_human__router__GenerationRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - VAP Human
      summary: List Generations
      operationId: list_generations_vap_human_generations_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 20
          title: Limit
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/generations/{task_id}:
    get:
      tags:
      - VAP Human
      summary: Get Generation
      operationId: get_generation_vap_human_generations__task_id__get
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/checkout/sessions:
    post:
      tags:
      - VAP Human
      summary: Create Checkout Session
      operationId: create_checkout_session_vap_human_checkout_sessions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api__routes__vap_human__router__CheckoutSessionRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /vap-human/checkout/sessions/{deposit_id}:
    get:
      tags:
      - VAP Human
      summary: Get Checkout Session
      operationId: get_checkout_session_vap_human_checkout_sessions__deposit_id__get
      parameters:
      - name: deposit_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Deposit Id
      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
    GoogleAuthStartRequest:
      properties:
        destination:
          anyOf:
          - type: string
          - type: 'null'
          title: Destination
          default: /new-dashboard/
      additionalProperties: false
      type: object
      title: GoogleAuthStartRequest
    api__routes__vap_human__router__GenerationRequest:
      properties:
        kind:
          type: string
          enum:
          - image
          - video
          - music
          title: Kind
        prompt:
          type: string
          maxLength: 8000
          minLength: 1
          title: Prompt
        params:
          additionalProperties: true
          type: object
          title: Params
      additionalProperties: false
      type: object
      required:
      - kind
      - prompt
      title: GenerationRequest
    api__routes__vap_human__router__CheckoutSessionRequest:
      properties:
        checkout_type:
          anyOf:
          - type: string
            enum:
            - room_plan
            - room_topup
            - api_balance
            - code_plan
          - type: 'null'
          title: Checkout Type
        plan_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Plan Code
        amount:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Amount
        provider:
          type: string
          enum:
          - crypto
          - lemonsqueezy
          title: Provider
        success_url:
          type: string
          title: Success Url
        cancel_url:
          type: string
          title: Cancel Url
        pending_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Pending Url
        purchase_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Purchase Type
        topup:
          anyOf:
          - {}
          - type: 'null'
          title: Topup
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
      additionalProperties: false
      type: object
      required:
      - provider
      - success_url
      - cancel_url
      title: CheckoutSessionRequest