v36

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-113513150.0 KB

Create Record

Create a new Record in a Run.

post/runs/{runId}/records

Path parameters

runIdstring required
Example:135

The ID of the Run.

Request body

testcaseIdstring

The ID of the Testcase.

inputsobject required

The actual inputs sent to the system, which should match the system's input schema.

expectedobject required

The expected outputs for the Testcase.

outputsobject required

The actual outputs from the system.

otelLinkIdstring

Optional ID for linking this record with an OpenTelemetry trace. Used for deduplication.

Response

Record created successfully

idstring required

The ID of the Record.

runIdstring required

The ID of the Run containing this Record.

testcaseIdstring

The ID of the Testcase.

inputsobject required

The actual inputs sent to the system, which should match the system's input schema.

expectedobject required

The expected outputs for the Testcase.

outputsobject required

The actual outputs from the system.