Audiala Chat API
The Chat API from Audiala — 7 operation(s) for chat.
The Chat API from Audiala — 7 operation(s) for chat.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/audiala-com:audiala-com-chat-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: MarcoPolo Chat API
description: API for the MarcoPolo application
version: 0.1.0
tags:
- name: Chat
paths:
/chat/city/{city_id}:
post:
summary: Chat With City
description: 'Chat with AI about a specific city.
This endpoint allows users to ask questions about a city and receive
AI-generated responses based on the city''s GraphRAG knowledge base.
Args:
city_id: The city identifier (e.g., "Q60" for New York)
request: Chat request containing the user''s message and options
Returns:
ChatResponse with AI-generated answer and conversation metadata'
operationId: chat_with_city_chat_city__city_id__post
parameters:
- name: city_id
in: path
required: true
schema:
type: string
title: City Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CityChatRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/marcopolo__functions__itineraries__chat_models__ChatResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/monument/{monument_id}:
post:
summary: Chat With Monument
description: 'Chat with AI about a specific monument.
This endpoint allows users to ask questions about a monument and receive
AI-generated responses based on the monument''s vector store (Wikipedia + references).
Args:
monument_id: The monument identifier from the database
request: Chat request containing the user''s message and options
Returns:
ChatResponse with AI-generated answer and conversation metadata'
operationId: chat_with_monument_chat_monument__monument_id__post
parameters:
- name: monument_id
in: path
required: true
schema:
type: string
title: Monument Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MonumentChatRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/marcopolo__functions__itineraries__chat_models__ChatResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/conversations/{entity_id}:
get:
summary: List Conversations
description: List active conversations scoped to the authenticated user (or all for internal callers).
operationId: list_conversations_chat_conversations__entity_id__get
parameters:
- name: entity_id
in: path
required: true
schema:
type: string
title: Entity Id
- name: user_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: User Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-internal-token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/user/{user_id}/conversations:
get:
summary: List User Conversations
description: List all active conversations for a specific user (must match authenticated caller).
operationId: list_user_conversations_chat_user__user_id__conversations_get
parameters:
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
- name: entity_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Entity Type
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-internal-token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/city/{city_id}/stream:
post:
summary: Chat With City Stream
description: 'Stream chat responses with AI about a specific city.
This endpoint allows users to ask questions about a city and receive
streaming AI-generated responses based on the city''s GraphRAG knowledge base.
Args:
city_id: The city identifier (e.g., "Q60" for New York)
request: Chat request containing the user''s message and options
Returns:
StreamingResponse with Server-Sent Events (SSE) format'
operationId: chat_with_city_stream_chat_city__city_id__stream_post
parameters:
- name: city_id
in: path
required: true
schema:
type: string
title: City Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CityChatRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/monument/{monument_id}/stream:
post:
summary: Chat With Monument Stream
description: 'Stream chat responses with AI about a specific monument.
This endpoint allows users to ask questions about a monument and receive
streaming AI-generated responses based on the monument''s vector store.
Args:
monument_id: The monument identifier
request: Chat request containing the user''s message and options
Returns:
StreamingResponse with Server-Sent Events (SSE) format'
operationId: chat_with_monument_stream_chat_monument__monument_id__stream_post
parameters:
- name: monument_id
in: path
required: true
schema:
type: string
title: Monument Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MonumentChatRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
/chat/conversation/{conversation_id}:
get:
summary: Get Conversation
description: Retrieve metadata and messages for a conversation owned by the authenticated user.
operationId: get_conversation_chat_conversation__conversation_id__get
parameters:
- name: conversation_id
in: path
required: true
schema:
type: string
title: Conversation Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-internal-token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
delete:
summary: Clear Conversation
description: Clear a specific conversation from memory (must belong to authenticated user).
operationId: clear_conversation_chat_conversation__conversation_id__delete
parameters:
- name: conversation_id
in: path
required: true
schema:
type: string
title: Conversation Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-internal-token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Internal-Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Chat
components:
schemas:
CityChatRequest:
properties:
message:
type: string
title: Message
description: User's question about the city
user_id:
anyOf:
- type: string
- type: 'null'
title: User Id
description: User identifier for maintaining separate conversations
conversation_id:
anyOf:
- type: string
- type: 'null'
title: Conversation Id
description: Unique conversation identifier for context
context_window:
type: integer
maximum: 10.0
minimum: 0.0
title: Context Window
description: Number of previous messages to include as context
default: 5
temperature:
type: number
maximum: 1.0
minimum: 0.0
title: Temperature
description: LLM temperature for response generation
default: 0.7
max_tokens:
type: integer
maximum: 4000.0
minimum: 100.0
title: Max Tokens
description: Maximum tokens in response
default: 1000
include_sources:
type: boolean
title: Include Sources
description: Include source references in response
default: false
stream:
type: boolean
title: Stream
description: Enable streaming response
default: true
context:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Context
description: Additional context including entity details
type: object
required:
- message
title: CityChatRequest
description: Request model for city chat endpoint
example:
context_window: 5
conversation_id: conv-123-abc
include_sources: true
max_tokens: 1000
message: What are the best museums to visit in Paris?
temperature: 0.7
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
MonumentChatRequest:
properties:
message:
type: string
title: Message
description: User's question about the monument
user_id:
anyOf:
- type: string
- type: 'null'
title: User Id
description: User identifier for maintaining separate conversations
conversation_id:
anyOf:
- type: string
- type: 'null'
title: Conversation Id
description: Unique conversation identifier for context
include_wikipedia:
type: boolean
title: Include Wikipedia
description: Include Wikipedia content in RAG search
default: true
language:
type: string
title: Language
description: Language code for the response
default: en
context_window:
type: integer
maximum: 10.0
minimum: 0.0
title: Context Window
description: Number of previous messages to include as context
default: 5
temperature:
type: number
maximum: 1.0
minimum: 0.0
title: Temperature
description: LLM temperature for response generation
default: 0.7
max_tokens:
type: integer
maximum: 4000.0
minimum: 100.0
title: Max Tokens
description: Maximum tokens in response
default: 1000
include_sources:
type: boolean
title: Include Sources
description: Include source references in response
default: false
stream:
type: boolean
title: Stream
description: Enable streaming response
default: true
context:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Context
description: Additional context including entity details like opening hours
type: object
required:
- message
title: MonumentChatRequest
description: Request model for monument chat endpoint
example:
context_window: 5
conversation_id: conv-456-def
include_sources: true
include_wikipedia: true
language: en
max_tokens: 1000
message: When was the Eiffel Tower built and why?
temperature: 0.7
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
marcopolo__functions__itineraries__chat_models__ChatResponse:
properties:
response:
type: string
title: Response
description: AI-generated response to the user's question
conversation_id:
type: string
title: Conversation Id
description: Conversation ID for maintaining context
entity_id:
type: string
title: Entity Id
description: ID of the city or monument being discussed
entity_type:
type: string
title: Entity Type
description: 'Type of entity: ''city'' or ''monument'''
success:
type: boolean
title: Success
description: Whether the RAG query was successful or not
default: true
sources:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Sources
description: List of sources used for the response
confidence_score:
anyOf:
- type: number
maximum: 1.0
minimum: 0.0
- type: 'null'
title: Confidence Score
description: Confidence score of the response
suggested_questions:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Suggested Questions
description: Suggested follow-up questions
processing_time:
anyOf:
- type: number
- type: 'null'
title: Processing Time
description: Time taken to process the request in seconds
message_id:
anyOf:
- type: string
- type: 'null'
title: Message Id
description: Unique identifier for this message
type: object
required:
- response
- conversation_id
- entity_id
- entity_type
title: ChatResponse
description: Response model for chat endpoints
example:
confidence_score: 0.95
conversation_id: conv-456-def
entity_id: '12345'
entity_type: monument
processing_time: 1.23
response: The Eiffel Tower was built between 1887 and 1889 for the 1889 World's Fair...
sources:
- 'Wikipedia: Eiffel Tower'
- Official Eiffel Tower Website
success: true
suggested_questions:
- Who designed the Eiffel Tower?
- How tall is the Eiffel Tower?
- Can you visit the top of the Eiffel Tower?