Derivations

Run a derivation for a source record

POST
/derivations/{derivation_id}/runs

Run a derivation for one source row: append its entry to the target type and store an immutable trace. Uses the latest release of every decision table. Running again for the same row returns the existing trace. Pass expected_proposal_hash from derivations.preview to make sure the entry is the one you checked.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

derivation_id*string

Resource identifier: derivation_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/derivations/123e4567-e89b-42d3-a456-426614174000/runs" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "record_id": "123e4567-e89b-42d3-a456-426614174000"  }'
{  "trace": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "derivation_id": "123e4567-e89b-42d3-a456-426614174000",    "space_id": "123e4567-e89b-42d3-a456-426614174000",    "source_record_id": "123e4567-e89b-42d3-a456-426614174000",    "entry_id": "123e4567-e89b-42d3-a456-426614174000",    "entry_key": "example",    "mode": "run",    "status": "succeeded",    "error": {},    "releases": [],    "config_hash": "example",    "engine_version": 0,    "result_hash": "example",    "supersedes_id": "123e4567-e89b-42d3-a456-426614174000",    "job_id": "123e4567-e89b-42d3-a456-426614174000",    "created_at": "2026-09-04T12:00:00Z",    "created_by": {},    "facts": {},    "config": {},    "result": []  },  "entry": {},  "rows": [    {}  ],  "created": false}