TravelMindsAI Agent API
The agent API from TravelMindsAI — 3 operation(s) for agent.
Operations 3
POST
/v1/agent/concierge
Trip planner: a day-by-day plan from a natural-language request (not offered at…
#
The agent API from TravelMindsAI — 3 operation(s) for agent.
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/travelminds-ai:travelminds-ai-agent-api"
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.
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: 3.2.0
info:
title: Travelminds Ai Agent API
version: 0.13.0
description: 'Operations tagged agent across 2 of this provider''s published API definitions: travelminds-ai-api-openapi.json, travelminds-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.travelminds.ai
description: Production
tags:
- name: Agent
paths:
/v1/agent/concierge:
post:
tags:
- Agent
summary: 'Trip planner: a day-by-day plan from a natural-language request (not offered at…'
description: 'Not offered at present. While the trip planner is switched off this route answers 503 with {"error": "planner_not_offered", "message": "The trip planner is not offered at present. The data routes are unaffected."}. Nothing is metered or stored for a refused call. When switched on: Send a natural-language travel query and receive a day-by-day plan composed by a language model from TravelMindsAI''s data tools (cities, circuits, heritage, restaurants, hotels, UNESCO). Counts on the planner meter, not the data meter.'
operationId: concierge_v1_agent_concierge_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-rapidapi-proxy-secret
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Rapidapi-Proxy-Secret
- name: x-rapidapi-user
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Rapidapi-User
- name: x-tmai-proxy-secret
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-Secret
- name: x-tmai-proxy-provider
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-Provider
- name: x-tmai-proxy-user
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-User
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ConciergeOut'
'503':
description: The trip planner is not offered at present.
content:
application/json:
example:
error: planner_not_offered
message: The trip planner is not offered at present. The data routes are unaffected.
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
x-tmai-offered: false
/v1/agent/tool/{name}:
post:
tags:
- Agent
summary: Direct invocation of one listed Concierge tool by name
description: Atomic per-tool entry point — bypasses the ReAct loop and just runs one tool against the same Postgres pool the agent uses. Only the tools GET /v1/agent/tools lists can be called; any other name answers 404 and is not charged. Body matches the tool's input_schema (see GET /v1/agent/tools). Same auth / quota / rate-limits as the data API. One call = one quota.
operationId: concierge_subtool_v1_agent_tool__name__post
parameters:
- name: name
in: path
required: true
schema:
type: string
title: Name
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: x-rapidapi-proxy-secret
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Rapidapi-Proxy-Secret
- name: x-rapidapi-user
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Rapidapi-User
- name: x-tmai-proxy-secret
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-Secret
- name: x-tmai-proxy-provider
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-Provider
- name: x-tmai-proxy-user
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tmai-Proxy-User
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Concierge Subtool V1 Agent Tool Name Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/agent/tools:
get:
tags:
- Agent
summary: List all Concierge sub-tools and their input schemas
description: Public registry view. Each entry has name, description, and input_schema (JSON Schema, same shape Anthropic's tool API expects). Drives client-side SDK generation and the /docs/api/concierge.md atomic-tool-endpoints section.
operationId: list_concierge_tools_v1_agent_tools_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
additionalProperties: true
type: object
type: array
title: Response List Concierge Tools V1 Agent Tools Get
security: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AnchorExperience:
properties:
name:
type: string
title: Name
why_it_matters:
anyOf:
- type: string
- type: 'null'
title: Why It Matters
best_time:
anyOf:
- type: string
- type: 'null'
title: Best Time
type: object
required:
- name
title: AnchorExperience
description: 'Itinerary doctrine: each day is built around ONE titled hero
moment with explicit significance. Optional — populated when the day has a
clear anchor; absent for pure transfer/leisure days.'
CitationsBlock:
properties:
tool_calls:
items:
additionalProperties: true
type: object
type: array
title: Tool Calls
default: []
data_sources:
items:
type: string
type: array
title: Data Sources
default: []
attribution_lines:
items:
type: string
type: array
title: Attribution Lines
default: []
ground_truth_refs:
items:
type: string
type: array
title: Ground Truth Refs
default: []
type: object
title: CitationsBlock
ItineraryItem:
properties:
item:
type: string
title: Item
category:
anyOf:
- type: string
- type: 'null'
title: Category
duration_min:
anyOf:
- type: integer
- type: 'null'
title: Duration Min
timings:
anyOf:
- type: string
- type: 'null'
title: Timings
fee:
anyOf:
- type: string
- type: 'null'
title: Fee
citation:
anyOf:
- type: string
- type: 'null'
title: Citation
type: object
required:
- item
title: ItineraryItem
CityRef:
properties:
id:
anyOf:
- type: string
- type: 'null'
title: Id
name:
type: string
title: Name
iso_alpha2:
anyOf:
- type: string
- type: 'null'
title: Iso Alpha2
state_code:
anyOf:
- type: string
- type: 'null'
title: State Code
type: object
required:
- name
title: CityRef
RestaurantRecommended:
properties:
city_id:
anyOf:
- type: string
- type: 'null'
title: City Id
name:
type: string
title: Name
citation:
anyOf:
- type: string
- type: 'null'
title: Citation
type: object
required:
- name
title: RestaurantRecommended
ItineraryDay:
properties:
day:
type: integer
title: Day
city:
anyOf:
- $ref: '#/components/schemas/CityRef'
- type: 'null'
title:
anyOf:
- type: string
- type: 'null'
title: Title
anchor:
anyOf:
- $ref: '#/components/schemas/AnchorExperience'
- type: 'null'
pace:
anyOf:
- type: string
- type: 'null'
title: Pace
morning:
items:
$ref: '#/components/schemas/ItineraryItem'
type: array
title: Morning
default: []
afternoon:
items:
$ref: '#/components/schemas/ItineraryItem'
type: array
title: Afternoon
default: []
evening:
items:
$ref: '#/components/schemas/ItineraryItem'
type: array
title: Evening
default: []
items:
items:
$ref: '#/components/schemas/ItineraryItem'
type: array
title: Items
default: []
stay:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Stay
transit_in:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Transit In
type: object
required:
- day
title: ItineraryDay
ConciergeOut:
properties:
version:
type: string
title: Version
default: concierge_v0
query:
type: string
title: Query
language_detected:
anyOf:
- type: string
- type: 'null'
title: Language Detected
summary:
type: string
title: Summary
default: ''
itinerary:
items:
$ref: '#/components/schemas/ItineraryDay'
type: array
title: Itinerary
default: []
restaurants_recommended:
items:
$ref: '#/components/schemas/RestaurantRecommended'
type: array
title: Restaurants Recommended
default: []
heritage_highlights:
items:
$ref: '#/components/schemas/HeritageHighlight'
type: array
title: Heritage Highlights
default: []
coverage_notes:
anyOf:
- type: string
- type: 'null'
title: Coverage Notes
citations:
$ref: '#/components/schemas/CitationsBlock'
default:
tool_calls: []
data_sources: []
attribution_lines: []
ground_truth_refs: []
partial:
type: boolean
title: Partial
default: false
degraded_reason:
anyOf:
- type: string
- type: 'null'
title: Degraded Reason
tokens_used:
$ref: '#/components/schemas/TokensUsed'
default:
input: 0
output: 0
cache_read: 0
cache_create: 0
tool_calls_made:
type: integer
title: Tool Calls Made
default: 0
elapsed_ms:
type: integer
title: Elapsed Ms
default: 0
layout_hint:
type: string
title: Layout Hint
default: universal
type: object
required:
- query
title: ConciergeOut
HeritageHighlight:
properties:
name:
type: string
title: Name
type:
anyOf:
- type: string
- type: 'null'
title: Type
citation:
anyOf:
- type: string
- type: 'null'
title: Citation
type: object
required:
- name
title: HeritageHighlight
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
TokensUsed:
properties:
input:
type: integer
title: Input
default: 0
output:
type: integer
title: Output
default: 0
cache_read:
type: integer
title: Cache Read
default: 0
cache_create:
type: integer
title: Cache Create
default: 0
type: object
title: TokensUsed
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: tmai_live_…
description: Your TravelMindsAI API key.
SessionAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: A session token from /v1/login.
x-refined-from:
- travelminds-ai-api-openapi.json
- travelminds-ai-openapi.json