get_service
One service.
/v1/services/{serviceId}The service as list_services shows it.
curl "https://sceniq.earth/api/v1/services/kq74n6q8s0u2w4y6a8c0e2g4j6m8p0r2" \
-H "Authorization: Bearer $SCENIQ_API_KEY"Path parameters
- serviceIdstring · services idrequired
Id of the service (
serviceIdfromlist_servicesorcreate_service).
Returns
200 OK with this object.
- serviceIdstring · services idrequired
The service's id.
- kindstringrequired
trip_plan: a Personal trip plan;video_call: a Video call.trip_planvideo_call - titlestringrequired
The title travelers see.
- descriptionstringrequired
The short description.
- enabledbooleanrequired
True when the service is on: travelers see it and can request it (
set_service_enabled, with the publish option). - missingarray of stringsrequired
What the service still needs before it can be turned on (cover: a main picture or a thumbnail); empty when ready.
titledescriptioncoverpricedeliveryDayscallMinutescallUrl - currencystringrequired
The creator's currency, which every
priceMinoris in.chfeurusd - priceMinornumberrequired
The price in minor units: a video call's price, a trip plan's lowest price by trip length (0 without).
- tripPricesarray of objects or nullrequired
A trip plan's prices by trip length, shortest first; null on a video call.
Show 3 fieldsHide fields
- daysnumberrequired
The longest trip this price covers, in days.
- priceMinornumberrequired
The price in minor units.
- ownPricesarray of objectsrequired
The creator's own prices for this length in the other currencies ([] without).
Show 2 fieldsHide fields
- currencystringrequired
The currency of this own price.
chfeurusd - priceMinornumberrequired
The creator's own price in that currency, in minor units.
- ownPricesarray of objectsrequired
A video call's own prices in the other currencies ([] without, and on a trip plan).
Show 2 fieldsHide fields
- currencystringrequired
The currency of this own price.
chfeurusd - priceMinornumberrequired
The creator's own price in that currency, in minor units.
- deliveryDaysnumber or nullrequired
A trip plan's delivery time in days; null on a video call.
- callMinutesenum or nullrequired
A video call's length in minutes; null on a trip plan.
3060 - callUrlstring or nullrequired
A video call's standing call link; null without.
- includesarray of stringsrequired
What you get, line by line ([] without).
- countriesarray of stringsrequired
Countries, ISO 3166-1 alpha-2 codes ([] without).
- languagesarray of stringsrequired
Language codes ([] without).
- mainPictureobject or nullrequired
The picture the service's page opens on.
Show 3 fieldsHide fields
- urlstringrequired
The picture's URL.
- widthnumberrequired
Width in pixels.
- heightnumberrequired
Height in pixels.
- thumbnailobject or nullrequired
The picture the service's cards show: the main picture while
thumbnailLinked, else the creator's own thumbnail.Show 3 fieldsHide fields
- urlstringrequired
The picture's URL.
- widthnumberrequired
Width in pixels.
- heightnumberrequired
Height in pixels.
- thumbnailLinkedbooleanrequired
True when the thumbnail follows the main picture (the default);
set_service_covergives it a photo of its own andset_service_thumbnail_linkedlinks it again. - photosarray of objectsrequired
The photos on the service's page, in order.
Show 4 fieldsHide fields
- storageIdstring · stored file idrequired
The photo's file id, for
remove_service_photo. - urlstringrequired
The photo's URL.
- widthnumberrequired
Width in pixels.
- heightnumberrequired
Height in pixels.
- studioUrlstringrequired
The service's form in the studio, where the creator checks it and turns it on.
- createdAtnumberrequired
When the row was created (Unix time in milliseconds).
- updatedAtnumberrequired
When the row last changed (Unix time in milliseconds).
{
"serviceId": "kq74n6q8s0u2w4y6a8c0e2g4j6m8p0r2",
"kind": "video_call",
"title": "Plan your Yellowstone photos with me",
"description": "A call to go over your route, the best light for each stop and what to pack. Bring your questions and your map.",
"enabled": false,
"missing": [
"cover"
],
"currency": "usd",
"priceMinor": 6900,
"tripPrices": null,
"ownPrices": [],
"deliveryDays": null,
"callMinutes": 30,
"callUrl": "https://meet.google.com/abc-defg-hij",
"includes": [],
"countries": [
"US"
],
"languages": [
"en"
],
"mainPicture": null,
"thumbnail": null,
"thumbnailLinked": true,
"photos": [],
"studioUrl": "https://creators.sceniq.earth/services/kq74n6q8s0u2w4y6a8c0e2g4j6m8p0r2",
"createdAt": 1762000000000,
"updatedAt": 1762000000000
}Errors
Every error is { error: { code, message } }. Act on the code.
- 400invalid_argumentA required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- 401unauthenticatedThe request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- 401invalid_api_keyThe key is unknown, revoked or expired.
- 403forbiddenThe key belongs to a creator account that is no longer active.
- 404not_foundThe id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
- 429rate_limitedOver a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- 500internal_errorAn unexpected failure. The message is hidden on purpose.