Spacery: Matterport and 3D scan hosting
v0.2.4Paste a Matterport link and host the tour.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
link_account Link account
Links this connection to the person's account. Returns a link where the person signs in and approves a short code, and reports the link once it is approved. The connector never handles passwords.
| Parameter | Type | Description |
|---|---|---|
link_code | string | Only for connections without a session, the link_code from the previous call. |
list_plans List hosting plans
The ways to pay for hosting, with prices, and the account's current plan. The first space is a free private preview.
create_space Create space
Creates a space for one capture. An account that does not pay for hosting yet gets its first space as a free private preview: upload and process it with no payment. After that, it returns a Stripe Checkout link for the chosen plan (pay as you go when none is given). Card details are entered only in Stripe Checkout.
| Parameter | Type | Description |
|---|---|---|
title * | string | Title of the space, 1 to 200 characters. |
plan | string | Optional plan name or ID from list_plans. |
wait_for_payment Wait for payment
Waits up to 25 seconds for the person to finish paying in Stripe Checkout, whether for a space's first payment or to publish a free preview, and reports whether the payment arrived.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The space ID (12 hexadecimal characters) from create_space or space_status. |
upload_files Upload files
Starts resumable uploads for capture files the agent holds (for example photos or video shared in the conversation) and returns where to PUT each file's bytes. Files on the person's own device are dropped on the space's page instead.
| Parameter | Type | Description |
|---|---|---|
files * | array | |
space_id * | string | The space ID (12 hexadecimal characters) from create_space or space_status. |
finish_upload Finish upload
Checks that every uploaded file is complete and submits the space for processing. The account is emailed when the space is ready.
| Parameter | Type | Description |
|---|---|---|
space_id * | string | The space ID (12 hexadecimal characters) from create_space or space_status. |
notes | string | Optional notes for processing, such as what the capture is or how the tour should go. |
output | string | What to build: "splat", a 3DGS (3D Gaussian splat) visitors move through freely (the default for photos, video and 360 captures); "tour", a guided tour of 360 panoramas (the default for E57 scans); or… |
submit | boolean | Defaults to true. |
space_status Space status
Status of one space, or every space on the account with its link when ready.
| Parameter | Type | Description |
|---|---|---|
space_id | string | The space ID (12 hexadecimal characters) from create_space or space_status. |
set_visibility Set space visibility
Makes a ready space public (anyone with the link) or private (only the owner). A free preview cannot be public until hosting starts, so it returns a Stripe Checkout link for the person to pay.
| Parameter | Type | Description |
|---|---|---|
public * | boolean | |
space_id * | string | The space ID (12 hexadecimal characters) from create_space or space_status. |
unlink_account Unlink account
Unlinks this agent from the account.
find_tour_spaces Find spaces for tours
Spaces a guided tour or scavenger hunt can be built on: the person's own finished spaces and the site's public spaces (museums, temples, tombs, gardens). Search by words in the title.
| Parameter | Type | Description |
|---|---|---|
query | string |
list_tours List tours
The tours and scavenger hunts on the account, with their links.
create_tour Create tour
Starts a private, empty guided tour or scavenger hunt on one of the person's spaces or a public space.
| Parameter | Type | Description |
|---|---|---|
scene_id * | string | The sceneId from find_tour_spaces. |
kind | string | |
title | string |
draft_tour Draft tour
Asks the site's tour agent, which sees the space's photographs, to write or rework the tour from a plain request: stops and text, hidden objects and clues, library models, effects, sound, music, looks with transitions and skies (day, sunset, storm, night, stars). It places everything and saves. Returns at once while the draft is written.
| Parameter | Type | Description |
|---|---|---|
request * | string | |
tour_id * | string | The tour ID (12 hexadecimal characters) from create_tour or list_tours. |
wait_for_tour Wait for tour draft
Waits up to 25 seconds for a draft to finish, then summarizes the tour.
| Parameter | Type | Description |
|---|---|---|
tour_id * | string | The tour ID (12 hexadecimal characters) from create_tour or list_tours. |
get_tour Get tour
The tour as JSON (stops, objects, effects, looks, skies) with its revision.
| Parameter | Type | Description |
|---|---|---|
tour_id * | string | The tour ID (12 hexadecimal characters) from create_tour or list_tours. |
save_tour Save tour
Saves a tour edited by hand as its experience JSON. Models use a library url or any https address of a .glb.
| Parameter | Type | Description |
|---|---|---|
experience * | object | |
tour_id * | string | The tour ID (12 hexadecimal characters) from create_tour or list_tours. |
title | string |
search_models Search 3D models
Searches the library of ready-made 3D models (statues, amphorae, temples, furniture, animals, props from many periods). Returns each model's size and url.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | number |