Start a raw-content transformation run
Stores the submitted `content`, creates a queued review-stage run, and dispatches review preparation immediately. Use this endpoint when callers can send the full input body in the API request instead of uploading a file.
Request body
Send as application/json
schema_idstring required Target schema UUID that defines the desired output fields for this raw transformation.
provider_idstring required AI provider UUID required for the raw flow. Dry-runs keep this shape but do not call the provider.
contentstring required Raw source content to transform. In non-dry-runs this content is sent to the configured AI provider.
Max length: 50,000 characters
dry_runbooleanWhen true, generate synthetic schema-shaped output instead of sending raw content to AI.
output_formatstringOutput artifact format for the immediately queued final run. Defaults to JSON when omitted.
jsoncsv
notify_urlstring | nullOptional webhook URL for transformation completion notifications. Production callbacks must use HTTPS.
success_callbackstring | nullOptional hosted-review success callback used after a reviewer approves the review. Production callback URLs must use HTTPS.
cancel_callbackstring | nullOptional hosted-review cancel callback used after a reviewer cancels the review. Production callback URLs must use HTTPS.
localestring | nullOptional locale for the hosted review UI translations. Case-insensitive; unsupported values fall back to `en`.
endefrnlesitplar
appearancestring | nullOptional hosted-review appearance persisted for all review interactions.
lightdark
metadataobject | nullOptional caller-defined metadata JSON object echoed in transformation responses and customer webhooks.
column_labelsobject | nullOptional JSON object keyed by schema field name. Values override the labels shown in the hosted Review UI.
Responses
idstring required Stable UUID of the transformation run. Use this in subsequent requests against the run.
statusstring required Current lifecycle status. File runs start as `awaiting_upload`; raw runs start as `queued`.
stagestring required Current stage of the run. Create responses start in `review`.
input_sourcestring required Input source for this run (`upload`, `raw`, or `image`).
schema_idstring required UUID of the schema this run targets.
review_urlstring required Signed hosted-review URL for end-user review.
curl -X POST 'https://api.transmutify.io/v1/transformations/raw' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"schema_id": "9b2e1f6c-8e6d-4a3b-9c1f-7d2e5a8b3c4d",
"provider_id": "9b2e1f6c-8e6d-4a3b-9c1f-7d2e5a8b3c4d",
"content": "string",
"dry_run": false,
"output_format": "json",
"notify_url": "https://example.com/webhooks/transmutify",
"success_callback": "https://example.com/webhooks/transmutify",
"cancel_callback": "https://example.com/webhooks/transmutify",
"locale": "en",
"appearance": "light",
"metadata": {
"external_id": "import-2026-01-15",
"source": {
"system": "hris",
"batch": 42
}
},
"column_labels": {
"employee_id": "Employee ID",
"work_email": "Work email",
"department": "Department"
}
}'{
"id": "019dc45d-3b81-7369-a776-2d95c5caab97",
"status": "queued",
"stage": "review",
"input_source": "raw",
"schema_id": "019dc458-710e-73a0-9b5a-bb7d6f7ddc42",
"review_url": "https://review.transmutify.io/reviews/019dc45d-3b81-7369-a776-2d95c5caab97?signature=..."
}