Spotnana · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Trips API
12 actions
12 updates
phrasing
extends
openapi/spotnana-trips-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Spotnana's API. It is a proposal applied on top of the contract, not a document Spotnana publishes.
What the actions change
x-apievangelist-phrasing
Targets 12
$.info
$.paths['/v2/trips'].post
$.paths['/v2/trips/{tripId}'].get
$.paths['/v2/trips/{tripId}'].put
$.paths['/v3/trips/{tripId}/detail'].get
$.paths['/v3/trips/{tripId}'].post
$.paths['/v3/trips/{tripId}'].delete
$.paths['/v3/trips/users/{userId}/list'].post
$.paths['/v3/trips/companies/{companyId}/list'].post
$.paths['/v2/list-organisation-trips'].post
$.paths['/v3/trips/arrangers/{arrangerId}/list'].post
$.paths['/v2/trips/{tripId}/booker-email/{bookerEmailId}/partner-info'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Trips API
version: 1.0.0
extends: openapi/spotnana-trips-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 11
- target: $.paths['/v2/trips'].post
update:
x-apievangelist-phrasing:
intent: Create a trip container
effect: write
questions:
- How do I create a container for all PNRs on a trip?
- Can I set a start and end date when creating a trip?
instructions:
- text: Create a trip named {tripName}.
slots:
tripName: requestBody.tripName
- text: Create trip {tripName} for user {userId} from {startDate} to {endDate}.
slots:
tripName: requestBody.tripName
userId: requestBody.userId
startDate: requestBody.startDate
endDate: requestBody.endDate
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/trips/{tripId}'].get
update:
x-apievangelist-phrasing:
intent: Get a trip (deprecated v2)
effect: read
questions:
- Can I still fetch a trip by ID using the older v2 endpoint?
- What does the deprecated v2 Get Trip return?
instructions:
- text: Get trip {tripId} using the deprecated v2 endpoint.
slots:
tripId: path.tripId
- text: Show the old v2 trip {tripId}.
slots:
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/trips/{tripId}'].put
update:
x-apievangelist-phrasing:
intent: Update a trip (deprecated v2)
effect: write
questions:
- Can I still update a trip's name with the older v2 endpoint?
- What does the deprecated v2 Update Trip change?
instructions:
- text: Update v2 trip {tripId} to name {tripName}.
slots:
tripId: path.tripId
tripName: requestBody.tripName
- text: Rename the old v2 trip {tripId} to {tripName}.
slots:
tripId: path.tripId
tripName: requestBody.tripName
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}/detail'].get
update:
x-apievangelist-phrasing:
intent: Get a trip's details
effect: read
questions:
- What are the details of a trip, including its refund and exchange policies?
- Can I refresh a trip's details or fetch mapped PNR data?
instructions:
- text: Get the details of trip {tripId}.
slots:
tripId: path.tripId
- text: Refresh trip {tripId} with {refreshType} and include mapped data {fetchMappedData}.
slots:
tripId: path.tripId
refreshType: query.refreshType
fetchMappedData: query.fetchMappedData
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}'].post
update:
x-apievangelist-phrasing:
intent: Update a trip's contacts and preferences
effect: write
questions:
- How do I change the contacts or communication preferences on a trip?
- Can I update a trip's communication preferences?
instructions:
- text: Update trip {tripId} contacts to {tripContacts}.
slots:
tripId: path.tripId
tripContacts: requestBody.tripContacts
- text: Set communication preferences {tripCommunicationPreferences} on trip {tripId}.
slots:
tripCommunicationPreferences: requestBody.tripCommunicationPreferences
tripId: path.tripId
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/{tripId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a trip
effect: destructive
questions:
- How do I delete a trip?
- Can I delete a trip that still has PNRs?
instructions:
- text: Delete trip {tripId}.
slots:
tripId: path.tripId
- text: Delete trip {tripId} only if it has no PNRs ({allowEmptyTripDeletionOnly}).
slots:
tripId: path.tripId
allowEmptyTripDeletionOnly: requestBody.allowEmptyTripDeletionOnly
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/users/{userId}/list'].post
update:
x-apievangelist-phrasing:
intent: List a user's trip summaries
effect: read
questions:
- What trips has a particular user booked?
- Can I filter and sort one user's trip summaries?
instructions:
- text: List trip summaries for user {userId}.
slots:
userId: path.userId
- text: List user {userId}'s trips matching {tripFilters}, sorted by {sortOptions}.
slots:
userId: path.userId
tripFilters: requestBody.tripFilters
sortOptions: requestBody.sortOptions
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/companies/{companyId}/list'].post
update:
x-apievangelist-phrasing:
intent: List a company's trip summaries
effect: read
questions:
- What trips has a company booked?
- Can I include PNR summaries when listing a company's trips?
instructions:
- text: List trip summaries for company {companyId}.
slots:
companyId: path.companyId
- text: List company {companyId}'s trips including PNR summaries {includePnrSummaries}.
slots:
companyId: path.companyId
includePnrSummaries: requestBody.includePnrSummaries
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/list-organisation-trips'].post
update:
x-apievangelist-phrasing:
intent: List trips for an organization (deprecated v2)
effect: read
questions:
- Can I still list trips for an organization using the older v2 endpoint?
- What does the deprecated v2 List Trips return?
instructions:
- text: List trips for organization {organizationId} of type {pnrType} using the deprecated v2 endpoint.
slots:
organizationId: requestBody.organizationId
pnrType: requestBody.pnrType
- text: Show the old v2 trips for {organizationId} with PNR type {pnrType}.
slots:
organizationId: requestBody.organizationId
pnrType: requestBody.pnrType
method: generated
generated: '2026-11-23'
- target: $.paths['/v3/trips/arrangers/{arrangerId}/list'].post
update:
x-apievangelist-phrasing:
intent: List trips for travelers an arranger manages
effect: read
questions:
- Which travelers does an arranger manage, and what trips have they booked?
- Can I filter and sort the trips of travelers managed by an arranger?
instructions:
- text: List trip summaries for arranger {arrangerId}'s managed travelers.
slots:
arrangerId: path.arrangerId
- text: List arranger {arrangerId}'s managed trips matching {tripFilters}.
slots:
arrangerId: path.arrangerId
tripFilters: requestBody.tripFilters
method: generated
generated: '2026-11-23'
- target: $.paths['/v2/trips/{tripId}/booker-email/{bookerEmailId}/partner-info'].get
update:
x-apievangelist-phrasing:
intent: Get partner info for a trip booker
effect: read
questions:
- What partner information is available for a trip booker?
- Can I reveal a budget card for a trip booker?
instructions:
- text: Get partner info for booker {bookerEmailId} on trip {tripId}.
slots:
bookerEmailId: path.bookerEmailId
tripId: path.tripId
- text: Reveal budget card for booker {bookerEmailId} on trip {tripId} because {revealReason}.
slots:
bookerEmailId: path.bookerEmailId
tripId: path.tripId
revealReason: query.revealReason
method: generated
generated: '2026-11-23'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/spotnana-trips-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.