Schema graph
GET /sandbox/v1/schemaUse when discovering what streams and fields the demo dataset offers.
curl -s /sandbox/v1/schema
Returns connectors → streams → fields with semantic class.
Every endpoint below is callable directly against this deployment. The examples use root-relative paths so they work on localhost, Vercel previews, and pdpp.dev. All responses are JSON; all carry an x-pdpp-demo header so agents can be sure they are looking at sandbox data.
The full surface map lives at /reference.
GET /sandbox/v1/schemaUse when discovering what streams and fields the demo dataset offers.
curl -s /sandbox/v1/schema
Returns connectors → streams → fields with semantic class.
GET /sandbox/v1/streamsEach summary includes stream key, label, record count, and field count.
curl -s '/sandbox/v1/streams?limit=10'
Paginated list of stream summaries.
GET /sandbox/v1/streams/pay_statementsReplace the path segment with any stream key from the schema graph.
curl -s /sandbox/v1/streams/pay_statements
Full stream descriptor with schema, retention, and counts.
GET /sandbox/v1/streams/pay_statements/recordsSupports cursor pagination via `limit` and `cursor`.
curl -s '/sandbox/v1/streams/pay_statements/records?limit=2'
Paginated record summaries newest-first, each with a preview string.
GET /sandbox/v1/streams/pay_statements/records/rec_sb_paystmt_2026_03Returns the full fictional record including its projection map.
curl -s /sandbox/v1/streams/pay_statements/records/rec_sb_paystmt_2026_03
Full field projection for one record.
GET /sandbox/v1/searchTry queries like `payroll`, `Northwind`, `follow-up`.
curl -s '/sandbox/v1/search?q=payroll'
Lexical hits across all seeded records with snippets and matched fields.
GET /sandbox/_ref/grantsFilter by `status` (issued, revoked, denied) or `client_id`.
curl -s '/sandbox/_ref/grants?status=revoked'
Reference-only grant summaries with status and stream.
GET /sandbox/_ref/grants/grant_sb_quill_paystmt/timelineSee request → consent → grant → resource read events end-to-end.
curl -s /sandbox/_ref/grants/grant_sb_quill_paystmt/timeline
Per-event timeline for one grant.
GET /sandbox/_ref/runs/run_sb_acme_2026_04_22/timelineIncludes `started`, `records.synced`, and `succeeded`/`failed` events.
curl -s /sandbox/_ref/runs/run_sb_acme_2026_04_22/timeline
Per-event timeline for one connector run.
GET /sandbox/_ref/traces/trace_sb_quill_paystmtShows the full PDPP interaction across grant + resource read.
curl -s /sandbox/_ref/traces/trace_sb_quill_paystmt
Trace-level timeline merging grant and run events.
GET /sandbox/_ref/dataset/summaryConnector count, stream count, record count, retained-bytes approximation.
curl -s /sandbox/_ref/dataset/summary
Top-level dataset statistics for the demo instance.
GET /sandbox/.well-known/oauth-authorization-serverInspect the issuer, authorization endpoint, and supported scopes for the mock AS.
curl -s /sandbox/.well-known/oauth-authorization-server
Demo AS metadata advertising sandbox-prefixed endpoints.
GET /sandbox/.well-known/oauth-protected-resourceUse to confirm the RS resource identifier and authorization servers list.
curl -s /sandbox/.well-known/oauth-protected-resource
Demo RS metadata advertising sandbox-prefixed endpoints.