Audiala AI API

The Ai API from Audiala — 3 operation(s) for ai.

Operations 3

POST /ai/chat Ai Router Chat #
POST /ai/chat/stream Ai Router Chat Stream #
GET /ai/health Ai Router Health #

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/audiala-com:audiala-com-ai-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

audiala-com-ai-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MarcoPolo AI API
  description: API for the MarcoPolo application
  version: 0.1.0
tags:
- name: AI
paths:
  /ai/chat:
    post:
      summary: Ai Router Chat
      description: 'Intelligent AI Router endpoint that automatically routes queries to the appropriate service.


        This endpoint:

        - Classifies the query intent (city, monument, itinerary, general)

        - Routes to the appropriate RAG service or LLM

        - Handles out-of-scope queries gracefully

        - Maintains conversation context'
      operationId: ai_router_chat_ai_chat_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/marcopolo__ai_router_simple__ChatResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - AI
  /ai/chat/stream:
    post:
      summary: Ai Router Chat Stream
      description: 'Streaming version of the AI Router chat endpoint.


        Provides real-time streaming responses for better user experience.'
      operationId: ai_router_chat_stream_ai_chat_stream_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - AI
  /ai/health:
    get:
      summary: Ai Router Health
      description: 'Health check endpoint for AI Router service.


        Returns the status of the AI Router and its dependencies.'
      operationId: ai_router_health_ai_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - AI
components:
  schemas:
    ChatRequest:
      properties:
        message:
          type: string
          title: Message
          description: User's query or message
        user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: User Id
          description: User identifier
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
          description: Conversation thread ID
        conversation_history:
          anyOf:
          - items:
              $ref: '#/components/schemas/ChatMessage'
            type: array
          - type: 'null'
          title: Conversation History
          description: Previous messages in conversation
        context:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Context
          description: Additional context
        language:
          type: string
          title: Language
          description: Language code
          default: en
        location:
          anyOf:
          - additionalProperties:
              type: number
            type: object
          - type: 'null'
          title: Location
          description: User's location (lat, lon)
        entity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Id
          description: City or monument ID if known
        entity_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Name
          description: Name of the city or monument
        entity_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Type
          description: 'Type: city or monument'
        max_tokens:
          anyOf:
          - type: integer
            maximum: 20000.0
            minimum: 0.0
          - type: 'null'
          title: Max Tokens
          default: 4000
        temperature:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Temperature
          default: 0.7
        route_to:
          anyOf:
          - type: string
            enum:
            - general
            - city
            - monument
            - map
          - type: 'null'
          title: Route To
          description: Bypass routing and send directly to specified handler
      type: object
      required:
      - message
      title: ChatRequest
      description: Unified chat request model for all AI interactions
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    marcopolo__ai_router_simple__ChatResponse:
      properties:
        response:
          type: string
          title: Response
        conversation_id:
          type: string
          title: Conversation Id
        query_type:
          type: string
          title: Query Type
        entity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Id
        entity_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Type
        success:
          type: boolean
          title: Success
          default: true
        sources:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Sources
        confidence_score:
          type: number
          title: Confidence Score
        processing_time:
          type: number
          title: Processing Time
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
      type: object
      required:
      - response
      - conversation_id
      - query_type
      - confidence_score
      - processing_time
      title: ChatResponse
      description: Unified response model for AI interactions
    ChatMessage:
      properties:
        role:
          type: string
          enum:
          - system
          - user
          - assistant
          title: Role
        content:
          type: string
          title: Content
        timestamp:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Timestamp
      type: object
      required:
      - role
      - content
      title: ChatMessage
      description: Individual message in conversation history
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError