Create a time-bounded run and single-use permits for exact actions.
POST
/v1/abilities/trust.preflightCreate a time-bounded run and single-use permits for exact actions. Attach fresh server receipts for consequential claims.
Request body
Section titled “Request body”inputTrustPreflightInputrequiredShow 3 properties
taskstringrequiredactionsobject[]optionalShow array — 2 properties
abilitystringrequiredinputobjectrequired
claimsobject[]optionalShow array — 2 properties
textstringrequiredreceiptIdsstring[]required
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.