AppDirect AI Embed API

The AI Embed API from AppDirect — 2 operation(s) for ai embed.

Operations 3

GET /api/v1/ai/{aiId}/embed Get embedded client configuration #
POST /api/v1/ai/{aiId}/embed Update embedded client configuration #
PUT /api/v1/ai/{aiId}/embed/generate Generate an embedded client key #

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/appdirect-ai-embed-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

appdirect-ai-embed-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Companies API allows developers to manage marketplace companies and their user memberships.
  title: Companies AI Embed API
  license:
    name: Apache License, Version 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
  version: v296.0-SNAPSHOT
servers:
- url: https://marketplace.appdirect.com/api
- url: https://virtserver.swaggerhub.com
tags:
- name: AI Embed
paths:
  /api/v1/ai/{aiId}/embed:
    get:
      tags:
      - AI Embed
      summary: Get embedded client configuration
      description: Retrieves the embedded client configuration for the AI.
      operationId: getEmbeddedClient
      parameters:
      - name: aiId
        in: path
        required: true
        description: The identifier of the AI.
        schema:
          type: string
      responses:
        '200':
          description: Embedded client configuration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbeddedClient'
      security:
      - ApiKeyAuth: []
    post:
      tags:
      - AI Embed
      summary: Update embedded client configuration
      description: Updates the embedded client configuration for the AI.
      operationId: updateEmbeddedClient
      parameters:
      - name: aiId
        in: path
        required: true
        description: The identifier of the AI.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmbeddedClientConfig'
      responses:
        '200':
          description: Embedded client updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbeddedClient'
      security:
      - ApiKeyAuth: []
  /api/v1/ai/{aiId}/embed/generate:
    put:
      tags:
      - AI Embed
      summary: Generate an embedded client key
      description: Generates a new embedded client key for the AI.
      operationId: generateEmbeddedClientKey
      parameters:
      - name: aiId
        in: path
        required: true
        description: The identifier of the AI.
        schema:
          type: string
      responses:
        '200':
          description: Embedded client created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbeddedClient'
      security:
      - ApiKeyAuth: []
components:
  schemas:
    EmbeddedClient:
      type: object
      properties:
        id:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        userId:
          type: string
        orgId:
          type: string
        aiId:
          type: string
        key:
          type: string
        data:
          $ref: '#/components/schemas/EmbeddedClientConfig'
    EmbeddedClientConfig:
      type: object
      properties:
        hostUrl:
          oneOf:
          - type: string
          - type: array
            items:
              type: string
        headerBackgroundColor:
          type: string
        borderColor:
          type: string
        shadowColor:
          type: string
        iconColor:
          type: string
        textColor:
          type: string
        linkColor:
          type: string
        aiMessageColor:
          type: string
        humanMessageColor:
          type: string
        buttonColor:
          type: string
        buttonTextColor:
          type: string
        borderRadius:
          type: integer
        buttonImageUrl:
          type: string
        buttonWidth:
          type: integer
        buttonHeight:
          type: integer
        buttonBackgroundColor:
          type: string
        buttonBorderColor:
          type: string
        buttonShadowColor:
          type: string
        buttonBorderRadius:
          type: integer
        buttonBorderWidth:
          type: integer
        buttonPosition:
          type: string
        buttonPositionX:
          type: integer
        buttonPositionY:
          type: integer
        backgroundColor:
          type: string
        disableAutoFocus:
          type: boolean