1.0.0Site edition 3.0.1Interface contract 3.1.0Sample edition 2026-11-s2Protocol revisionsDevelopers
Protocols
Each request runs only when you press its button, against this host, with no key.
90-second quickstart
Run one study across seven client forms
Inspect study R013 (Pattanam maritime assemblage) in PowerShell 7, curl, Python, JavaScript, stateless MCP 2026-07-28, Agent2Agent 1.0 or declarative A2UI 1.0, or execute the call live beside the expected envelope.
$uri = "https://layersofthesouth.org/api/v1/studies/R013"
$resp = Invoke-RestMethod -Uri $uri -Headers @{ Accept = "application/json" }
$d = $resp.data
[PSCustomObject]@{
StudyId = $d.id
Title = $d.title
SnapshotId = $resp.snapshotId
JcsSha256 = $resp.canonicalObjectSha256
Statements = $d.howSure.Count
} | Format-List# 1. Read compact study R013 with strong SHA-256 ETag
curl -sS "https://layersofthesouth.org/api/v1/studies/R013" -H "Accept: application/json"
# 2. Safe RFC 10008 HTTP QUERY with RFC 8785 JCS canonicalObjectSha256
curl -sS -X QUERY "https://layersofthesouth.org/api/v1/query" \
-H "Content-Type: application/json" \
-d '{"schemaVersion":"saved-query/1","operationVersion":"lts-read-operations/3","snapshotId":"current","operation":"study_detail","parameters":{"studyId":"R013"}}'
# 3. Discover every HTTP, MCP and A2A endpoint via RFC 9727
curl -sS "https://layersofthesouth.org/.well-known/api-catalog"import json, urllib.request
payload = {
"schemaVersion": "saved-query/1",
"operationVersion": "lts-read-operations/3",
"snapshotId": "current",
"operation": "study_detail",
"parameters": {"studyId": "R013"},
}
req = urllib.request.Request(
"https://layersofthesouth.org/api/v1/query",
data=json.dumps(payload).encode("utf-8"),
headers={"Content-Type": "application/json", "Accept": "application/json"},
method="QUERY",
)
with urllib.request.urlopen(req) as resp:
env = json.loads(resp.read().decode("utf-8"))
print(env["data"]["id"], env["canonicalObjectSha256"])const res = await fetch("/api/v1/studies/R013", { headers: { Accept: "application/json" } });
const etag = res.headers.get("ETag");
const { snapshotId, canonicalObjectSha256, data } = await res.json();
console.log({ id: data.id, title: data.title, snapshotId, canonicalObjectSha256, etag });
const check304 = await fetch("/api/v1/studies/R013", { headers: { "If-None-Match": etag } });
console.log("Conditional status:", check304.status); // 304# Stateless MCP 2026-07-28 (no mandatory initialize handshake)
curl -sS -X POST "https://layersofthesouth.org/api/mcp" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: tools/call" -H "Mcp-Name: get_study" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_study","arguments":{"id":"R013"},"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientInfo":{"name":"quickstart","version":"1.0.0"},"io.modelcontextprotocol/clientCapabilities":{}}}}'# 1. Discover Agent2Agent 1.0 card
curl -sS "https://layersofthesouth.org/.well-known/agent-card.json"
# 2. SendMessage (PascalCase JSON-RPC 2.0 + required A2A-Version: 1.0)
curl -sS -X POST "https://layersofthesouth.org/api/a2a" \
-H "Content-Type: application/json" -H "A2A-Version: 1.0" \
-d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"msg-1","role":"ROLE_USER","parts":[{"data":{"skill":"get_study","id":"R013"},"mediaType":"application/json"}]}}}'# 1. Fetch declarative A2UI 1.0 evidence comparison surface
curl -sS "https://layersofthesouth.org/api/v1/a2ui/evidence-brief?primary=R013&secondary=R104"
# 2. Send a renderer_to_agent filter action (rejects untrusted catalogId with HTTP 400)
curl -sS -X POST "https://layersofthesouth.org/api/v1/a2ui/evidence-brief" -H "Content-Type: application/json" \
-d '{"version":"1.0","action":{"name":"filter_level","surfaceId":"lts_evidence_compare","sourceComponentId":"btn_filter_level","timestamp":"2026-11-27T00:00:00Z","context":{"primary":"R013","secondary":"R104","level":"established","showCaveats":true}}}'Run the example live
Study R013 · Pattanam Early Historic port record
Press Run the example to execute the selected tab’s request live (ETag on cached public responses; Repr-Digest when requested).
{
"schemaVersion": "lts-api/2",
"kind": "study_detail",
"snapshotId": "18d7da7e0ccc8bd3…",
"objectCanonicalization": "rfc8785-jcs-sha256/1",
"data": {
"id": "R013",
"url": "https://layersofthesouth.org/study/R013"
}
}Live multi-protocol workbenches
Run REST, HTTP QUERY, MCP, A2A and WebMCP side by side
Every request below goes to this site's own stateless endpoints only when you submit it.
REST and HTTP QUERY (RFC 10008)
Try GET, HTTP QUERY, POST fallback, Repr-Digest and 304 ETag
Ready. Choose a REST or HTTP QUERY preset above and press Run request.
Choose an endpoint preset above and press Run request.Model Context Protocol · POST /api/mcp (2026-07-28, also 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05)
Stateless server/discover, 8 tools, resources and MCP Apps
Stateless Streamable HTTP endpoint at POST /api/mcp. Primary revision: 2026-07-28; legacy revisions 2025-11-25, 2025-06-18, 2025-03-26, and 2024-11-05 also supported.
Press Send MCP POST to inspect the JSON-RPC response.Sandboxed MCP App preview (sandbox="allow-scripts", opaque origin with no allow-same-origin or forms; executes the io.modelcontextprotocol/ui@2026-01-26 bridge safely):
Agent2Agent · POST /api/a2a (A2A 1.0)
Invoke skills, inspect retained packs and test 1.0 guards
Discovery card at /.well-known/agent-card.json.
Press Send A2A POST to inspect the response.Browser WebMCP bridge · document.modelContext
Register and invoke read-only browser tools
Detected browser mode: local-adapter. Registers all 8 read-only collection tools with JSON Schema Draft 2020-12 input checks, AbortSignal support and pagehide teardown.
Ready to invoke a read-only browser tool.
Select a tool above and press Invoke WebMCP tool.Cross-protocol consistency
Verify identical RFC 8785 JCS domain digests across all four protocols
REST GET, RFC 10008 HTTP QUERY, MCP tools/call and A2A SendMessage wrap answers in different wire envelopes, while reading from one domain module. Run any scenario below to fetch all four live, unwrap each .data payload, canonicalize with RFC 8785 JCS and compare all four SHA-256 digests with canonicalObjectSha256.
Press Compare all 4 protocols to verify canonical payload agreement across REST, HTTP QUERY, MCP and A2A.
Waiting to run 4-protocol comparison.This page as Markdown · All developer pages in one Markdown file