Stardrift
App · 20 actions
Read trips and bookings and manage itineraries and saved places.
Actions
| Action | What it does |
|---|---|
| Add Day Note | Add Day Note |
| Add Event To Trip | Record something scheduled that isn't a booking. |
| Add Place | Add Place |
| Add Stay To Trip | Record a booked stay. |
| Create List | Create List |
| Create Section | Create Section |
| Create Trip | Create a new draft trip with num_days blank days, ready for add_place/add_day_note. |
| Get List Contents | Get List Contents |
| Get Plan | Get Plan |
| List Bookings | The user's bookings. |
| List Lists | List Lists |
| List Trips | List Trips |
| Move Entry | Move a place or note without resolving its place again. |
| Place Autocomplete | Google Places autocomplete powering the Saved "Add a place" search. |
| Search Flights | Search Flights |
| Search Hotels | Search Hotels |
| Update Entry | Correct a place annotation, note text, or local time in place. |
| Update List | Update List |
| Update Section | Update Section |
| Update Stay On Trip | Change a booking in place. |
Add Day Note
Add Day Note
Inputs
- Day number
day_numbernumberRequired - Day number.At least 1.
- Trip
trip_idtextRequired - Trip id.
- Content
contenttextRequired - Content.
- Time
timetime - Time.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {}
}Add Event To Trip
Record something scheduled that isn't a booking. a wedding, a concert. add_place_to_guide would make it an attraction, which is what a place the user might visit is, not something happening at a time they are expected at. An event carries its own start and end, and its venue is geocoded to a pin when one resolves. This is the same add_event the in-app Add-event flow calls; only the authentication differs.
Inputs
- Trip
trip_idtextRequired - Trip id.
- Name
nametextRequired - Name.
- Start datetime
start_datetimedate and time - Start datetime.
- End datetime
end_datetimedate and time - End datetime.
- Venue name
venue_nametext - Venue name.
- Address
addresstext - Address.
- Place ID
place_idtext - Place id.
- Category
categorytext - Category.
- Description
descriptiontext - Description.
- City
citytext - City.
- Total price
total_pricenumber - Total price.
- Currency
currencytext - Currency.Default:
USD. - Confirmation number
confirmation_numbertext - Confirmation number.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"activity": {},
"activity_id": "sample_activity_id",
"warnings": [
"Example"
]
}
}Add Place
Add Place
Inputs
- Trip
trip_idtextRequired - Trip id.
- Day number
day_numbernumberRequired - Day number.At least 1.0.
- Name
nametextRequired - Name.
- Search query
search_querytext - Search query.
- Time
timetime - Time.
- Note
notetext - Note.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"entry_id": "sample_entry_id",
"item_id": "sample_item_id",
"latitude": 1,
"longitude": 1,
"name": "Example",
"plan_version": 1,
"rating": 1
}
}Add Stay To Trip
Record a booked stay. it lands in Bookings, not as a place card. A hotel added through add_place_to_guide becomes an attraction: no dates, no confirmation number, and it never appears alongside the flights and other reservations. This is the same add_stay the in-app Add-stay flow calls, so the stay is geocoded, canonical-stamped, date-synced and enqueued for enrichment identically. only the authentication differs.
Inputs
- Trip
trip_idtextRequired - Trip id.
- Address
addresstextRequired - Address.
- Place ID
place_idtext - Place id.
- Name
nametext - Name.
- Check in date
check_in_datedate - Check in date.
- Check out date
check_out_datedate - Check out date.
- Check in time
check_in_timetime - Check in time.
- Check out time
check_out_timetime - Check out time.
- Total price
total_pricenumber - Total price.
- Currency
currencytext - Currency.Default:
USD. - Confirmation number
confirmation_numbertext - Confirmation number.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"hotel": {},
"stay_id": "sample_stay_id"
}
}Create List
Create List
Inputs
- Title
titletextRequired - Title.
- Source
sourcetext - Source.One of:
manual,chat,tiktok,ig,shared. Default:manual. - Source URL
source_urltext - Source url.
- City
citytext - City.
- Cover image URL
cover_image_urltext - Cover image url.
- Intro
introtext - Intro.
- Visibility
visibilitytext - Visibility.One of:
public,private.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"city": "Example",
"cover_image_url": "Example",
"created_at": "Example",
"failed_reason": "Example",
"id": "00000000-0000-4000-8000-000000000001",
"intro": "Example",
"is_shared": false,
"item_count": 1,
"public_url": "Example",
"routes": [
{
"activity": "Example",
"ascent_m": 1,
"chains": [
"Example"
],
"claimed_ascent_m": 1,
"claimed_length_km": 1,
"descent_m": 1,
"id": "00000000-0000-4000-8000-000000000001",
"length_m": 1,
"list_id": "00000000-0000-4000-8000-000000000001",
"max_elev_m": 1,
"min_elev_m": 1,
"name": "Example",
"osm_name": "Example",
"place_item_id": "00000000-0000-4000-8000-000000000001",
"profile": {},
"status": "Example",
"tag_lengths": {}
}
],
"sections": [
{
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"00000000-0000-4000-8000-000000000001"
],
"title": "Example"
}
],
"slug": "Example",
"source": "Example",
"source_author": "Example",
"source_url": "Example",
"status": "Example",
"title": "Example",
"updated_at": "Example",
"visibility": "public"
}
}Create Section
Create Section
Inputs
- List
list_idtextRequired - List id.
- X client ID
x_client_idtext - X-client-id.
- Title
titletextRequired - Title.
- Blurb
blurbtext - Blurb.
- Item IDS
item_idslist - Item ids.
Outputs
dataobject- `item_ids` is both membership and display order; stale ids drop on read.
Example output
{
"data": {
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"00000000-0000-4000-8000-000000000001"
],
"title": "Example"
}
}Create Trip
Create a new draft trip with num_days blank days, ready for add_place/add_day_note. Mirrors the in-app create path: a Trip plus its primary conversation link, then an empty plan. Returns the trip summary, including the new trip_id.
Inputs
- Title
titletextRequired - Title.
- Num days
num_daysnumber - Num days.From 1.0 to 60.0. Default:
1.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"end_date": "2026-11-30",
"id": "00000000-0000-4000-8000-000000000001",
"is_published": false,
"slug": "Example",
"start_date": "2026-11-30",
"title": "Example",
"updated_at": "2026-11-30T12:00:00Z",
"visibility": "Example"
}
}Get List Contents
Get List Contents
Inputs
- List
list_idtextRequired - List id.
- Offset
offsetnumber - Offset.At least 0. Default:
0. - Limit
limitnumber - Limit.From 1 to 200. Default:
100.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"items": [
{
"caption": "Example",
"category": "Example",
"city": "Example",
"country": "Example",
"created_at": "Example",
"description": "Example",
"id": "00000000-0000-4000-8000-000000000001",
"image_thumbhash": "Example",
"image_url": "Example",
"is_shared": false,
"lat": 1,
"list_id": "00000000-0000-4000-8000-000000000001",
"lng": 1,
"michelin": {
"cuisine": "Example",
"green_star": false,
"stars": 1,
"tier": "stars",
"url": "Example"
},
"name": "Example",
"num_reviews": 1,
"place_id": "sample_place_id",
"place_ref": "Example",
"rating": 1,
"review_state": "Example",
"source": "Example",
"source_url": "Example",
"state": "Example",
"tabelog_tier": 1
}
],
"list": {
"city": "Example",
"cover_image_url": "Example",
"created_at": "Example",
"failed_reason": "Example",
"id": "00000000-0000-4000-8000-000000000001",
"intro": "Example",
"is_shared": false,
"item_count": 1,
"public_url": "Example",
"routes": [
{
"activity": "Example",
"ascent_m": 1,
"chains": [
"Example"
],
"claimed_ascent_m": 1,
"claimed_length_km": 1,
"descent_m": 1,
"id": "00000000-0000-4000-8000-000000000001",
"length_m": 1,
"list_id": "00000000-0000-4000-8000-000000000001",
"max_elev_m": 1,
"min_elev_m": 1,
"name": "Example",
"osm_name": "Example",
"place_item_id": "00000000-0000-4000-8000-000000000001",
"profile": {},
"status": "Example",
"tag_lengths": {}
}
],
"sections": [
{
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"sample_item_ids"
],
"title": "Example"
}
],
"slug": "Example",
"source": "Example",
"source_author": "Example",
"source_url": "Example",
"status": "Example",
"title": "Example",
"updated_at": "Example",
"visibility": "public"
},
"next_offset": 1
}
}Get Plan
Get Plan
Inputs
- Trip
trip_idtextRequired - Trip id.
- Include booking links
include_booking_linkstrue/false - Include booking links.Default:
false.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"activities": {},
"days": [
{}
],
"journeys": {},
"plan_version": 1,
"stays": {},
"title": "Example",
"trip_id": "00000000-0000-4000-8000-000000000001"
}
}List Bookings
The user's bookings. imported from email (Gmail scan, forwarded confirmations, in-chat paste) and sold first-party. in the exact shape the in-app Bookings page renders, so a flight comes back with its card_data and its editable ExtractedFlight.
Inputs
- Booking type
booking_typetext - Booking type.One of:
flight,hotel,rail,road,car_rental(Car rental),event. - Trip
trip_idtext - Trip id.
- From date
from_datedate - From date.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"bookings": [
{
"booking_type": "Example",
"card_data": {
"__index": 1,
"__tool_call_id": "sample___tool_call_id",
"adults": 1,
"award_details": {},
"booking_links": [
{}
],
"booking_links_status": "Example",
"booking_token": "Example",
"cabin_class": "Example",
"cash_details": {},
"children": 1,
"confirmation_number": "Example",
"departure_token": "Example",
"is_booked": false,
"is_user_import": false,
"journeys": [
{}
],
"message_id": "sample_message_id",
"return_date": "Example",
"travellers": [
{}
],
"type": "one-way",
"user_edited": false
},
"confirmation_number": "Example",
"created_at": "Example",
"edit_data": {
"award": {},
"booking_reference": "Example",
"carry_on_bags": 1,
"check_in_url": "Example",
"checked_bags": 1,
"children": 1,
"confirmation_number": "Example",
"currency": "Example",
"eticket_number": "Example",
"fare_class": "Example",
"infants": 1,
"oag_enriched_at": "Example",
"outbound_segments": [
{}
],
"passenger_count": 1,
"passenger_names": [
"Example"
],
"price": 1,
"return_segments": [
{}
],
"type": "one-way"
},
"event_date": "Example",
"gmail_link": "Example",
"id": "sample_id",
"import_kind": "email",
"import_link": "Example",
"import_sources": [
{}
],
"review": {
"nudge": false,
"question": "which_trip",
"travelers": [
"Example"
]
},
"source": "email_import",
"status": "active",
"travellers": [
{}
],
"trip_id": "sample_trip_id",
"trip_title": "Example"
}
]
}
}List Lists
List Lists
Inputs
None.
Outputs
datalist- The response from Stardrift.
Example output
{
"data": [
{
"city": "Example",
"cover_image_url": "Example",
"created_at": "Example",
"failed_reason": "Example",
"id": "00000000-0000-4000-8000-000000000001",
"intro": "Example",
"is_shared": false,
"item_count": 1,
"public_url": "Example",
"routes": [
{
"activity": "Example",
"ascent_m": 1,
"chains": [
"Example"
],
"claimed_ascent_m": 1,
"claimed_length_km": 1,
"descent_m": 1,
"id": "00000000-0000-4000-8000-000000000001",
"length_m": 1,
"list_id": "00000000-0000-4000-8000-000000000001",
"max_elev_m": 1,
"min_elev_m": 1,
"name": "Example",
"osm_name": "Example",
"place_item_id": "00000000-0000-4000-8000-000000000001",
"profile": {},
"status": "Example",
"tag_lengths": {}
}
],
"sections": [
{
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"sample_item_ids"
],
"title": "Example"
}
],
"slug": "Example",
"source": "Example",
"source_author": "Example",
"source_url": "Example",
"status": "Example",
"title": "Example",
"updated_at": "Example",
"visibility": "public"
}
]
}List Trips
List Trips
Inputs
None.
Outputs
datalist- The response from Stardrift.
Example output
{
"data": [
{
"end_date": "2026-11-30",
"id": "00000000-0000-4000-8000-000000000001",
"is_published": false,
"slug": "Example",
"start_date": "2026-11-30",
"title": "Example",
"updated_at": "2026-11-30T12:00:00Z",
"visibility": "Example"
}
]
}Move Entry
Move a place or note without resolving its place again.
Inputs
- Entry ID
entry_idtextRequired - Entry id.
- Day number
day_numbernumberRequired - Day number.At least 1.
- Trip
trip_idtextRequired - Trip id.
- To day number
to_day_numbernumberRequired - To day number.At least 1.0.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"entry_id": "sample_entry_id",
"plan_version": 1
}
}Place Autocomplete
Google Places autocomplete powering the Saved "Add a place" search.
Inputs
- Query
querytextRequired - Query.
- Lat
latnumber - Lat.
- Lng
lngnumber - Lng.
Outputs
datalist- The response from Stardrift.
Example output
{
"data": [
{
"address": "Example",
"name": "Example",
"place_id": "sample_place_id",
"types": [
"Example"
]
}
]
}Search Flights
Search Flights
Inputs
- Adults
adultsnumber - Adults.From 1.0 to 9.0. Default:
1. - Currency
currencytext - Currency.One of:
ALL,DZD,ARS,AMD,AWG,AUD,AZN,BSD,BHD,BYN, and 61 more. Default:USD. - Legs
legslistRequired - Legs.
- Trip type
trip_typetext - Trip type.One of:
one_way(One way),roundtrip,multi_city(Multi city). Default:one_way. - Children
childrennumber - Children.From 0.0 to 8.0. Default:
0. - Travel class
travel_classtext - Travel class.One of:
economy,premium_economy(Premium economy),business,first. Default:economy. - Max price
max_pricenumber - Max price.At least 0.0.
- Max stops
max_stopsnumber - Max stops.From 0.0 to 2.0.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {}
}Search Hotels
Search Hotels
Inputs
- Adults
adultsnumber - Adults.From 1.0 to 9.0. Default:
1. - Currency
currencytext - Currency.One of:
ALL,DZD,ARS,AMD,AWG,AUD,AZN,BSD,BHD,BYN, and 61 more. Default:USD. - Query
querytextRequired - Query.
- Check in date
check_in_datedateRequired - Check in date.
- Check out date
check_out_datedateRequired - Check out date.
- Children ages
children_ageslist - Children ages.
- Guest nationality
guest_nationalitytext - Guest nationality.Default:
US. - Min price
min_pricenumber - Min price.At least 0.0.
- Max price
max_pricenumber - Max price.At least 0.0.
- Sort by
sort_bytext - Sort by.One of:
lowest_price(Lowest price),highest_rating(Highest rating),most_reviews(Most reviews). Default:highest_rating.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {}
}Update Entry
Correct a place annotation, note text, or local time in place. Omitted fields are preserved; null clears note/time. Changing a time also reorders the entry because a plan is an ordered document.
Inputs
- Entry ID
entry_idtextRequired - Entry id.
- Day number
day_numbernumberRequired - Day number.At least 1.
- Trip
trip_idtextRequired - Trip id.
- Note
notetext - Note.
- Time
timetime - Time.
- Content
contenttext - Content.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"entry_id": "sample_entry_id",
"plan_version": 1
}
}Update List
Update List
Inputs
- List
list_idtextRequired - List id.
- Title
titletext - Title.
- City
citytext - City.
- Cover image URL
cover_image_urltext - Cover image url.
- Source author
source_authortext - Source author.
- Visibility
visibilitytext - Visibility.One of:
public,private. - Intro
introtext - Intro.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {
"city": "Example",
"cover_image_url": "Example",
"created_at": "Example",
"failed_reason": "Example",
"id": "00000000-0000-4000-8000-000000000001",
"intro": "Example",
"is_shared": false,
"item_count": 1,
"public_url": "Example",
"routes": [
{
"activity": "Example",
"ascent_m": 1,
"chains": [
"Example"
],
"claimed_ascent_m": 1,
"claimed_length_km": 1,
"descent_m": 1,
"id": "00000000-0000-4000-8000-000000000001",
"length_m": 1,
"list_id": "00000000-0000-4000-8000-000000000001",
"max_elev_m": 1,
"min_elev_m": 1,
"name": "Example",
"osm_name": "Example",
"place_item_id": "00000000-0000-4000-8000-000000000001",
"profile": {},
"status": "Example",
"tag_lengths": {}
}
],
"sections": [
{
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"00000000-0000-4000-8000-000000000001"
],
"title": "Example"
}
],
"slug": "Example",
"source": "Example",
"source_author": "Example",
"source_url": "Example",
"status": "Example",
"title": "Example",
"updated_at": "Example",
"visibility": "public"
}
}Update Section
Update Section
Inputs
- List
list_idtextRequired - List id.
- Section ID
section_idtextRequired - Section id.
- X client ID
x_client_idtext - X-client-id.
- Title
titletext - Title.
- Blurb
blurbtext - Blurb.
- Item IDS
item_idslist - Item ids.
Outputs
dataobject- `item_ids` is both membership and display order; stale ids drop on read.
Example output
{
"data": {
"blurb": "Example",
"id": "sample_id",
"item_ids": [
"00000000-0000-4000-8000-000000000001"
],
"title": "Example"
}
}Update Stay On Trip
Change a booking in place. dates, price, or its confirmation number. Without this a stay could be recorded and never corrected: the confirmation number could only be set at creation, and a booking whose dates moved had no path back short of leaving a stale one behind, since removing was not possible either.
Inputs
- Trip
trip_idtextRequired - Trip id.
- Stay ID
stay_idtextRequired - Stay id.
- Name
nametext - Name.
- Check in date
check_in_datedate - Check in date.
- Check out date
check_out_datedate - Check out date.
- Check in time
check_in_timetime - Check in time.
- Check out time
check_out_timetime - Check out time.
- Total price
total_pricenumber - Total price.
- Currency
currencytext - Currency.
- Confirmation number
confirmation_numbertext - Confirmation number.
- Is booked
is_bookedtrue/false - Is booked.
Outputs
dataobject- The response from Stardrift.
Example output
{
"data": {}
}