Functions

Validate VRL function syntax

Validates VRL (Vector Remap Language) transformation function syntax by testing it against sample events. Returns validation results with any syntax errors or successful transformation output. Use this to verify VRL code is correct before creating or updating a function. Accepts function code, sample events to test against, and optional trans_type (0 for VRL, 1 for JS).

post/api/{org_id}/functions/test

Request

Path parameters

org_idstring required

Organization name

Request body

functionstring required
trans_typeinteger nullable

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.