API Reference
OpenSheets exposes public read-only sheet discovery and protected ingest/report actions using the shared PlatPhorm contract.
Authentication
Public reads do not require auth. Protected actions accept only PLATPHORM_API_KEY.
curl -X GET "https://sheets.platphormnews.com/api/v1/sheets"
curl -X POST "https://sheets.platphormnews.com/api/v1/ingest/paste" \
-H "Authorization: Bearer $PLATPHORM_API_KEY" \
-H "Content-Type: application/json" \
--data '{"text":"name,value\nalpha,1"}'Alternate protected header: X-PlatPhorm-API-Key: $PLATPHORM_API_KEY.
Base URL
https://sheets.platphormnews.comEndpoints
GET
/api/v1/sheetspublicList server-indexed public sheets. Returns an honest empty/degraded registry until DATABASE_URL persistence is wired.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }GET
/api/v1/sheets/{id}publicGet a server-indexed sheet by id. Browser-local sheets are only readable in the UI on the importing device.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }GET
/api/v1/sheets/{id}/rowspublicRead rows for a server-indexed public sheet.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }GET
/api/v1/sheets/{id}/summarypublicRead computed summary for a server-indexed public sheet.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }GET
/api/v1/search?q=publicSearch server-indexed sheets and rows. UI search also works against browser-local previews.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }POST
/api/v1/ingest/pasteprotectedParse pasted CSV/TSV server-side. Requires PLATPHORM_API_KEY and does not persist while storage is degraded.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }POST
/api/v1/ingest/urlprotectedSSRF-gated protected URL ingest. Degraded until durable persistence and response limits are wired.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }POST
/api/v1/sheets/{id}/export/csvpublic/degradedServer CSV export for server-indexed sheets. Browser-local CSV export works from the viewer.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }POST
/api/v1/sheets/{id}/export/pdfpublic/degradedReports PDF export as degraded until a server PDF renderer is wired.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }GET
/api/mcppublicMCP metadata and usage.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }POST
/api/mcpmixedJSON-RPC 2.0 MCP endpoint. Read-only introspection is public; protected ingest/report tools require PLATPHORM_API_KEY.
Success: { "ok": true, "data": {} }
Error: { "ok": false, "error": { "code": "...", "message": "...", "details": {} } }Discovery
Machine-readable surfaces for agents and platform services.
workbooks
https://sheets.platphormnews.com/api/v1/workbooksworkbook
https://sheets.platphormnews.com/api/v1/workbooks/{id}workbookSheets
https://sheets.platphormnews.com/api/v1/workbooks/{id}/sheetssheets
https://sheets.platphormnews.com/api/v1/sheetssheet
https://sheets.platphormnews.com/api/v1/sheets/{id}rows
https://sheets.platphormnews.com/api/v1/sheets/{id}/rowscolumns
https://sheets.platphormnews.com/api/v1/sheets/{id}/columnssummary
https://sheets.platphormnews.com/api/v1/sheets/{id}/summarycharts
https://sheets.platphormnews.com/api/v1/sheets/{id}/chartsquality
https://sheets.platphormnews.com/api/v1/sheets/{id}/qualityschema
https://sheets.platphormnews.com/api/v1/sheets/{id}/schemaduplicates
https://sheets.platphormnews.com/api/v1/sheets/{id}/duplicateslineage
https://sheets.platphormnews.com/api/v1/sheets/{id}/lineageprovenance
https://sheets.platphormnews.com/api/v1/sheets/{id}/provenancesearch
https://sheets.platphormnews.com/api/v1/searchingestPaste
https://sheets.platphormnews.com/api/v1/ingest/pasteingestUrl
https://sheets.platphormnews.com/api/v1/ingest/urlingestUpload
https://sheets.platphormnews.com/api/v1/ingest/uploadingestJson
https://sheets.platphormnews.com/api/v1/ingest/jsoningestMarkdown
https://sheets.platphormnews.com/api/v1/ingest/markdownqueryPreview
https://sheets.platphormnews.com/api/v1/query/previewgroupBy
https://sheets.platphormnews.com/api/v1/group-bypivot
https://sheets.platphormnews.com/api/v1/pivot-summaryjoinPreview
https://sheets.platphormnews.com/api/v1/join/previewcomputedPreview
https://sheets.platphormnews.com/api/v1/sheets/{id}/computed-columns/previewexportCsv
https://sheets.platphormnews.com/api/v1/sheets/{id}/export/csvexportJson
https://sheets.platphormnews.com/api/v1/sheets/{id}/export/jsonexportMarkdown
https://sheets.platphormnews.com/api/v1/sheets/{id}/export/markdownexportPdf
https://sheets.platphormnews.com/api/v1/sheets/{id}/export/pdfshare
https://sheets.platphormnews.com/api/v1/sheets/{id}/sharedashboards
https://sheets.platphormnews.com/api/v1/dashboardsreportPacks
https://sheets.platphormnews.com/api/v1/report-packsintegrations
https://sheets.platphormnews.com/api/v1/integrationshealth
https://sheets.platphormnews.com/api/healthdocs
https://sheets.platphormnews.com/api/docsopenapi
https://sheets.platphormnews.com/openapi.yamlopenapiJson
https://sheets.platphormnews.com/openapi.jsonmcp
https://sheets.platphormnews.com/api/mcp