curl --request POST \
--url https://stardrift.ai/api/saved/add-place \
--header 'Content-Type: application/json' \
--data '
{
"place_id": "<string>",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"skip_enrichment": false
}
'import requests
url = "https://stardrift.ai/api/saved/add-place"
payload = {
"place_id": "<string>",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"skip_enrichment": False
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
place_id: '<string>',
list_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
skip_enrichment: false
})
};
fetch('https://stardrift.ai/api/saved/add-place', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stardrift.ai/api/saved/add-place",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'place_id' => '<string>',
'list_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'skip_enrichment' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://stardrift.ai/api/saved/add-place"
payload := strings.NewReader("{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://stardrift.ai/api/saved/add-place")
.header("Content-Type", "application/json")
.body("{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://stardrift.ai/api/saved/add-place")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"place_ref": "<string>",
"place_id": "<string>",
"caption": "<string>",
"name": "<string>",
"category": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"lat": 123,
"lng": 123,
"image_url": "<string>",
"rating": 123,
"num_reviews": 123,
"source": "<string>",
"source_url": "<string>",
"is_shared": true,
"review_state": "<string>",
"created_at": "<string>",
"description": "<string>",
"image_thumbhash": "<string>",
"tabelog_tier": 123,
"michelin": {
"tier": "stars",
"stars": 123,
"green_star": false,
"url": "<string>",
"cuisine": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Add Place By Id
Save a place by id — optionally to a list. Idempotent per (place, list).
THE contract is a canonical place ULID (canonical_places.id) — the
spine identity every surface joins on; saves resolve entirely from the
spine with zero paid fetches, and dedup by canonical place_id.
A Google place_id is also accepted as the LEGACY autocomplete path (the
picker hands us a gpid before any canonical row exists); that path still
ends canonical — the resolver mints/links the row and stamps
item.place_id — it just pays the Google fetch to get there.
curl --request POST \
--url https://stardrift.ai/api/saved/add-place \
--header 'Content-Type: application/json' \
--data '
{
"place_id": "<string>",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"skip_enrichment": false
}
'import requests
url = "https://stardrift.ai/api/saved/add-place"
payload = {
"place_id": "<string>",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"skip_enrichment": False
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
place_id: '<string>',
list_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
skip_enrichment: false
})
};
fetch('https://stardrift.ai/api/saved/add-place', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stardrift.ai/api/saved/add-place",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'place_id' => '<string>',
'list_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'skip_enrichment' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://stardrift.ai/api/saved/add-place"
payload := strings.NewReader("{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://stardrift.ai/api/saved/add-place")
.header("Content-Type", "application/json")
.body("{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://stardrift.ai/api/saved/add-place")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"place_id\": \"<string>\",\n \"list_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"skip_enrichment\": false\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"place_ref": "<string>",
"place_id": "<string>",
"caption": "<string>",
"name": "<string>",
"category": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"lat": 123,
"lng": 123,
"image_url": "<string>",
"rating": 123,
"num_reviews": 123,
"source": "<string>",
"source_url": "<string>",
"is_shared": true,
"review_state": "<string>",
"created_at": "<string>",
"description": "<string>",
"image_thumbhash": "<string>",
"tabelog_tier": 123,
"michelin": {
"tier": "stars",
"stars": 123,
"green_star": false,
"url": "<string>",
"cuisine": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Body
Response
Successful Response
A place's Michelin Guide distinction, structured. Canonical rationale — the TS mirror and the renderers point here rather than restating it.
Rides alongside michelin_award rather than replacing it: that field is a
pre-rendered label ("★★★"), and a label cannot drive iconography. An award
string we don't recognise yields NO distinction (we never paint a mark we
can't justify) while still surfacing verbatim in michelin_award, so a
new tier degrades to text rather than disappearing.
Show child attributes
Show child attributes
