Apply one approve / reject decision to many approval gates.
Applies one decision to many gates, each decided independently with the same records as POST /api/approval-gates/{id}/decide, with a per-gate result. The decision actor identity and role are derived from the authenticated context, never trusted from the request body (SR 11-7). A gate the caller may not act on (ineligible role, terminal state, outside the org) refuses in its result slot without failing the other gates; already-resolved gates refuse 409. A failed workflow resume rides on that gate's ok slot as resumeError without un-recording the committed decision.
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
application/json- body
ids*array<>Gate ids to decide. Duplicates are de-duplicated; max 100.
1 <= items <= 100decision*stringThe single decision to record on every eligible gate.
"approved""rejected"actorType?stringDefaults to human for session / user-token callers.
"human""agent"actorRole?stringOptional; must match the caller's authenticated org role if supplied.
reason?stringOptional free-text rationale.
length <= 4000Per-gate decide results.
application/json- response
results*array<|>approved*numberrefused*numbercurl -X POST 'https://app.rensei.ai/api/approval-gates/decide-batch' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "string" ], "decision": "approved"}'{ "results": [ { "gateId": "string", "ok": true, "resolved": true, "resumeError": "string" } ], "approved": 0, "refused": 0}Submit an approve / reject / escalate decision on an approval gate.
The decision actor identity and role are derived from the authenticated context, never trusted from the request body (SR 11-7). API-key callers without a user identity are rejected 403; a claimed actorRole that does not match the caller's real org role is rejected 403. When the decision resolves the gate, an escalate-to-live-session workflow gate is resumed with the server-derived approver as driver.
Stream a provider's logo from platform object storage.
Looks up the live provider_brand_assets row for the provider id, streams its bytes from object storage with the stored content type, a stable ETag and long public cache headers. Unknown provider ids return 404 without touching storage.