ParserTestCaseAssertionsForOutput is a datatype for assertions on the shape of the given output event. It's a key-value pair, where the index of the output event is the key, and the assertions are the value.

This datatype is used by ParserTestCase — which is used by both UnsavedParser, which is used by the generateParserFromTemplate() query field, and Parser, which is used by several mutation and query fields.

Table: ParserTestCaseAssertionsForOutput

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Dec 9, 2025
assertionsParserTestCaseOutputAssertionsyes Long-TermAssertions on the shape of a given test case output event. See ParserTestCaseOutputAssertions.
outputEventIndexintegeryes Long-TermThe index of the output event to which the assertions should apply.