Derivations

Reverse and run a derivation again

POST
/derivations/{derivation_id}/reruns

Repeat a derivation for a source row after its data, configuration or tables changed: reverse the last entry on effective_on and append the new result as '@', in one transaction. Needs Space administration rights, like records.entries.reverse. Agents propose it through the user's approval card.

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/reruns" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "record_id": "123e4567-e89b-42d3-a456-426614174000",    "effective_on": "2026-09-04"  }'
{  "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}