Ensure question set (config-as-code converge)
Idempotently converge a repo-defined question set. Identity is the slug within the organization. A hash-only probe skips the payload in the steady state (a miss is a normal 200 definitionRequired, not an error); a full request creates the set, or appends a draft version when the questions, input mapping or model differ. Set dryRun to plan without writing, onConflict: “overwrite” to converge over dashboard or API edits, expectedRemoteHash to bind an apply to its dry run, and release: “publish” to publish the latest version. Ensure never deletes a set or a version.
Authentication
Request
Identity, unique in the organization: lowercase letters, digits, - and _, up to 64.
Response
Converge result: unchanged | created | updated | definitionRequired (hash miss; retry with the full definition) | plan (dryRun)