Skip to main content
POST
Requires scope: api:org-config Pass subtype (optionally with version) to check a stored or still-pending spec, or pass schema/mapping inline to check a candidate before registering it at all. Runs the same org gate, pure mapping engine, and platform-catalog gate the live ingest route uses, so a green check genuinely predicts what logging would accept.

Parameters

list[dict]
required
Sample payloads to run through.
str | None
default:"None"
Load the active (or pinned version) schema/mapping for this subtype as the baseline.
int | None
default:"None"
Pin a specific version instead of the active one.
dict | None
default:"None"
Inline schema, overriding or replacing the stored one.
dict | None
default:"None"
Inline mapping, overriding or replacing the stored one.

Returns

SchemaCheckResult
bool
True only if every example passed.
list[SchemaCheckExampleResult]
Per-example outcome.
dict
The example payload.
bool
Whether this example passed.
list[dict]
Produced platform events (subtype + payload), if mapping succeeded.
list[str]
Schema/mapping/platform-catalog errors, if any.

Raises