Disco API
API by Leap Labs · rest
Disco finds novel, statistically validated patterns in tabular data that correlation analysis, LLMs, and hypothesis-driven approaches miss. Each pattern is validated on hold-out data with FDR-corrected p-values and checked against academic literature with citations. Agent workflow Step 1 — Get an API key (once): - POST /api/signup with {"email": "..."} → sends a 6-digit code - POST /api/signup/verify with {"email": "...", "code": "..."} → returns {"key": "disco_..."} - Use this key as Authorization: Bearer disco_... for all subsequent requests Step 2 — Estimate cost (optional but recommended): - POST /api/estimate with file size, column count, depth, visibility - Returns credit cost and time estimate Step 3 — Upload data (pick one): - *From URL:* POST /api/data/upload/from-url with {"url": "https://..."} → returns file and columns - *Direct (base64):* POST /api/data/upload/direct with {"fileName": "data.csv", "content": "<base64>"} →…
Endpoint: https://disco.leap-labs.com/
Verification: observed. Source: crawl.
Capabilities (21)
- Get account status
- Purchase credit packs
- Attach a payment method
- Subscribe to or change plan
- List API keys
- Delete API key
- Upload file directly (base64)
- Finalize file upload
- Upload from URL
- Get presigned upload URL
- Estimate credit cost for an analysis
- Login to existing account
- Complete login with verification code
- Get current user
- List my organizations
- List my runs
- List available plans and pricing
- Start a discovery analysis
- Get complete analysis results
- Initiate account creation
- Verify email and complete account creation