yttcom.net
Backend / API Index
v1.2 · 08.07.26
Platform APIs — Core
Records DB
backend/api/critical/records-api.php
token
GET + POST
Actions
pingadd_decisionadd_sessionlink_sessionadd_itemlist_tasksadd_taskassign_taskclose_taskreopen_task
Primary platform DB. Decisions, sessions, tasks, list_items, file_events. Whitelisted in backend/.htaccess. Auth: token param.
Community Inbox
backend/api/critical/inbox-api.php
token
GET + POST
Actions
pickupdeliverdropliststatusgov4
Inter-system broadcast and messaging. drop with targets=ALL for platform-wide broadcasts. pickup auto-marks SEEN. system param = decade code.
Transfers
transfers/index.php
token
GET + POST
Actions
pickupdropstatus
Point-to-point inter-system transfers. from_system and to_system use decade codes. D075: hold on pickup until close.
Save (Gov Files)
systems/save.php
token
POST
Params
tokensystemfilecontent
Saves gov/ files per system. file = relative path from system dir (e.g. gov/handoff-00.md). Validates system code. Returns ok + saved_at timestamp.
File Write
file_write_web.php (root)
token
POST
Params
tokenpathcontent
Writes any file to public_html. WAF may block PHP keywords in content — use WAF bootstrap pattern (write b64 as .txt, decode + include via bootstrapper). Required for all server-side file deployment.
Log API
backend/logs/log-api.php
token
GET
Actions
read_allreadclear
Reads all 22 platform error_logs from their source locations. read_all returns metadata for all. read returns last 200 lines of a specific log. clear wipes a log file. Path-whitelist protected.
DB Admin (read)
backend/tools/critical/dba_api.php
session
GET
Actions
countsall_counts
DB Admin read API. Requires browser session cookie — no token auth. Use DB Admin Panel at backend/tools/db-admin.html. Cannot be called via curl.
DB Admin (write)
backend/tools/critical/dba_write_api.php
session
POST
Actions
insertupdatedeleteupdate_decision_session
DB Admin write API. Requires browser session cookie. Use DB Admin Panel only.
Web Search
backend/web/db/search-api.php
token
Web Fetch
backend/tools/critical/web-fetch.php
token
GET
Actions
searchfetchdownload_medialog
Multi-source web search + URL fetch + media download. Search modes: wikipedia, pubmed, news, stackoverflow, github, devto, scholar, recipes, all, auto. fetch: extract=text|raw. download_media saves to backend/web/media/[system]/. 120-min SQLite cache. UI: /backend/web/web-fetch.html
Web Browser
backend/tools/critical/web-browser.php
token
GET POST
Actions
fetchhistoryclear_historysend
Proxy browser backend. Fetches external pages via cURL, extracts structured sections + links, tracks history in SQLite. send drops page content to system inboxes via ANNOUNCE. UI: /backend/web/web-browser.html
External Tools — MCP (Account-wide)
Exa Search
MCP · web_search_exa
MCP
Exa Fetch
MCP · web_fetch_exa
MCP
MCP TOOL
Parameters
url
Full clean page text from a known URL — better than search when you already have the link and need the actual content, not just a snippet. Account-wide, all sessions. Announced COMMS #41 (08/05/26).
System DB APIs — All 11 Systems
Per-System API
systems/[NN]-[name]/data/api.php
token
GET + POST
Systems
00-admin10-master20-builder30-tech40-server50-daily60-finance70-health80-kitchen90-inner95-travel
Each system has its own api.php at systems/[NN]-[name]/data/api.php. D267: system DBs are source of truth for full decision and session detail. records.db holds slim reference rows only. Note: some system DBs return HTTP 500 on POST — workaround: direct SQLite writes via bootstrap PHP.
Web Browser
backend/tools/critical/web-browser.php
token
GET POST
Actions
fetchhistoryclear_historysend
Proxy browser backend. Fetches external pages via cURL, extracts structured sections + links, tracks history in SQLite. send drops page content to system inboxes via ANNOUNCE. UI: /backend/web/web-browser.html
App APIs
Tech Factory
systems/30-tech/apps/Factory/factory-api.php
token
GET + POST
Actions
listgetsavedeletepinglog_fetch
Tech [30] Factory app API. Manages script and template library.
Tech Creators
systems/30-tech/apps/Creators/creators-api.php
token
GET + POST
Actions
listgetadd_scriptadd_templatedeletenext_num
Tech [30] Creators app API.
Tech Laboratory
systems/30-tech/laboratory/lab-api.php
token
GET + POST
Actions
listgetadd_scriptadd_templatedeletenext_num
Tech [30] Laboratory API. Experimental scripts and templates.
Tech App DB
systems/30-tech/data/30-app-api.php
token
GET + POST
Actions
listgetaddupdatedeleteping
Tech [30] app database API. 30-app.db.
Backend API Index Tools Server Map Panel