Skip to main content

API Reference

The Datadance server exposes a REST API for processing transforms and managing saved transformations.

Endpoints overview​

MethodEndpointDescription
POST/api/processCore transformation endpoint
POST/api/runRun a saved transform
POST/api/saveTransformSave a transform to Deno KV
POST/api/retrieveTransformRetrieve a saved transform
POST/api/retrieveAllTransformsByEmailList all transforms for an email
DELETE/api/deleteTransformDelete a saved transform
DELETE/api/deleteAllTransformsByEmailDelete all transforms for an email
POST/api/parseConvert DDS text to JSON transforms
POST/api/encodeConvert JSON transforms to DDS text
GET/api/healthHealth check
GET/api/errorsList all error codes

Common response format​

All endpoints return JSON. Success responses use HTTP 200. Error responses use appropriate HTTP status codes (400, 404, 500) with an error field in the response body.

Authentication​

The API does not require authentication for local development. The production instance may enforce additional security measures.