Get a trigger payload contract
The payload contract for the trigger: the STORED contract when one has been declared (source: "stored", with contractHash, version, enforcement), otherwise the derived one (source: "derived_from_schema", built from the trigger’s flat payloadSchema).
Contract fields form a tree: scalars (string | int | float | boolean | date | enum), object nodes with children, and array nodes with children (element object shape) or itemType (scalar elements). Derived contracts may carry type: "unknown" where no type evidence exists.
Pass ?format= for generated artifacts instead of the JSON contract.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
The brand this request acts on. REQUIRED for organization-scoped credentials (otherwise 400 BRAND_ID_REQUIRED — there is no default brand); list ids with GET /v1/brands. Brand-scoped credentials may omit it, and sending a different brand returns 403 BRAND_SCOPE_MISMATCH. A brand outside your organization returns 404 BRAND_NOT_FOUND.
1 - 64Path Parameters
Trigger id returned by POST /v1/automations/triggers (integration triggers use composite ids — URL-encode the colons).
1 - 256"tri_signup"
Query Parameters
Rendering. json (default) returns the contract object; ts | zod | jsonschema | skill return {format, content} — a generated TypeScript type, Zod schema, JSON Schema document, or SKILL.md wiring brief.
json, ts, zod, jsonschema, skill Response
The contract (format=json, default) or {format, content} for text formats.
trigger 1stored, derived_from_schema, derived_from_template 1json, ts, zod, jsonschema, skill 64x >= 1off, prune, strict fresh, stale