Dracily Docs
Nederlands Open app
Developers / API reference

API reference

HTTP JSON API. Base URL: https://api.dracily.com. Errors: {"message":"…"}.

Endpoint map

MethodPathWhat it does
GET/v1/auth/meReturns the current user, or null / 401 when not signed in.
POST/v1/auth/registerCreates a user + new organization and sets a session cookie.
POST/v1/auth/loginValidates email/password and sets a session cookie.
POST/v1/auth/logoutClears the session cookie.
POST/v1/auth/forgot-passwordPlaceholder recovery response until email delivery is live.
GET/v1/scansLists org scans.
POST/v1/scansCreates a scan (UI or API key). Enforces plan limits.
GET/v1/scans/:idScan status payload for polling.
GET/v1/scans/:id/resultFull probabilistic result when complete.
DELETE/v1/scans/:idDeletes scan + result.
POST/v1/scans/:id/feedbackStores feedback and optional training consent.
GET/v1/modelsLists available detector models.
GET/v1/models/:idModel detail (requires auth).
GET/PATCH/v1/settingsRead/update workspace settings (includes plan field).
GET/v1/settings/exportExport user data package.
DELETE/v1/settings/dataDelete scans/results/feedback/reports for the org.
GET/POST/v1/api-keysList keys / create key (secret returned once).
DELETE/v1/api-keys/:idRevoke a key.
GET/v1/api-logsRecent API requests made with your keys.
GET/v1/billingCurrent plan, used scans/seats/storage vs limits.
POST/v1/billing/:actionCheckout/portal stubs until Stripe is connected.
GET/v1/organizations/:orgId/membersTeam roster (must be same org).
POST/v1/organizations/:orgId/invitesInvite member (enforces seat limit).
PATCH/DELETE/v1/organizations/:orgId/members/:idChange role / remove member.
GET/POST/v1/reportsList / create report exports.

Minimal curl flow

export API=https://api.dracily.com
export KEY=drac_your_secret

curl -sS "$API/v1/scans" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputType":"text","text":"Paste at least thirty characters of content here…","mode":"Standard"}'