Docs
Documentation
Everything you need to ask your first question, read the result and connect your own systems.
Guide
Getting started
- 1
Create an account
Sign up on the Free plan. No card is needed.
- 2
Add your documents
Attach PDFs, Word, Excel, PowerPoint, images, text, CSV or web pages to a question. Files are scanned before they are read.
- 3
Pick a depth and ask
Start with Smart. Use Full report for reviews and long documents. See depths.
- 4
Read the labels
Each statement has a label and a quote. Open a quote to see the passage in your document. See labels.
API
API overview
A REST API under /v1, described by an OpenAPI 3.1 contract. API keys are part of Pro Max.
- Base URL:
https://api.danphe.ai/v1 - Contract: the OpenAPI document is served at
/v1/openapi.yaml. - Authentication:
Authorization: Bearer dk_live_…with an API key from your workspace settings. - Writes need an
Idempotency-Keyheader, so a retried request never runs twice. - Errors use RFC 9457
application/problem+json. - Lists use cursor pagination (
cursor,limit). - Long runs return
202; follow progress with the/deliberations/{id}/eventsstream or poll the deliberation.
Main resources
/files– upload documents;/collections– large document sets (Pro Max)/deliberations– ask a question and read the checked answer/audit-records– fetch and verify audit records/review-items,/feedback– human review/usage,/api-keys,/webhooks
Ask a question
curl -X POST https://api.danphe.ai/v1/deliberations \
-H "Authorization: Bearer $DANPHE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": "ws_…",
"question": "Does the agreement allow sharing with affiliates without notice?",
"documents": [{ "file_id": "file_…" }],
"mode": "auto"
}'Webhook delivery and published SDKs are not available yet. The API reference site is coming; until then the OpenAPI document is the reference.
Help
Getting help
Email hello@danphe.ai and we aim to reply within two working days. For security issues, email trust@danphe.ai. In the app, use the help button in the sidebar.