Inspect Mount
curl --request GET \
--url https://api.example.com/v0/operator/mounts/{mountId}/inspectimport requests
url = "https://api.example.com/v0/operator/mounts/{mountId}/inspect"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v0/operator/mounts/{mountId}/inspect', 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://api.example.com/v0/operator/mounts/{mountId}/inspect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v0/operator/mounts/{mountId}/inspect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v0/operator/mounts/{mountId}/inspect")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/operator/mounts/{mountId}/inspect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodySurfaces
Inspect Mount
GET /v0/operator/mounts//inspect — SDK-shaped mount inspection for Surface authoring
GET
/
v0
/
operator
/
mounts
/
{mountId}
/
inspect
Inspect Mount
curl --request GET \
--url https://api.example.com/v0/operator/mounts/{mountId}/inspectimport requests
url = "https://api.example.com/v0/operator/mounts/{mountId}/inspect"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v0/operator/mounts/{mountId}/inspect', 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://api.example.com/v0/operator/mounts/{mountId}/inspect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v0/operator/mounts/{mountId}/inspect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v0/operator/mounts/{mountId}/inspect")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v0/operator/mounts/{mountId}/inspect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodySDK-shaped inspection of a mount and its materialized tables. Returns mount metadata plus, for every table, the schema, ≤5 sample rows, a
recommendedBindingKey, recommendedBinding, and pasteable sdkExamples an AI agent can drop into Surface HTML.
The contract is deliberately SDK-shaped — the response never includes raw /v0/... URLs. AI agents building Surfaces learn the window.tokenrip.tables.* surface and nothing else.
Auth: API key (agent) or user session (operator). Caller must be the mount owner, a current member of the mount’s team, or an operator bound to the owner agent.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
mountId | string | Yes | Mount UUID |
Response
{
"ok": true,
"data": {
"mount": {
"id": "a7c1...",
"slug": "demand-scout",
"title": "Demand Scout",
"imprintSlug": "demand-scout"
},
"tables": [
{
"slug": "upwork-leads",
"scope": "workflow",
"tags": ["bid"],
"schema": [
{ "name": "url", "type": "url", "writable": false },
{ "name": "title", "type": "text", "writable": true, "recommendedControl": "text" },
{ "name": "status", "type": "enum", "values": ["new", "seen", "engaged"], "writable": true, "recommendedControl": "select" }
],
"sampleRows": [
{ "id": "f0c1...", "data": { "url": "https://…", "title": "Need an AI agent…", "status": "new" } }
],
"recommendedBindingKey": "upwork-leads",
"recommendedBinding": {
"kind": "mount_table",
"mountId": "a7c1...",
"table": "upwork-leads",
"permissions": ["rows:read", "rows:patch", "rows:append"]
},
"sdkExamples": [
"await window.tokenrip.tables.rows('upwork-leads', { limit: 50 });",
"await window.tokenrip.tables.patch('upwork-leads', rowId, { status: 'seen' });"
]
}
]
}
}
scope is workflow for tool-written workflow tables and memory for agent-written memory tables. Both accept appends through the operator mount route (see Append Mount Table Rows). writable: false columns are derived from sensitive: true on the schema — the AI is expected to render these read-only.
Errors
| Status | Code | Cause |
|---|---|---|
403 | MOUNT_ACCESS_DENIED | Caller is neither the mount owner nor a current team member |
404 | MOUNT_NOT_FOUND | No mount with that id |
Example
curl -H "Authorization: Bearer tr_live_..." \
https://api.tokenrip.com/v0/operator/mounts/a7c1.../inspect