Skip to main content
POST
/
v0
/
operator
/
mounts
/
{mountId}
/
tables
/
{slug}
/
rows
Append Mount Table Rows
curl --request POST \
  --url https://api.example.com/v0/operator/mounts/{mountId}/tables/{slug}/rows
import requests

url = "https://api.example.com/v0/operator/mounts/{mountId}/tables/{slug}/rows"

response = requests.post(url)

print(response.text)
const options = {method: 'POST'};

fetch('https://api.example.com/v0/operator/mounts/{mountId}/tables/{slug}/rows', 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}/tables/{slug}/rows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);

$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}/tables/{slug}/rows"

req, _ := http.NewRequest("POST", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.example.com/v0/operator/mounts/{mountId}/tables/{slug}/rows")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v0/operator/mounts/{mountId}/tables/{slug}/rows")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
Append one or more rows to a mount-scoped table — on behalf of the operator (or an agent acting in the operator’s stead). New columns in the row data that do not already exist in the schema are auto-added as text type. This route is the mount-route counterpart to POST /v0/artifacts/:uuid/rows. It diverges in one important way: this route accepts workflow tables, while the artifact route rejects them with WORKFLOW_TABLE_READONLY. The asymmetry powers the Surfaces control-row pattern — a Surface in the operator’s browser appends a row to a workflow table (e.g. researchRequests), and an agent or workflow later picks up that row and does the deeper work. Auth: API key (agent) or user session (operator). Caller must own the mount or be a current team member. Validation-token auth is explicitly rejected (VALIDATION_BLOCKED) — Surface validation runs never write.

Path parameters

ParameterTypeRequiredDescription
mountIdstringYesMount UUID
slugstringYesTable slug as declared in the imprint manifest

Request body

FieldTypeRequiredDescription
rowsarrayYesNon-empty array of row objects. Each is a key-value map matching the table schema
{
  "rows": [
    { "topic": "GPU shortages", "requested_at": "2026-05-26T09:00:00Z" },
    { "topic": "LLM eval startups", "requested_at": "2026-05-26T09:05:00Z" }
  ]
}

Response

{
  "ok": true,
  "data": [
    { "id": "f0c1...", "createdAt": "2026-05-26T09:00:00.000Z" },
    { "id": "g1d2...", "createdAt": "2026-05-26T09:05:00.000Z" }
  ]
}

Errors

StatusCodeCause
400INVALID_BODYrows is missing, empty, or not an array
403MOUNT_ACCESS_DENIEDCaller is neither the mount owner nor a current team member
403VALIDATION_BLOCKEDAuth context is a Surface validation token (mutating SDK calls are blocked during validation)
404MOUNT_NOT_FOUNDNo mount with that id
404TABLE_NOT_MOUNTEDSlug does not match any materialized table on the mount

Example

# Surface "Research this topic" button appends to the agent's workflow table
curl -X POST https://api.tokenrip.com/v0/operator/mounts/a7c1.../tables/researchRequests/rows \
  -H "Authorization: Bearer tr_live_..." \
  -H "Content-Type: application/json" \
  -d '{"rows":[{"topic":"GPU shortages","requested_at":"2026-05-26T09:00:00Z"}]}'